Documentation ¶ Index ¶ func AddContext(ctx context.Context, h http.Handler) http.Handler func Authenticate(h http.Handler) http.Handler func Login() http.Handler type GraphQL func (h *GraphQL) ServeHTTP(w http.ResponseWriter, r *http.Request) type LoggerHandler func (l *LoggerHandler) Logging(h http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddContext ¶ func AddContext(ctx context.Context, h http.Handler) http.Handler func Authenticate ¶ func Authenticate(h http.Handler) http.Handler func Login ¶ func Login() http.Handler Types ¶ type GraphQL ¶ type GraphQL struct { Schema *graphql.Schema Loaders loader.LoaderCollection Logger logger } func (*GraphQL) ServeHTTP ¶ func (h *GraphQL) ServeHTTP(w http.ResponseWriter, r *http.Request) type LoggerHandler ¶ type LoggerHandler struct { DebugMode bool } func (*LoggerHandler) Logging ¶ func (l *LoggerHandler) Logging(h http.Handler) http.Handler Source Files ¶ View all Source files auth.go context.go graphql.go logger.go Click to show internal directories. Click to hide internal directories.