Documentation ¶
Index ¶
- Variables
- func AddNodeHandler() gin.HandlerFunc
- func AddProxyHandler() gin.HandlerFunc
- func AddUserHandler() gin.HandlerFunc
- func FlushTokenHandler() gin.HandlerFunc
- func GetNodeWithUser() gin.HandlerFunc
- func GetUserConfigPath() gin.HandlerFunc
- func IndexHandler() gin.HandlerFunc
- func LoginHandler() gin.HandlerFunc
- func LogoutHandler() gin.HandlerFunc
- func NodeAvailableTestHandler() gin.HandlerFunc
- func NodesListHandler() gin.HandlerFunc
- func PutChangeUserPassword() gin.HandlerFunc
- func PutUserToNode() gin.HandlerFunc
- func RemoveUser() gin.HandlerFunc
- func RequestLoginHandler() gin.HandlerFunc
- func SetUserLockHandler() gin.HandlerFunc
- func UserListHandler() gin.HandlerFunc
- func UsersListHandler() gin.HandlerFunc
- type GlobalPageData
- type Menu
- type Menus
Constants ¶
This section is empty.
Variables ¶
View Source
var GlobalData = &GlobalPageData{}
Functions ¶
func AddNodeHandler ¶
func AddNodeHandler() gin.HandlerFunc
func AddUserHandler ¶
func AddUserHandler() gin.HandlerFunc
func FlushTokenHandler ¶
func FlushTokenHandler() gin.HandlerFunc
func GetNodeWithUser ¶
func GetNodeWithUser() gin.HandlerFunc
func GetUserConfigPath ¶
func GetUserConfigPath() gin.HandlerFunc
func IndexHandler ¶
func IndexHandler() gin.HandlerFunc
func LoginHandler ¶
func LoginHandler() gin.HandlerFunc
func LogoutHandler ¶
func LogoutHandler() gin.HandlerFunc
func NodeAvailableTestHandler ¶
func NodeAvailableTestHandler() gin.HandlerFunc
func NodesListHandler ¶
func NodesListHandler() gin.HandlerFunc
func PutChangeUserPassword ¶
func PutChangeUserPassword() gin.HandlerFunc
func PutUserToNode ¶
func PutUserToNode() gin.HandlerFunc
func RemoveUser ¶
func RemoveUser() gin.HandlerFunc
func RequestLoginHandler ¶
func RequestLoginHandler() gin.HandlerFunc
func SetUserLockHandler ¶
func SetUserLockHandler() gin.HandlerFunc
func UserListHandler ¶
func UserListHandler() gin.HandlerFunc
func UsersListHandler ¶
func UsersListHandler() gin.HandlerFunc
Types ¶
type GlobalPageData ¶
type GlobalPageData struct {
Title, Description, Copyright string
Menus Menus
Body interface{}
CurrentPage string
}
func (*GlobalPageData) AddMenu ¶
func (g *GlobalPageData) AddMenu(name, link string, role int)
func (*GlobalPageData) Init ¶
func (g *GlobalPageData) Init()
func (*GlobalPageData) SetCurrentPath ¶
func (g *GlobalPageData) SetCurrentPath(p string)
func (*GlobalPageData) SetCurrentTitle ¶
func (g *GlobalPageData) SetCurrentTitle(p string)
Click to show internal directories.
Click to hide internal directories.