Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorDefines = map[api.ErrorType]*api.ErrorDefine{ // contains filtered or unexported fields }
Functions ¶
func EncodeValues ¶
EncodeValues encodes the values into "URL encoded" form ("bar=baz&foo=quux") sorted by key and values. Changed from url.Values.Encode()
Types ¶
type Sign ¶
type Sign struct {
// contains filtered or unexported fields
}
func (*Sign) GetSignKey ¶
GetSignKey return current sign key as string.
func (*Sign) ServeHTTP ¶
func (s *Sign) ServeHTTP(w http.ResponseWriter, r *http.Request, next http.HandlerFunc)
func (*Sign) SetSignKey ¶
SetSignKey allow you update sign key dynamically.
Click to show internal directories.
Click to hide internal directories.