New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pREST drive (client) package for Golang #282

Open
crgimenes opened this Issue Mar 2, 2018 · 2 comments

Comments

3 participants
@crgimenes
Member

crgimenes commented Mar 2, 2018

Create a Go packet to facilitate the use of the pREST by Go applications via REST protocol
The idea is to create a package that hides the complexities of creating a REST client in Go and facilitating the composition of the data to be sent and URLs.

https://github.com/prest/go-driver

@crgimenes crgimenes added the feature label Mar 2, 2018

@avelino avelino changed the title from Create a Go packet to facilitate the use of the pREST by Go applications via REST protocol to goang pREST client Mar 2, 2018

@avelino avelino changed the title from goang pREST client to pREST client package for Golang Mar 2, 2018

@avelino avelino changed the title from pREST client package for Golang to pREST drive (client) package for Golang Mar 2, 2018

@felipeweb

This comment has been minimized.

Member

felipeweb commented Mar 6, 2018

#73

@avelino avelino referenced this issue Mar 18, 2018

Closed

prest client #73

@AnatolyShirykalov

This comment has been minimized.

AnatolyShirykalov commented Jun 23, 2018

It is possible to mount handler

package main

import (
	"github.com/prest/adapters/postgres"
	"github.com/prest/cmd"
	"github.com/prest/config"
	"log"
	"net/http"
)

func main() {
	config.Load()
	postgres.Load()
	http.Handle("/", cmd.MakeHandler())
	log.Fatal(http.ListenAndServe(":8080", nil))
}

@felipeweb felipeweb added this to the 0.4 milestone Jun 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment