Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TokenProvider ¶
type UnauthMiddleware ¶
type UnauthMiddleware struct {
// contains filtered or unexported fields
}
func NewUnauthMiddleware ¶
func NewUnauthMiddleware(upstream *url.URL, tokenProvider TokenProvider) *UnauthMiddleware
func (*UnauthMiddleware) Middleware ¶
func (um *UnauthMiddleware) Middleware() func(next http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.