Documentation ¶
Overview ¶
Package graphql is a `net/http` handler implementing the GraphQL protocol for the REST Layer framework.
See http://github.com/rs/rest-layer for full REST Layer 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
}
Handler is a net/http compatible handler used to serve the configured GraphQL API
func NewHandler ¶
NewHandler creates an new GraphQL API HTTP handler with the specified resource index
func (*Handler) ServeHTTP ¶
func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP handles requests as a http.Handler
func (*Handler) ServeHTTPC ¶
ServeHTTPC handles requests as a xhandler.HandlerC
Click to show internal directories.
Click to hide internal directories.