Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedOrigins = []string{
"https://healthcloud.co.ke",
"https://bewell.healthcloud.co.ke",
"https://a.bewell.co.ke",
"https://b.bewell.co.ke",
"http://localhost:5000",
"https://europe-west3-bewell-app.cloudfunctions.net",
}
AllowedOrigins is list of CORS origins allowed to interact with this service
Functions ¶
func GQLHandler ¶
func GQLHandler(ctx context.Context, service *interactor.Interactor, ) http.HandlerFunc
GQLHandler sets up a GraphQL resolver
func PrepareServer ¶
PrepareServer starts up a server
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.