Documentation ¶
Index ¶
- Constants
- Variables
- func Black(m *ice.Message, key ...string)
- func IsTechOrRoot(m *ice.Message) bool
- func OfferAction() ice.Actions
- func Right(m *ice.Message, key ...ice.Any) bool
- func SendEmail(m *ice.Message, from, to, cc string, arg ...string)
- 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 SessValid(m *ice.Message) string
- func TOTP_GET(key string, per int64, num int) string
- func UserEmail(m *ice.Message, username ice.Any) (nick 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(role string, key ...string) ice.Actions
Constants ¶
View Source
const ( RSA = "rsa" SIGN = "sign" VERIFY = "verify" BASE64 = "base64" )
View Source
const ( ADMIN = "admin" SEND = "send" DATE = "date" FROM = "from" TO = "to" CC = "cc" SUBJECT = "subject" CONTENT = "content" )
View Source
const ( INVITE = "invite" ACCEPT = "accept" SUBJECT_HTML = "subject.html" CONTENT_HTML = "content.html" OFFER_CREATE = "offer.create" OFFER_ACCEPT = "offer.accept" )
View Source
const ( ROOT = "root" TECH = "tech" VOID = "void" )
View Source
const ( WHITE = "white" BLACK = "black" RIGHT = "right" )
View Source
const ( AUTH = "auth" ACCESS = "access" PUBLIC = "public" PRIVATE = "private" CONFIRM = "confirm" )
View Source
const ( IP = "ip" UA = "ua" )
View Source
const ( CHECK = "check" LOGIN = "login" LOGOUT = "logout" )
View Source
const ( BACKGROUND = "background" AVATAR_URL = "avatar_url" AVATAR = "avatar" GENDER = "gender" MOBILE = "mobile" SECRET = "secret" THEME = "theme" LANGUAGE = "language" LOCATION = "location" LONGITUDE = "longitude" LATITUDE = "latitude" PROVINCE = "province" COUNTRY = "country" CITY = "city" )
View Source
const ( USERNICK = "usernick" USERNAME = "username" PASSWORD = "password" USERROLE = "userrole" USERZONE = "userzone" USER_CREATE = "user.create" USER_REMOVE = "user.remove" )
View Source
const AAA = "aaa"
View Source
const APPLY = "apply"
View Source
const EMAIL = "email"
View Source
const OFFER = "offer"
View Source
const ROLE = "role"
View Source
const SESS = "sess"
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.