SYMBOL INDEX (75 symbols across 18 files) FILE: logger/log.go function init (line 12) | func init() { FILE: main.go function main (line 16) | func main() { function listen80Port (line 50) | func listen80Port() { FILE: models/device.go type Device (line 14) | type Device struct type UserPhone (line 21) | type UserPhone struct function NewDevice (line 28) | func NewDevice(user string, device Device) (err error) { function NewUser (line 40) | func NewUser(user string) (err error) { function GetUserState (line 50) | func GetUserState(user string) (userState int, err error) { function GetDeviceState (line 60) | func GetDeviceState(user, deviceId string) (state int) { function GetDeviceInfo (line 76) | func GetDeviceInfo(user, deviceId string) (err error, deviceInfo Device) { function SetDeviceState (line 91) | func SetDeviceState(user, deviceId string, state int) (err error) { function ActiveDevice (line 108) | func ActiveDevice(user, deviceId string) (err error) { function RestoreDevice (line 115) | func RestoreDevice(user, deviceId string) (err error) { function LockDevice (line 122) | func LockDevice(user, deviceId string) (err error) { function IgnoreDevice (line 129) | func IgnoreDevice(user, deviceId string) (err error) { function CheckCmd (line 136) | func CheckCmd(cmd string, cmdType map[string]bool) (result bool) { function SetDeviceInfo (line 144) | func SetDeviceInfo(deviceId string, deviceInfo wbxml.DeviceInfo) (err er... function GetDeviceInfoByDeviceId (line 155) | func GetDeviceInfoByDeviceId(deviceId string) (deviceInfo wbxml.DeviceIn... function GetDeviceList (line 164) | func GetDeviceList(username string) (devices []string, err error) { function GetDeviceNum (line 172) | func GetDeviceNum(username string) (n int) { FILE: models/redis.go function init (line 13) | func init() { function InitRedis (line 17) | func InitRedis() () { function NewRedisClient (line 25) | func NewRedisClient(host string, port int, db int, password string) (*re... FILE: plugins/active_sync/active_code.go function DoActiveDevice (line 14) | func DoActiveDevice(user, deviceId, deviceType string, device models.Dev... function GetDeviceActiveFlag (line 38) | func GetDeviceActiveFlag(username, deviceId string) (err error, result b... function SetDeviceActiveFlag (line 50) | func SetDeviceActiveFlag(username, deviceId string) { function GetActiveCodeFlag (line 57) | func GetActiveCodeFlag(username, deviceId string) (has bool, code string) { function SetActiveCodeFlag (line 70) | func SetActiveCodeFlag(username, deviceId, code string) { function DelActiveCodeFlag (line 77) | func DelActiveCodeFlag(username, deviceId string) (err error) { function setActiveCode (line 85) | func setActiveCode(device models.Device, code string) (err error) { function SetActiveCode (line 95) | func SetActiveCode(username, deviceId string, device models.Device) (err... function RemoveActiveCode (line 109) | func RemoveActiveCode(code string) (err error) { function getActiveCodeValue (line 117) | func getActiveCodeValue(code string) (err error, has bool, user string, ... function CheckActiveCode (line 136) | func CheckActiveCode(code string) (err error, has bool, user string, dev... function VerifyActiveCode (line 142) | func VerifyActiveCode(code string) (result bool, user string, device mod... function ResetActiveCodeStatus (line 154) | func ResetActiveCodeStatus(code, username string, device models.Device, ... FILE: plugins/active_sync/active_sync.go function filterCmd (line 21) | func filterCmd(resp *http.Response) (err error) { function SyncRedirect (line 58) | func SyncRedirect(w http.ResponseWriter, req *http.Request) { function ActiveSyncHandler (line 67) | func ActiveSyncHandler(h http.HandlerFunc) http.HandlerFunc { FILE: plugins/active_sync/sms.go function SendCode (line 16) | func SendCode(user, deviceId, deviceType, phone, code string) (status bo... function ResetSmsStatus (line 49) | func ResetSmsStatus(user, deviceId string) (err error) { function SendSmsAPI (line 60) | func SendSmsAPI(username, phone, deviceId, code, content, srcIp string) ... function generateSmsContent (line 81) | func generateSmsContent(username, deviceId, code, srcIp, deviceType stri... FILE: plugins/active_sync/user_info.go function GetUserPhone (line 13) | func GetUserPhone(url, user string) (phone string, err error) { FILE: plugins/owa/owa.go function addOtp (line 21) | func addOtp(resp *http.Response) error { function OwaRedirect (line 38) | func OwaRedirect(w http.ResponseWriter, req *http.Request) { function OwaHandler (line 50) | func OwaHandler(h http.HandlerFunc) http.HandlerFunc { FILE: plugins/web/public/js/jquery.i18n.js function getDefaultLocale (line 253) | function getDefaultLocale() { FILE: plugins/web/public/js/jquery.i18n.messagestore.js function jsonMessageLoader (line 23) | function jsonMessageLoader( url ) { FILE: plugins/web/public/js/jquery.i18n/1.0.4/jquery.i18n.messagestore.js function jsonMessageLoader (line 110) | function jsonMessageLoader( url ) { FILE: plugins/web/web.go type ApiData (line 14) | type ApiData struct type RespData (line 25) | type RespData struct function Activation (line 32) | func Activation(w http.ResponseWriter, r *http.Request) { function ActiveDevice (line 113) | func ActiveDevice(w http.ResponseWriter, r *http.Request) { function IgnoreDevice (line 132) | func IgnoreDevice(w http.ResponseWriter, r *http.Request) { function NotFound (line 151) | func NotFound(w http.ResponseWriter, r *http.Request) { FILE: settings/settings.go function init (line 12) | func init() { FILE: util/http_client.go type TokenResult (line 10) | type TokenResult struct function CheckToken (line 15) | func CheckToken(urlOtp, username, token string) (result bool, err error) { FILE: util/lib.go function MD5 (line 12) | func MD5(s string) (m string) { function RandomString (line 19) | func RandomString(n int) string { function GenerateAtiveCode (line 30) | func GenerateAtiveCode(username, deviceId string) (code string) { FILE: util/wbxml/wbxml.go type Provision (line 40) | type Provision struct type DeviceInfo (line 67) | type DeviceInfo struct function removeInvalidChars (line 76) | func removeInvalidChars(b []byte) []byte { function EncodeXML (line 81) | func EncodeXML(xmlString []byte) { function getDecodeResult (line 96) | func getDecodeResult(data ...byte) string { function Parse (line 102) | func Parse(data []byte) (deviceInfo DeviceInfo, err error) { FILE: vars/vars.go type Config (line 16) | type Config struct type RedisConfig (line 26) | type RedisConfig struct function init (line 65) | func init() { function initActiveSyncCmds (line 100) | func initActiveSyncCmds() { function initApiInfo (line 121) | func initApiInfo() { function initDebugLevel (line 136) | func initDebugLevel() { function GetCurDir (line 154) | func GetCurDir() (path string, err error) {