SYMBOL INDEX (449 symbols across 44 files) FILE: account/common/config.go type AccountServiceConf (line 15) | type AccountServiceConf struct type RedisConf (line 24) | type RedisConf struct type MysqlConf (line 31) | type MysqlConf struct FILE: account/common/model.go type FishUser (line 3) | type FishUser struct type InvestUserStake (line 23) | type InvestUserStake struct FILE: account/main/config.go function initConf (line 10) | func initConf() (err error) { FILE: account/main/init.go function conversionLogLevel (line 13) | func conversionLogLevel(logLevel string) int { function initLogger (line 27) | func initLogger() (err error) { function initMysql (line 40) | func initMysql() (err error) { function initRedis (line 52) | func initRedis() (err error) { function initSec (line 70) | func initSec() (err error) { FILE: account/main/main.go function main (line 12) | func main() { FILE: account/service/handle.go type UserServer (line 21) | type UserServer struct method GetUserInfoByOpenId (line 31) | func (p *UserServer) GetUserInfoByOpenId(ctx context.Context, openId s... method CreateQQUser (line 48) | func (p *UserServer) CreateQQUser(ctx context.Context, userInfo *rpc.U... method CreateNewUser (line 102) | func (p *UserServer) CreateNewUser(ctx context.Context, nickName strin... method GetUserInfoById (line 158) | func (p *UserServer) GetUserInfoById(ctx context.Context, userId int32... method GetUserInfoByToken (line 208) | func (p *UserServer) GetUserInfoByToken(ctx context.Context, token str... method ModifyUserInfoById (line 223) | func (p *UserServer) ModifyUserInfoById(ctx context.Context, behavior ... method GetMessage (line 246) | func (p *UserServer) GetMessage(ctx context.Context, messageType strin... method RenameUserById (line 262) | func (p *UserServer) RenameUserById(ctx context.Context, userId int32,... function InitAesTool (line 24) | func InitAesTool() { FILE: common/api/thrift/gen-go/rpc/account-consts.go function init (line 22) | func init() { FILE: common/api/thrift/gen-go/rpc/account.go type ErrorCode (line 23) | type ErrorCode method String (line 31) | func (p ErrorCode) String() string { method MarshalText (line 54) | func (p ErrorCode) MarshalText() ([]byte, error) { method UnmarshalText (line 58) | func (p *ErrorCode) UnmarshalText(text []byte) error { method Scan (line 67) | func (p *ErrorCode) Scan(value interface{}) error { method Value (line 76) | func (p * ErrorCode) Value() (driver.Value, error) { constant ErrorCode_Success (line 25) | ErrorCode_Success ErrorCode = 0 constant ErrorCode_ServerError (line 26) | ErrorCode_ServerError ErrorCode = 5000 constant ErrorCode_VerifyError (line 27) | ErrorCode_VerifyError ErrorCode = 5001 constant ErrorCode_UserNotExists (line 28) | ErrorCode_UserNotExists ErrorCode = 5002 function ErrorCodeFromString (line 41) | func ErrorCodeFromString(s string) (ErrorCode, error) { function ErrorCodePtr (line 52) | func ErrorCodePtr(v ErrorCode) *ErrorCode { return &v } type ModifyPropType (line 82) | type ModifyPropType method String (line 90) | func (p ModifyPropType) String() string { method MarshalText (line 113) | func (p ModifyPropType) MarshalText() ([]byte, error) { method UnmarshalText (line 117) | func (p *ModifyPropType) UnmarshalText(text []byte) error { method Scan (line 126) | func (p *ModifyPropType) Scan(value interface{}) error { method Value (line 135) | func (p * ModifyPropType) Value() (driver.Value, error) { constant ModifyPropType_gems (line 84) | ModifyPropType_gems ModifyPropType = 0 constant ModifyPropType_roomId (line 85) | ModifyPropType_roomId ModifyPropType = 1 constant ModifyPropType_power (line 86) | ModifyPropType_power ModifyPropType = 2 constant ModifyPropType_ice (line 87) | ModifyPropType_ice ModifyPropType = 3 function ModifyPropTypeFromString (line 100) | func ModifyPropTypeFromString(s string) (ModifyPropType, error) { function ModifyPropTypePtr (line 111) | func ModifyPropTypePtr(v ModifyPropType) *ModifyPropType { return &v } type QqInfo (line 147) | type QqInfo struct method GetOpenId (line 160) | func (p *QqInfo) GetOpenId() string { method GetFigureUrl (line 164) | func (p *QqInfo) GetFigureUrl() string { method GetProvince (line 168) | func (p *QqInfo) GetProvince() string { method GetCity (line 172) | func (p *QqInfo) GetCity() string { method GetTotalSpending (line 176) | func (p *QqInfo) GetTotalSpending() int64 { method Read (line 179) | func (p *QqInfo) Read(iprot thrift.TProtocol) error { method ReadField1 (line 257) | func (p *QqInfo) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 266) | func (p *QqInfo) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 275) | func (p *QqInfo) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 284) | func (p *QqInfo) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 293) | func (p *QqInfo) ReadField5(iprot thrift.TProtocol) error { method Write (line 302) | func (p *QqInfo) Write(oprot thrift.TProtocol) error { method writeField1 (line 319) | func (p *QqInfo) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 329) | func (p *QqInfo) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 339) | func (p *QqInfo) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 349) | func (p *QqInfo) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 359) | func (p *QqInfo) writeField5(oprot thrift.TProtocol) (err error) { method String (line 369) | func (p *QqInfo) String() string { function NewQqInfo (line 155) | func NewQqInfo() *QqInfo { type UserInfo (line 394) | type UserInfo struct method GetUserId (line 419) | func (p *UserInfo) GetUserId() int64 { method GetUserName (line 423) | func (p *UserInfo) GetUserName() string { method GetNickName (line 427) | func (p *UserInfo) GetNickName() string { method GetSex (line 431) | func (p *UserInfo) GetSex() int8 { method GetHeadImg (line 435) | func (p *UserInfo) GetHeadImg() string { method GetLv (line 439) | func (p *UserInfo) GetLv() int32 { method GetExp (line 443) | func (p *UserInfo) GetExp() int64 { method GetVip (line 447) | func (p *UserInfo) GetVip() int8 { method GetGems (line 451) | func (p *UserInfo) GetGems() int64 { method GetRoomId (line 455) | func (p *UserInfo) GetRoomId() int64 { method GetPower (line 459) | func (p *UserInfo) GetPower() int64 { method GetReNameCount (line 463) | func (p *UserInfo) GetReNameCount() int8 { method GetReHeadCount (line 467) | func (p *UserInfo) GetReHeadCount() int8 { method GetRegisterDate (line 471) | func (p *UserInfo) GetRegisterDate() string { method GetIce (line 475) | func (p *UserInfo) GetIce() int64 { method GetToken (line 479) | func (p *UserInfo) GetToken() string { method GetQqInfo (line 483) | func (p *UserInfo) GetQqInfo() *QqInfo { method IsSetQqInfo (line 489) | func (p *UserInfo) IsSetQqInfo() bool { method Read (line 493) | func (p *UserInfo) Read(iprot thrift.TProtocol) error { method ReadField1 (line 691) | func (p *UserInfo) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 700) | func (p *UserInfo) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 709) | func (p *UserInfo) ReadField3(iprot thrift.TProtocol) error { method ReadField4 (line 718) | func (p *UserInfo) ReadField4(iprot thrift.TProtocol) error { method ReadField5 (line 728) | func (p *UserInfo) ReadField5(iprot thrift.TProtocol) error { method ReadField6 (line 737) | func (p *UserInfo) ReadField6(iprot thrift.TProtocol) error { method ReadField7 (line 746) | func (p *UserInfo) ReadField7(iprot thrift.TProtocol) error { method ReadField8 (line 755) | func (p *UserInfo) ReadField8(iprot thrift.TProtocol) error { method ReadField9 (line 765) | func (p *UserInfo) ReadField9(iprot thrift.TProtocol) error { method ReadField10 (line 774) | func (p *UserInfo) ReadField10(iprot thrift.TProtocol) error { method ReadField11 (line 783) | func (p *UserInfo) ReadField11(iprot thrift.TProtocol) error { method ReadField12 (line 792) | func (p *UserInfo) ReadField12(iprot thrift.TProtocol) error { method ReadField13 (line 802) | func (p *UserInfo) ReadField13(iprot thrift.TProtocol) error { method ReadField14 (line 812) | func (p *UserInfo) ReadField14(iprot thrift.TProtocol) error { method ReadField15 (line 821) | func (p *UserInfo) ReadField15(iprot thrift.TProtocol) error { method ReadField16 (line 830) | func (p *UserInfo) ReadField16(iprot thrift.TProtocol) error { method ReadField17 (line 839) | func (p *UserInfo) ReadField17(iprot thrift.TProtocol) error { method Write (line 847) | func (p *UserInfo) Write(oprot thrift.TProtocol) error { method writeField1 (line 876) | func (p *UserInfo) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 886) | func (p *UserInfo) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 896) | func (p *UserInfo) writeField3(oprot thrift.TProtocol) (err error) { method writeField4 (line 906) | func (p *UserInfo) writeField4(oprot thrift.TProtocol) (err error) { method writeField5 (line 916) | func (p *UserInfo) writeField5(oprot thrift.TProtocol) (err error) { method writeField6 (line 926) | func (p *UserInfo) writeField6(oprot thrift.TProtocol) (err error) { method writeField7 (line 936) | func (p *UserInfo) writeField7(oprot thrift.TProtocol) (err error) { method writeField8 (line 946) | func (p *UserInfo) writeField8(oprot thrift.TProtocol) (err error) { method writeField9 (line 956) | func (p *UserInfo) writeField9(oprot thrift.TProtocol) (err error) { method writeField10 (line 966) | func (p *UserInfo) writeField10(oprot thrift.TProtocol) (err error) { method writeField11 (line 976) | func (p *UserInfo) writeField11(oprot thrift.TProtocol) (err error) { method writeField12 (line 986) | func (p *UserInfo) writeField12(oprot thrift.TProtocol) (err error) { method writeField13 (line 996) | func (p *UserInfo) writeField13(oprot thrift.TProtocol) (err error) { method writeField14 (line 1006) | func (p *UserInfo) writeField14(oprot thrift.TProtocol) (err error) { method writeField15 (line 1016) | func (p *UserInfo) writeField15(oprot thrift.TProtocol) (err error) { method writeField16 (line 1026) | func (p *UserInfo) writeField16(oprot thrift.TProtocol) (err error) { method writeField17 (line 1036) | func (p *UserInfo) writeField17(oprot thrift.TProtocol) (err error) { method String (line 1047) | func (p *UserInfo) String() string { function NewUserInfo (line 414) | func NewUserInfo() *UserInfo { type Result_ (line 1057) | type Result_ struct method GetCode (line 1067) | func (p *Result_) GetCode() ErrorCode { method GetUserObj (line 1071) | func (p *Result_) GetUserObj() *UserInfo { method IsSetUserObj (line 1077) | func (p *Result_) IsSetUserObj() bool { method Read (line 1081) | func (p *Result_) Read(iprot thrift.TProtocol) error { method ReadField1 (line 1129) | func (p *Result_) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 1139) | func (p *Result_) ReadField2(iprot thrift.TProtocol) error { method Write (line 1147) | func (p *Result_) Write(oprot thrift.TProtocol) error { method writeField1 (line 1161) | func (p *Result_) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 1171) | func (p *Result_) writeField2(oprot thrift.TProtocol) (err error) { method String (line 1182) | func (p *Result_) String() string { function NewResult_ (line 1062) | func NewResult_() *Result_ { type UserService (line 1189) | type UserService interface type UserServiceClient (line 1222) | type UserServiceClient struct method Client_ (line 1244) | func (p *UserServiceClient) Client_() thrift.TClient { method CreateNewUser (line 1251) | func (p *UserServiceClient) CreateNewUser(ctx context.Context, nickNam... method CreateQQUser (line 1265) | func (p *UserServiceClient) CreateQQUser(ctx context.Context, UserInfo... method GetUserInfoByOpenId (line 1277) | func (p *UserServiceClient) GetUserInfoByOpenId(ctx context.Context, o... method GetUserInfoById (line 1289) | func (p *UserServiceClient) GetUserInfoById(ctx context.Context, userI... method GetUserInfoByToken (line 1301) | func (p *UserServiceClient) GetUserInfoByToken(ctx context.Context, to... method ModifyUserInfoById (line 1316) | func (p *UserServiceClient) ModifyUserInfoById(ctx context.Context, be... method RenameUserById (line 1332) | func (p *UserServiceClient) RenameUserById(ctx context.Context, userId... method GetMessage (line 1345) | func (p *UserServiceClient) GetMessage(ctx context.Context, messageTyp... function NewUserServiceClientFactory (line 1226) | func NewUserServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewUserServiceClientProtocol (line 1232) | func NewUserServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... function NewUserServiceClient (line 1238) | func NewUserServiceClient(c thrift.TClient) *UserServiceClient { type UserServiceProcessor (line 1355) | type UserServiceProcessor struct method AddToProcessorMap (line 1360) | func (p *UserServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 1364) | func (p *UserServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 1369) | func (p *UserServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 1387) | func (p *UserServiceProcessor) Process(ctx context.Context, iprot, opr... function NewUserServiceProcessor (line 1373) | func NewUserServiceProcessor(handler UserService) *UserServiceProcessor { type userServiceProcessorCreateNewUser (line 1404) | type userServiceProcessorCreateNewUser struct method Process (line 1408) | func (p *userServiceProcessorCreateNewUser) Process(ctx context.Contex... type userServiceProcessorCreateQQUser (line 1452) | type userServiceProcessorCreateQQUser struct method Process (line 1456) | func (p *userServiceProcessorCreateQQUser) Process(ctx context.Context... type userServiceProcessorGetUserInfoByOpenId (line 1500) | type userServiceProcessorGetUserInfoByOpenId struct method Process (line 1504) | func (p *userServiceProcessorGetUserInfoByOpenId) Process(ctx context.... type userServiceProcessorGetUserInfoById (line 1548) | type userServiceProcessorGetUserInfoById struct method Process (line 1552) | func (p *userServiceProcessorGetUserInfoById) Process(ctx context.Cont... type userServiceProcessorGetUserInfoByToken (line 1596) | type userServiceProcessorGetUserInfoByToken struct method Process (line 1600) | func (p *userServiceProcessorGetUserInfoByToken) Process(ctx context.C... type userServiceProcessorModifyUserInfoById (line 1644) | type userServiceProcessorModifyUserInfoById struct method Process (line 1648) | func (p *userServiceProcessorModifyUserInfoById) Process(ctx context.C... type userServiceProcessorRenameUserById (line 1692) | type userServiceProcessorRenameUserById struct method Process (line 1696) | func (p *userServiceProcessorRenameUserById) Process(ctx context.Conte... type userServiceProcessorGetMessage (line 1740) | type userServiceProcessorGetMessage struct method Process (line 1744) | func (p *userServiceProcessorGetMessage) Process(ctx context.Context, ... type UserServiceCreateNewUserArgs (line 1795) | type UserServiceCreateNewUserArgs struct method GetNickName (line 1806) | func (p *UserServiceCreateNewUserArgs) GetNickName() string { method GetAvatarAuto (line 1810) | func (p *UserServiceCreateNewUserArgs) GetAvatarAuto() string { method GetGold (line 1814) | func (p *UserServiceCreateNewUserArgs) GetGold() int64 { method Read (line 1817) | func (p *UserServiceCreateNewUserArgs) Read(iprot thrift.TProtocol) er... method ReadField1 (line 1875) | func (p *UserServiceCreateNewUserArgs) ReadField1(iprot thrift.TProto... method ReadField2 (line 1884) | func (p *UserServiceCreateNewUserArgs) ReadField2(iprot thrift.TProto... method ReadField3 (line 1893) | func (p *UserServiceCreateNewUserArgs) ReadField3(iprot thrift.TProto... method Write (line 1902) | func (p *UserServiceCreateNewUserArgs) Write(oprot thrift.TProtocol) e... method writeField1 (line 1917) | func (p *UserServiceCreateNewUserArgs) writeField1(oprot thrift.TProto... method writeField2 (line 1927) | func (p *UserServiceCreateNewUserArgs) writeField2(oprot thrift.TProto... method writeField3 (line 1937) | func (p *UserServiceCreateNewUserArgs) writeField3(oprot thrift.TProto... method String (line 1947) | func (p *UserServiceCreateNewUserArgs) String() string { function NewUserServiceCreateNewUserArgs (line 1801) | func NewUserServiceCreateNewUserArgs() *UserServiceCreateNewUserArgs { type UserServiceCreateNewUserResult (line 1956) | type UserServiceCreateNewUserResult struct method GetSuccess (line 1965) | func (p *UserServiceCreateNewUserResult) GetSuccess() *Result_ { method IsSetSuccess (line 1971) | func (p *UserServiceCreateNewUserResult) IsSetSuccess() bool { method Read (line 1975) | func (p *UserServiceCreateNewUserResult) Read(iprot thrift.TProtocol) ... method ReadField0 (line 2013) | func (p *UserServiceCreateNewUserResult) ReadField0(iprot thrift.TPro... method Write (line 2021) | func (p *UserServiceCreateNewUserResult) Write(oprot thrift.TProtocol)... method writeField0 (line 2034) | func (p *UserServiceCreateNewUserResult) writeField0(oprot thrift.TPro... method String (line 2047) | func (p *UserServiceCreateNewUserResult) String() string { function NewUserServiceCreateNewUserResult (line 1960) | func NewUserServiceCreateNewUserResult() *UserServiceCreateNewUserResult { type UserServiceCreateQQUserArgs (line 2056) | type UserServiceCreateQQUserArgs struct method GetUserInfo (line 2065) | func (p *UserServiceCreateQQUserArgs) GetUserInfo() *UserInfo { method IsSetUserInfo (line 2071) | func (p *UserServiceCreateQQUserArgs) IsSetUserInfo() bool { method Read (line 2075) | func (p *UserServiceCreateQQUserArgs) Read(iprot thrift.TProtocol) err... method ReadField1 (line 2113) | func (p *UserServiceCreateQQUserArgs) ReadField1(iprot thrift.TProtoc... method Write (line 2121) | func (p *UserServiceCreateQQUserArgs) Write(oprot thrift.TProtocol) er... method writeField1 (line 2134) | func (p *UserServiceCreateQQUserArgs) writeField1(oprot thrift.TProtoc... method String (line 2145) | func (p *UserServiceCreateQQUserArgs) String() string { function NewUserServiceCreateQQUserArgs (line 2060) | func NewUserServiceCreateQQUserArgs() *UserServiceCreateQQUserArgs { type UserServiceCreateQQUserResult (line 2154) | type UserServiceCreateQQUserResult struct method GetSuccess (line 2163) | func (p *UserServiceCreateQQUserResult) GetSuccess() *Result_ { method IsSetSuccess (line 2169) | func (p *UserServiceCreateQQUserResult) IsSetSuccess() bool { method Read (line 2173) | func (p *UserServiceCreateQQUserResult) Read(iprot thrift.TProtocol) e... method ReadField0 (line 2211) | func (p *UserServiceCreateQQUserResult) ReadField0(iprot thrift.TProt... method Write (line 2219) | func (p *UserServiceCreateQQUserResult) Write(oprot thrift.TProtocol) ... method writeField0 (line 2232) | func (p *UserServiceCreateQQUserResult) writeField0(oprot thrift.TProt... method String (line 2245) | func (p *UserServiceCreateQQUserResult) String() string { function NewUserServiceCreateQQUserResult (line 2158) | func NewUserServiceCreateQQUserResult() *UserServiceCreateQQUserResult { type UserServiceGetUserInfoByOpenIdArgs (line 2254) | type UserServiceGetUserInfoByOpenIdArgs struct method GetOpenId (line 2263) | func (p *UserServiceGetUserInfoByOpenIdArgs) GetOpenId() string { method Read (line 2266) | func (p *UserServiceGetUserInfoByOpenIdArgs) Read(iprot thrift.TProtoc... method ReadField1 (line 2304) | func (p *UserServiceGetUserInfoByOpenIdArgs) ReadField1(iprot thrift.... method Write (line 2313) | func (p *UserServiceGetUserInfoByOpenIdArgs) Write(oprot thrift.TProto... method writeField1 (line 2326) | func (p *UserServiceGetUserInfoByOpenIdArgs) writeField1(oprot thrift.... method String (line 2336) | func (p *UserServiceGetUserInfoByOpenIdArgs) String() string { function NewUserServiceGetUserInfoByOpenIdArgs (line 2258) | func NewUserServiceGetUserInfoByOpenIdArgs() *UserServiceGetUserInfoByOp... type UserServiceGetUserInfoByOpenIdResult (line 2345) | type UserServiceGetUserInfoByOpenIdResult struct method GetSuccess (line 2354) | func (p *UserServiceGetUserInfoByOpenIdResult) GetSuccess() *Result_ { method IsSetSuccess (line 2360) | func (p *UserServiceGetUserInfoByOpenIdResult) IsSetSuccess() bool { method Read (line 2364) | func (p *UserServiceGetUserInfoByOpenIdResult) Read(iprot thrift.TProt... method ReadField0 (line 2402) | func (p *UserServiceGetUserInfoByOpenIdResult) ReadField0(iprot thrif... method Write (line 2410) | func (p *UserServiceGetUserInfoByOpenIdResult) Write(oprot thrift.TPro... method writeField0 (line 2423) | func (p *UserServiceGetUserInfoByOpenIdResult) writeField0(oprot thrif... method String (line 2436) | func (p *UserServiceGetUserInfoByOpenIdResult) String() string { function NewUserServiceGetUserInfoByOpenIdResult (line 2349) | func NewUserServiceGetUserInfoByOpenIdResult() *UserServiceGetUserInfoBy... type UserServiceGetUserInfoByIdArgs (line 2445) | type UserServiceGetUserInfoByIdArgs struct method GetUserId (line 2454) | func (p *UserServiceGetUserInfoByIdArgs) GetUserId() int32 { method Read (line 2457) | func (p *UserServiceGetUserInfoByIdArgs) Read(iprot thrift.TProtocol) ... method ReadField1 (line 2495) | func (p *UserServiceGetUserInfoByIdArgs) ReadField1(iprot thrift.TPro... method Write (line 2504) | func (p *UserServiceGetUserInfoByIdArgs) Write(oprot thrift.TProtocol)... method writeField1 (line 2517) | func (p *UserServiceGetUserInfoByIdArgs) writeField1(oprot thrift.TPro... method String (line 2527) | func (p *UserServiceGetUserInfoByIdArgs) String() string { function NewUserServiceGetUserInfoByIdArgs (line 2449) | func NewUserServiceGetUserInfoByIdArgs() *UserServiceGetUserInfoByIdArgs { type UserServiceGetUserInfoByIdResult (line 2536) | type UserServiceGetUserInfoByIdResult struct method GetSuccess (line 2545) | func (p *UserServiceGetUserInfoByIdResult) GetSuccess() *Result_ { method IsSetSuccess (line 2551) | func (p *UserServiceGetUserInfoByIdResult) IsSetSuccess() bool { method Read (line 2555) | func (p *UserServiceGetUserInfoByIdResult) Read(iprot thrift.TProtocol... method ReadField0 (line 2593) | func (p *UserServiceGetUserInfoByIdResult) ReadField0(iprot thrift.TP... method Write (line 2601) | func (p *UserServiceGetUserInfoByIdResult) Write(oprot thrift.TProtoco... method writeField0 (line 2614) | func (p *UserServiceGetUserInfoByIdResult) writeField0(oprot thrift.TP... method String (line 2627) | func (p *UserServiceGetUserInfoByIdResult) String() string { function NewUserServiceGetUserInfoByIdResult (line 2540) | func NewUserServiceGetUserInfoByIdResult() *UserServiceGetUserInfoByIdRe... type UserServiceGetUserInfoByTokenArgs (line 2636) | type UserServiceGetUserInfoByTokenArgs struct method GetToken (line 2645) | func (p *UserServiceGetUserInfoByTokenArgs) GetToken() string { method Read (line 2648) | func (p *UserServiceGetUserInfoByTokenArgs) Read(iprot thrift.TProtoco... method ReadField1 (line 2686) | func (p *UserServiceGetUserInfoByTokenArgs) ReadField1(iprot thrift.T... method Write (line 2695) | func (p *UserServiceGetUserInfoByTokenArgs) Write(oprot thrift.TProtoc... method writeField1 (line 2708) | func (p *UserServiceGetUserInfoByTokenArgs) writeField1(oprot thrift.T... method String (line 2718) | func (p *UserServiceGetUserInfoByTokenArgs) String() string { function NewUserServiceGetUserInfoByTokenArgs (line 2640) | func NewUserServiceGetUserInfoByTokenArgs() *UserServiceGetUserInfoByTok... type UserServiceGetUserInfoByTokenResult (line 2727) | type UserServiceGetUserInfoByTokenResult struct method GetSuccess (line 2736) | func (p *UserServiceGetUserInfoByTokenResult) GetSuccess() *Result_ { method IsSetSuccess (line 2742) | func (p *UserServiceGetUserInfoByTokenResult) IsSetSuccess() bool { method Read (line 2746) | func (p *UserServiceGetUserInfoByTokenResult) Read(iprot thrift.TProto... method ReadField0 (line 2784) | func (p *UserServiceGetUserInfoByTokenResult) ReadField0(iprot thrift... method Write (line 2792) | func (p *UserServiceGetUserInfoByTokenResult) Write(oprot thrift.TProt... method writeField0 (line 2805) | func (p *UserServiceGetUserInfoByTokenResult) writeField0(oprot thrift... method String (line 2818) | func (p *UserServiceGetUserInfoByTokenResult) String() string { function NewUserServiceGetUserInfoByTokenResult (line 2731) | func NewUserServiceGetUserInfoByTokenResult() *UserServiceGetUserInfoByT... type UserServiceModifyUserInfoByIdArgs (line 2830) | type UserServiceModifyUserInfoByIdArgs struct method GetBehavior (line 2842) | func (p *UserServiceModifyUserInfoByIdArgs) GetBehavior() string { method GetUserId (line 2846) | func (p *UserServiceModifyUserInfoByIdArgs) GetUserId() int32 { method GetPropType (line 2850) | func (p *UserServiceModifyUserInfoByIdArgs) GetPropType() ModifyPropTy... method GetIncr (line 2854) | func (p *UserServiceModifyUserInfoByIdArgs) GetIncr() int64 { method Read (line 2857) | func (p *UserServiceModifyUserInfoByIdArgs) Read(iprot thrift.TProtoco... method ReadField1 (line 2925) | func (p *UserServiceModifyUserInfoByIdArgs) ReadField1(iprot thrift.T... method ReadField2 (line 2934) | func (p *UserServiceModifyUserInfoByIdArgs) ReadField2(iprot thrift.T... method ReadField3 (line 2943) | func (p *UserServiceModifyUserInfoByIdArgs) ReadField3(iprot thrift.T... method ReadField4 (line 2953) | func (p *UserServiceModifyUserInfoByIdArgs) ReadField4(iprot thrift.T... method Write (line 2962) | func (p *UserServiceModifyUserInfoByIdArgs) Write(oprot thrift.TProtoc... method writeField1 (line 2978) | func (p *UserServiceModifyUserInfoByIdArgs) writeField1(oprot thrift.T... method writeField2 (line 2988) | func (p *UserServiceModifyUserInfoByIdArgs) writeField2(oprot thrift.T... method writeField3 (line 2998) | func (p *UserServiceModifyUserInfoByIdArgs) writeField3(oprot thrift.T... method writeField4 (line 3008) | func (p *UserServiceModifyUserInfoByIdArgs) writeField4(oprot thrift.T... method String (line 3018) | func (p *UserServiceModifyUserInfoByIdArgs) String() string { function NewUserServiceModifyUserInfoByIdArgs (line 2837) | func NewUserServiceModifyUserInfoByIdArgs() *UserServiceModifyUserInfoBy... type UserServiceModifyUserInfoByIdResult (line 3027) | type UserServiceModifyUserInfoByIdResult struct method GetSuccess (line 3036) | func (p *UserServiceModifyUserInfoByIdResult) GetSuccess() *Result_ { method IsSetSuccess (line 3042) | func (p *UserServiceModifyUserInfoByIdResult) IsSetSuccess() bool { method Read (line 3046) | func (p *UserServiceModifyUserInfoByIdResult) Read(iprot thrift.TProto... method ReadField0 (line 3084) | func (p *UserServiceModifyUserInfoByIdResult) ReadField0(iprot thrift... method Write (line 3092) | func (p *UserServiceModifyUserInfoByIdResult) Write(oprot thrift.TProt... method writeField0 (line 3105) | func (p *UserServiceModifyUserInfoByIdResult) writeField0(oprot thrift... method String (line 3118) | func (p *UserServiceModifyUserInfoByIdResult) String() string { function NewUserServiceModifyUserInfoByIdResult (line 3031) | func NewUserServiceModifyUserInfoByIdResult() *UserServiceModifyUserInfo... type UserServiceRenameUserByIdArgs (line 3128) | type UserServiceRenameUserByIdArgs struct method GetUserId (line 3138) | func (p *UserServiceRenameUserByIdArgs) GetUserId() int32 { method GetNewName_ (line 3142) | func (p *UserServiceRenameUserByIdArgs) GetNewName_() string { method Read (line 3145) | func (p *UserServiceRenameUserByIdArgs) Read(iprot thrift.TProtocol) e... method ReadField1 (line 3193) | func (p *UserServiceRenameUserByIdArgs) ReadField1(iprot thrift.TProt... method ReadField2 (line 3202) | func (p *UserServiceRenameUserByIdArgs) ReadField2(iprot thrift.TProt... method Write (line 3211) | func (p *UserServiceRenameUserByIdArgs) Write(oprot thrift.TProtocol) ... method writeField1 (line 3225) | func (p *UserServiceRenameUserByIdArgs) writeField1(oprot thrift.TProt... method writeField2 (line 3235) | func (p *UserServiceRenameUserByIdArgs) writeField2(oprot thrift.TProt... method String (line 3245) | func (p *UserServiceRenameUserByIdArgs) String() string { function NewUserServiceRenameUserByIdArgs (line 3133) | func NewUserServiceRenameUserByIdArgs() *UserServiceRenameUserByIdArgs { type UserServiceRenameUserByIdResult (line 3254) | type UserServiceRenameUserByIdResult struct method GetSuccess (line 3263) | func (p *UserServiceRenameUserByIdResult) GetSuccess() *Result_ { method IsSetSuccess (line 3269) | func (p *UserServiceRenameUserByIdResult) IsSetSuccess() bool { method Read (line 3273) | func (p *UserServiceRenameUserByIdResult) Read(iprot thrift.TProtocol)... method ReadField0 (line 3311) | func (p *UserServiceRenameUserByIdResult) ReadField0(iprot thrift.TPr... method Write (line 3319) | func (p *UserServiceRenameUserByIdResult) Write(oprot thrift.TProtocol... method writeField0 (line 3332) | func (p *UserServiceRenameUserByIdResult) writeField0(oprot thrift.TPr... method String (line 3345) | func (p *UserServiceRenameUserByIdResult) String() string { function NewUserServiceRenameUserByIdResult (line 3258) | func NewUserServiceRenameUserByIdResult() *UserServiceRenameUserByIdResu... type UserServiceGetMessageArgs (line 3354) | type UserServiceGetMessageArgs struct method GetMessageType (line 3363) | func (p *UserServiceGetMessageArgs) GetMessageType() string { method Read (line 3366) | func (p *UserServiceGetMessageArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 3404) | func (p *UserServiceGetMessageArgs) ReadField1(iprot thrift.TProtocol... method Write (line 3413) | func (p *UserServiceGetMessageArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 3426) | func (p *UserServiceGetMessageArgs) writeField1(oprot thrift.TProtocol... method String (line 3436) | func (p *UserServiceGetMessageArgs) String() string { function NewUserServiceGetMessageArgs (line 3358) | func NewUserServiceGetMessageArgs() *UserServiceGetMessageArgs { type UserServiceGetMessageResult (line 3445) | type UserServiceGetMessageResult struct method GetSuccess (line 3454) | func (p *UserServiceGetMessageResult) GetSuccess() string { method IsSetSuccess (line 3460) | func (p *UserServiceGetMessageResult) IsSetSuccess() bool { method Read (line 3464) | func (p *UserServiceGetMessageResult) Read(iprot thrift.TProtocol) err... method ReadField0 (line 3502) | func (p *UserServiceGetMessageResult) ReadField0(iprot thrift.TProtoc... method Write (line 3511) | func (p *UserServiceGetMessageResult) Write(oprot thrift.TProtocol) er... method writeField0 (line 3524) | func (p *UserServiceGetMessageResult) writeField0(oprot thrift.TProtoc... method String (line 3536) | func (p *UserServiceGetMessageResult) String() string { function NewUserServiceGetMessageResult (line 3449) | func NewUserServiceGetMessageResult() *UserServiceGetMessageResult { FILE: common/api/thrift/gen-go/rpc/user_service-remote/user_service-remote.go function Usage (line 21) | func Usage() { type httpHeaders (line 37) | type httpHeaders method String (line 39) | func (h httpHeaders) String() string { method Set (line 44) | func (h httpHeaders) Set(value string) error { function main (line 53) | func main() { FILE: common/tools/aes.go function NewAesTool (line 10) | func NewAesTool(appSecret string) (aesTool *AesEncrypt,err error) { type AesEncrypt (line 19) | type AesEncrypt struct method getKey (line 23) | func (p *AesEncrypt) getKey() []byte { method Encrypt (line 43) | func (p *AesEncrypt) Encrypt(strMesg string) (string, error) { method Decrypt (line 59) | func (p *AesEncrypt) Decrypt(aesEncryptString string) (strDesc string,... FILE: common/tools/call_rpc.go function GetRpcClient (line 10) | func GetRpcClient(host,port string) (client *rpc.UserServiceClient, clos... FILE: common/tools/snowFlake.go constant nodeBits (line 10) | nodeBits uint8 = 10 constant stepBits (line 11) | stepBits uint8 = 12 constant nodeMax (line 12) | nodeMax int64 = -1 ^ (-1 << nodeBits) constant stepMax (line 13) | stepMax int64 = -1 ^ (-1 << stepBits) constant timeShift (line 14) | timeShift uint8 = nodeBits + stepBits constant nodeShift (line 15) | nodeShift uint8 = stepBits type Node (line 22) | type Node struct method run (line 42) | func (n *Node) run() { method Generate (line 61) | func (n *Node) Generate() int64 { function GenerateUid (line 31) | func GenerateUid(nodeNum int64) (err error, generateChan <-chan int64) { function NewNode (line 48) | func NewNode(nodeNum int64) (*Node, error) { FILE: common/tools/tools.go function CreateUid (line 10) | func CreateUid() (uuid string) { FILE: game/common/config.go type GameServerConf (line 7) | type GameServerConf struct FILE: game/controllers/create_public_room.go function CreatePublicRoom (line 10) | func CreatePublicRoom(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/create_room.go function CreateRoom (line 10) | func CreateRoom(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/enter_public_room.go function EnterPublicRoom (line 18) | func EnterPublicRoom(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/enter_room.go function EnterRoom (line 10) | func EnterRoom(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/get_server_info.go function GetServerInfo (line 10) | func GetServerInfo(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/is_room_running.go function IsRoomRunning (line 10) | func IsRoomRunning(w http.ResponseWriter, r *http.Request) { FILE: game/controllers/ping.go function Ping (line 10) | func Ping(w http.ResponseWriter, r *http.Request) { FILE: game/main/config.go function initConf (line 9) | func initConf() (err error) { FILE: game/main/init.go function conversionLogLevel (line 10) | func conversionLogLevel(logLevel string) int { function initLogger (line 24) | func initLogger() (err error) { function initSec (line 37) | func initSec() (err error) { FILE: game/main/main.go function main (line 18) | func main() { FILE: game/router/router.go function init (line 9) | func init() { FILE: game/service/client.go constant writeWait (line 21) | writeWait = 1 * time.Second constant pongWait (line 22) | pongWait = 60 * time.Second constant pingPeriod (line 23) | pingPeriod = (pongWait * 9) / 10 constant maxMessageSize (line 24) | maxMessageSize = 512 type Client (line 38) | type Client struct method sendMsg (line 80) | func (c *Client) sendMsg(msg []byte) { method sendToClient (line 87) | func (c *Client) sendToClient(data []interface{}) { method sendToOthers (line 96) | func (c *Client) sendToOthers(data []interface{}) { method writePump (line 110) | func (c *Client) writePump() { method readPump (line 162) | func (c *Client) readPump() { method Fire (line 236) | func (c *Client) Fire(bullet *Bullet) { method catchFish (line 257) | func (c *Client) catchFish(fishId FishId, bulletId BulletId) { method frozenScene (line 323) | func (c *Client) frozenScene(startTime time.Time) { //冰冻屏幕 method exitRoom (line 337) | func (c *Client) exitRoom() { method clearBill (line 342) | func (c *Client) clearBill() { type UserId (line 46) | type UserId type UserInfo (line 48) | type UserInfo struct type BulletId (line 65) | type BulletId type Bullet (line 66) | type Bullet struct type catchFishReq (line 75) | type catchFishReq struct function ServeWs (line 211) | func ServeWs(w http.ResponseWriter, r *http.Request) { FILE: game/service/define.go constant GameBaseScore (line 192) | GameBaseScore = 1 constant MinHaveScore (line 194) | MinHaveScore = 1 constant MaxHaveScore (line 196) | MaxHaveScore = 100 constant TaxRatio (line 198) | TaxRatio = 5 function LoadTraceFile (line 203) | func LoadTraceFile(path string) (err error) { function getPathMap (line 238) | func getPathMap(id int) [][][]int { FILE: game/service/fish_utils.go type FishUtil (line 9) | type FishUtil struct method GenerateFishId (line 46) | func (p *FishUtil) GenerateFishId() FishId { method BuildFishTrace (line 51) | func (p *FishUtil) BuildFishTrace() { method AddFish (line 162) | func (p *FishUtil) AddFish(fishKind int, trace [][]int, fishId FishId) { type FishId (line 19) | type FishId type Fish (line 22) | type Fish struct type ArrayFish (line 32) | type ArrayFish struct type FishArrayRet (line 39) | type FishArrayRet struct function BuildFishArray (line 183) | func BuildFishArray() (ret *FishArrayRet) { function IsHit (line 275) | func IsHit(f *Fish) bool { function GetFishMulti (line 283) | func GetFishMulti(fish *Fish) int { function GetBulletMulti (line 292) | func GetBulletMulti(BulletKind int) int { FILE: game/service/request.go type UserLockFishReq (line 16) | type UserLockFishReq struct type LaserCatchReq (line 22) | type LaserCatchReq struct type UserFireLaserReq (line 29) | type UserFireLaserReq struct function wsRequest (line 39) | func wsRequest(req []byte, client *Client) { function handleUserRequest (line 110) | func handleUserRequest(clientReq *clientReqData) { function clientExit (line 401) | func clientExit(client *Client, closeClient bool) { FILE: game/service/room.go type roomMgr (line 12) | type roomMgr struct type RoomInfo (line 19) | type RoomInfo struct constant GameStatusWaitBegin (line 35) | GameStatusWaitBegin = iota constant GameStatusFree (line 36) | GameStatusFree constant GameStatusPlay (line 37) | GameStatusPlay constant GameStatusFormation (line 38) | GameStatusFormation constant GameStatusFrozen (line 39) | GameStatusFrozen type RoomId (line 42) | type RoomId type room (line 44) | type room struct method EnterRoom (line 134) | func (room *room) EnterRoom(userInfo *UserInfo) (err error) { method begin (line 162) | func (room *room) begin() { method flushFish (line 233) | func (room *room) flushFish() { method buildFormation (line 255) | func (room *room) buildFormation() { method getBombFish (line 280) | func (room *room) getBombFish() (killedFishes []*Fish) { method getAllInOne (line 293) | func (room *room) getAllInOne(oneFish *Fish) (killedFishes []*Fish) { method getSameFish (line 303) | func (room *room) getSameFish(oneFish *Fish) (killedFishes []*Fish) { method broadcast (line 327) | func (room *room) broadcast(data []interface{}) { type clientReqData (line 63) | type clientReqData struct type HttpReqData (line 68) | type HttpReqData struct type RoomConf (line 73) | type RoomConf struct function init (line 81) | func init() { function initGenerateUidTool (line 87) | func initGenerateUidTool() (err error) { function CreatePublicRoom (line 95) | func CreatePublicRoom(roomConf *RoomConf) (roomId RoomId) { FILE: hall/common/config.go type HallServiceConf (line 7) | type HallServiceConf struct FILE: hall/controllers/enter_public_room.go function EnterPublicRoom (line 12) | func EnterPublicRoom(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/get_message.go function GetMessage (line 13) | func GetMessage(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/get_server_info.go function GetServerInfo (line 11) | func GetServerInfo(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/get_user_status.go function GetUserStatus (line 14) | func GetUserStatus(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/guest.go function Guest (line 17) | func Guest(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/login.go function Login (line 15) | func Login(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/qq_callback.go type qqUserInfo (line 19) | type qqUserInfo struct function QQCallback (line 43) | func QQCallback(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/qq_login.go function QQLogin (line 13) | func QQLogin(w http.ResponseWriter, r *http.Request) { FILE: hall/controllers/register_game_server.go function RegisterGameServer (line 17) | func RegisterGameServer(w http.ResponseWriter, r *http.Request) { FILE: hall/main/config.go function initConf (line 9) | func initConf() (err error) { FILE: hall/main/init.go function conversionLogLevel (line 9) | func conversionLogLevel(logLevel string) int { function initLogger (line 23) | func initLogger() (err error) { function initSec (line 36) | func initSec() (err error) { FILE: hall/main/main.go function main (line 12) | func main() { FILE: hall/router/router.go function init (line 8) | func init() {