middleware

package
v1.20.0-dexcom-api.7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: BSD-3-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct{}

func NewAccessLog

func NewAccessLog() (*AccessLog, error)

func (*AccessLog) MiddlewareFunc

func (a *AccessLog) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc

type Auth added in v1.20.0

type Auth struct {
	// contains filtered or unexported fields
}

func NewAuth added in v1.20.0

func NewAuth(serviceSecret string, authClient auth.Client) (*Auth, error)

func (*Auth) MiddlewareFunc added in v1.20.0

func (a *Auth) MiddlewareFunc(handlerFunc rest.HandlerFunc) rest.HandlerFunc

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(logger log.Logger) (*Logger, error)

func (*Logger) MiddlewareFunc

func (l *Logger) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc

type Recover

type Recover struct{}

func NewRecover

func NewRecover() (*Recover, error)

func (*Recover) MiddlewareFunc

func (r *Recover) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc

type Trace

type Trace struct{}

func NewTrace

func NewTrace() (*Trace, error)

func (*Trace) MiddlewareFunc

func (t *Trace) MiddlewareFunc(handler rest.HandlerFunc) rest.HandlerFunc

Jump to

Keyboard shortcuts

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