Documentation ¶
Index ¶
- func Auth(authFace AuthFace, hFunc func() hash.Hash) app.HandlerFunc
- func CasbinHandler(casbinFace CasbinFace, log hlog.CtxLogger) app.HandlerFunc
- func Cors() app.HandlerFunc
- func GetSigned(ak, sk, path string, t int64, hFunc func() hash.Hash) string
- func RegisterLocation(locationFace LocationFace) app.HandlerFunc
- type AuthFace
- type CasbinFace
- type LocationFace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CasbinHandler ¶
func CasbinHandler(casbinFace CasbinFace, log hlog.CtxLogger) app.HandlerFunc
func Cors ¶
func Cors() app.HandlerFunc
func RegisterLocation ¶
func RegisterLocation(locationFace LocationFace) app.HandlerFunc
Types ¶
type CasbinFace ¶
type LocationFace ¶
Click to show internal directories.
Click to hide internal directories.