Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
GraphQL handler structure.
func NewHandler ¶
func NewHandler(service *service.Service, config *config.GraphQLConfig) *Handler
Creating a new graphql handler.
func (*Handler) GraphqlHandler ¶
func (h *Handler) GraphqlHandler() http.HandlerFunc
GraphQL handler.
func (*Handler) PlaygroundHandler ¶
func (h *Handler) PlaygroundHandler() http.HandlerFunc
GraphQL playground handler.
Click to show internal directories.
Click to hide internal directories.