Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAuthToken ¶
Types ¶
type CorsMiddleware ¶
type CorsMiddleware struct {
// contains filtered or unexported fields
}
func NewCors ¶
func NewCors(handler http.Handler) *CorsMiddleware
func (*CorsMiddleware) ServeHTTP ¶
func (this *CorsMiddleware) ServeHTTP(res http.ResponseWriter, req *http.Request)
type LoggerMiddleWare ¶
type LoggerMiddleWare struct {
// contains filtered or unexported fields
}
func NewLogger ¶
func NewLogger(handler http.Handler) *LoggerMiddleWare
func (*LoggerMiddleWare) ServeHTTP ¶
func (this *LoggerMiddleWare) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.