Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewForwardMiddleware ¶
func NewForwardMiddleware(leader string) *forwardMiddleware
Types ¶
type CORSMiddleware ¶
type CORSMiddleware struct{}
func NewCORSMiddleware ¶
func NewCORSMiddleware() *CORSMiddleware
func (*CORSMiddleware) Name ¶
func (c *CORSMiddleware) Name() string
func (*CORSMiddleware) WrapHandler ¶
func (c *CORSMiddleware) WrapHandler(handler api.HandlerFunc) api.HandlerFunc
WrapHandler returns a new handler function wrapping the previous one in the request chain.
type NCSACommonLogMiddleware ¶
type NCSACommonLogMiddleware struct {
}
func NewNCSACommonLogMiddleware ¶
func NewNCSACommonLogMiddleware() *NCSACommonLogMiddleware
func (*NCSACommonLogMiddleware) Name ¶
func (m *NCSACommonLogMiddleware) Name() string
func (*NCSACommonLogMiddleware) WrapHandler ¶
func (m *NCSACommonLogMiddleware) WrapHandler(handler api.HandlerFunc) api.HandlerFunc
Click to show internal directories.
Click to hide internal directories.