Documentation ¶
Index ¶
- func AdminHttpListener(conf config.AdminConf)
- func ApiResult(c *gin.Context, code int64, msg string)
- func AuthPortToUser(c *gin.Context)
- func AuthSubDomainToUser(c *gin.Context)
- func BinaryFileSystem(root string) *binaryFileSystem
- func CheckAdminRole(c *gin.Context) (*db.User, error)
- func CheckLogin(c *gin.Context) int64
- func CommonError(c *gin.Context, err error, scope string) bool
- func GetAllPortAuth(c *gin.Context)
- func GetAllSubDomainAuth(c *gin.Context)
- func GetUser(c *gin.Context)
- func HttpSuccess(c *gin.Context)
- func ListUsers(c *gin.Context)
- func Login(c *gin.Context)
- func Logout(c *gin.Context)
- func Register(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminHttpListener ¶
func AuthPortToUser ¶
func AuthSubDomainToUser ¶
func BinaryFileSystem ¶
func BinaryFileSystem(root string) *binaryFileSystem
func CheckLogin ¶
func CommonError ¶
returns true if error
func GetAllPortAuth ¶
func GetAllSubDomainAuth ¶
func HttpSuccess ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.