Documentation ¶
Index ¶
- Constants
- Variables
- func Black(m *ice.Message, key ...string)
- func Right(m *ice.Message, key ...ice.Any) bool
- func RoleAction(key ...string) ice.Actions
- func SessAuth(m *ice.Message, value ice.Any, arg ...string) *ice.Message
- func SessCheck(m *ice.Message, sessid string) bool
- func SessCreate(m *ice.Message, username string) string
- func SessLogout(m *ice.Message, arg ...string)
- func TOTP_GET(key string, per int64, num int) string
- func UserInfo(m *ice.Message, name ice.Any, key, meta string) (value string)
- func UserNick(m *ice.Message, username ice.Any) (nick string)
- func UserRole(m *ice.Message, username ice.Any) (role string)
- func UserRoot(m *ice.Message, arg ...string) *ice.Message
- func UserZone(m *ice.Message, username ice.Any) (zone string)
- func White(m *ice.Message, key ...string)
- func WhiteAction(key ...string) ice.Actions
Constants ¶
View Source
const ( RSA = "rsa" SIGN = "sign" VERIFY = "verify" )
View Source
const ( SEND = "send" SUBJECT = "subject" CONTENT = "content" )
View Source
const ( INVITE = "invite" ACCEPT = "accept" )
View Source
const ( ROOT = "root" TECH = "tech" VOID = "void" )
View Source
const ( WHITE = "white" BLACK = "black" RIGHT = "right" )
View Source
const ( UA = "ua" IP = "ip" )
View Source
const ( CHECK = "check" LOGIN = "login" LOGOUT = "logout" )
View Source
const ( BACKGROUND = "background" AVATAR = "avatar" GENDER = "gender" MOBILE = "mobile" CITY = "city" COUNTRY = "country" PROVINCE = "province" LANGUAGE = "language" )
View Source
const ( USERNICK = "usernick" USERNAME = "username" PASSWORD = "password" USERROLE = "userrole" USERZONE = "userzone" USER_CREATE = "user.create" )
View Source
const AAA = "aaa"
View Source
const EMAIL = "email"
View Source
const OFFER = "offer"
View Source
const ROLE = "role"
View Source
const SESS = "sess"
View Source
const (
TOKEN = "token"
)
View Source
const TOTP = "totp"
View Source
const USER = "user"
Variables ¶
Functions ¶
func SessAuth ¶ added in v1.4.4
func UserInfo ¶ added in v1.2.9
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.