Documentation ¶
Index ¶
- Variables
- func CurlUic(team string) []*uic.User
- func GetUsers(teams string) map[string]*uic.User
- func LinkToSMS(content string) (string, error)
- func ParseTeams(teams string) ([]string, []string, []string)
- func UsersOf(team string) []*uic.User
- type APIGetTeamOutput
- type Action
- type ActionCache
- type UsersCache
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][]*uic.User)}
Functions ¶
func ParseTeams ¶
return phones, emails, IM
Types ¶
type APIGetTeamOutput ¶
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"` }
TODO:use api/app/model/falcon_portal/action.go
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)
Click to show internal directories.
Click to hide internal directories.