Documentation ¶
Index ¶
- func AcceptJSON(h http.Handler) http.Handler
- func Auth(h http.Handler) http.Handler
- func AuthGRPC(ctx context.Context) (context.Context, error)
- func AuthGRPCBasic(ctx context.Context) (context.Context, error)
- func AuthGRPCBasicSelector(_ context.Context, c interceptors.CallMeta) bool
- func AuthGRPCSelector(_ context.Context, c interceptors.CallMeta) bool
- func NOOP(w http.ResponseWriter, r *http.Request)
- func PutSecureBrowserHeaders(h http.Handler) http.Handler
- type Pipeline
- func (p Pipeline) And(n ...Plug) Pipeline
- func (p Pipeline) Pass(h http.HandlerFunc) http.Handler
- func (p Pipeline) Path(method, path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathDELETE(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathGET(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathPOST(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) PathPUT(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- func (p Pipeline) Prefix(path string, handler func(w http.ResponseWriter, r *http.Request)) Plug
- type Plug
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthGRPCBasic ¶ added in v0.0.32
func AuthGRPCBasicSelector ¶ added in v0.0.32
func AuthGRPCBasicSelector(_ context.Context, c interceptors.CallMeta) bool
func AuthGRPCSelector ¶ added in v0.0.32
func AuthGRPCSelector(_ context.Context, c interceptors.CallMeta) bool
Types ¶
Click to show internal directories.
Click to hide internal directories.