Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
Configuration contains settings for graphQL server
type Logger ¶
type Logger interface { Debug(msg ...interface{}) Info(msg ...interface{}) Warn(msg ...interface{}) Error(msg ...interface{}) Fatal(msg ...interface{}) }
Logger ...
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server represents graphQL Server
func NewGraphQLServer ¶
func NewGraphQLServer(conf *Configuration) Server
NewGraphQLServer create new instance of graphQL server
func (Server) GetGraphQLHandler ¶
func (s Server) GetGraphQLHandler() http.HandlerFunc
GetGraphQLHandler returns handler for graphQL queries
Click to show internal directories.
Click to hide internal directories.