Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var VersionTxtFile = "version.txt"
Functions ¶
func NewTokenOverwrite ¶
Types ¶
type CorsMiddleware ¶
type CorsMiddleware struct {
// contains filtered or unexported fields
}
func (*CorsMiddleware) ServeHTTP ¶
func (this *CorsMiddleware) ServeHTTP(res http.ResponseWriter, req *http.Request)
type TokenOverwriteMiddleWare ¶
type TokenOverwriteMiddleWare struct {
// contains filtered or unexported fields
}
func (*TokenOverwriteMiddleWare) ServeHTTP ¶
func (this *TokenOverwriteMiddleWare) ServeHTTP(w http.ResponseWriter, r *http.Request)
type VersionHeaderMiddleware ¶
type VersionHeaderMiddleware struct {
// contains filtered or unexported fields
}
func (*VersionHeaderMiddleware) ServeHTTP ¶
func (this *VersionHeaderMiddleware) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.