Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Chain ¶
func Chain(chain ...HttpFilter) http.Handler
func InitHttpHandler ¶
func InitHttpHandler(logger logging.Logger, resolvers GQLResolvers) http.Handler
Types ¶
type GQLRequest ¶
type GQLResolvers ¶
type GQLResolvers struct { RootQueryResolver resolver.GqlResolver RootMutationResolver resolver.GqlResolver }
type GQLResponse ¶
type GQLResponse struct { Data interface{} `json:"data"` Error interface{} `json:"error"` }
type HttpFilter ¶
func AttachBatcher ¶
func AttachBatcher(bm *batcher.BatcherManager) HttpFilter
Click to show internal directories.
Click to hide internal directories.