Documentation ¶
Index ¶
- Constants
- Variables
- func AddCookie(req *http.Request, resp http.ResponseWriter)
- func AuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
- func Decode(c string) string
- func DelCookie(req *restful.Request, resp *restful.Response)
- func Encode(p string) string
- func SetSysMagicNumber(m []byte)
Constants ¶
View Source
const (
AdminId = "1000"
)
Variables ¶
View Source
var CookieStore *sessions.CookieStore
Functions ¶
func AuthFilter ¶
func AuthFilter(req *restful.Request, resp *restful.Response, chain *restful.FilterChain)
func SetSysMagicNumber ¶
func SetSysMagicNumber(m []byte)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.