Documentation ¶
Index ¶
- Constants
- Variables
- func RoleRight(m *ice.Message, userrole string, keys ...string) bool
- func SessCheck(m *ice.Message, sessid string) bool
- func SessCreate(m *ice.Message, username string) string
- func TOTP_GET(key string, num int, per int64) string
- func UserLogin(m *ice.Message, username, password string) bool
- func UserNick(m *ice.Message, username interface{}) (nick string)
- func UserRole(m *ice.Message, username interface{}) (role string)
- func UserRoot(m *ice.Message, arg ...string)
- func UserZone(m *ice.Message, username interface{}) (zone string)
Constants ¶
View Source
const ( ROOT = "root" TECH = "tech" VOID = "void" )
View Source
const ( BLACK = "black" WHITE = "white" RIGHT = "right" )
View Source
const ( IP = "ip" UA = "ua" )
View Source
const ( GRANT = "grant" LOGIN = "login" LOGOUT = "logout" )
View Source
const ( SECRET = "secret" PERIOD = "period" NUMBER = "number" )
View Source
const ( BACKGROUND = "background" AVATAR = "avatar" GENDER = "gender" MOBILE = "mobile" EMAIL = "email" CITY = "city" COUNTRY = "country" LANGUAGE = "language" PROVINCE = "province" )
View Source
const ( USERROLE = "userrole" USERNAME = "username" PASSWORD = "password" USERNICK = "usernick" USERZONE = "userzone" )
View Source
const AAA = "aaa"
View Source
const (
INVITE = "invite"
)
View Source
const ROLE = "role"
View Source
const SESS = "sess"
View Source
const (
SESS_CREATE = "sess.create"
)
View Source
const TOTP = "totp"
View Source
const USER = "user"
View Source
const (
USER_CREATE = "user.create"
)
Variables ¶
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.