handler

package
v0.0.0-...-c7ec203 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2018 License: MIT Imports: 17 Imported by: 3

Documentation

Index

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
}

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL