Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Actions = &ActionCache{M: make(map[int]*Action)}
View Source
var Users = &UsersCache{M: make(map[string][]*User)}
Functions ¶
Types ¶
type Action ¶
type Action struct { Id int `json:"id"` Uic string `json:"uic"` Url string `json:"url"` Callback int `json:"callback"` BeforeCallbackSms int `json:"before_callback_sms"` BeforeCallbackMail int `json:"before_callback_mail"` AfterCallbackSms int `json:"after_callback_sms"` AfterCallbackMail int `json:"after_callback_mail"` }
func CurlAction ¶
type ActionCache ¶
func (*ActionCache) Get ¶
func (this *ActionCache) Get(id int) *Action
func (*ActionCache) Set ¶
func (this *ActionCache) Set(id int, action *Action)
type ActionWrap ¶
type User ¶
type UsersCache ¶
func (*UsersCache) Get ¶
func (this *UsersCache) Get(team string) []*User
func (*UsersCache) Set ¶
func (this *UsersCache) Set(team string, users []*User)
Click to show internal directories.
Click to hide internal directories.