Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedOrigins = []string{
"https://healthcloud.co.ke",
"https://bewell.healthcloud.co.ke",
"http://localhost:5000",
}
AllowedOrigins is list of CORS origins allowed to interact with this service
Functions ¶
func GQLHandler ¶
GQLHandler sets up a GraphQL resolver
func HealthStatusCheck ¶
func HealthStatusCheck(w http.ResponseWriter, r *http.Request)
HealthStatusCheck endpoint to check if the server is working.
func PrepareServer ¶
PrepareServer starts up a server
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package interactor represent reusable chunks of code that abstract logic from presenters while simplifying your app and making future changes effortless.
|
Package interactor represent reusable chunks of code that abstract logic from presenters while simplifying your app and making future changes effortless. |
Click to show internal directories.
Click to hide internal directories.