Documentation ¶
Index ¶
- Variables
- type TErrorCode
- type TInternalSessionID
- type TSessionCode
- type TSessionKey
- type TSessionKeyResult_
- func (p *TSessionKeyResult_) GetError() TErrorCode
- func (p *TSessionKeyResult_) GetSession() TSessionKey
- func (p *TSessionKeyResult_) IsSetSession() bool
- func (p *TSessionKeyResult_) Read(iprot thrift.TProtocol) error
- func (p *TSessionKeyResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *TSessionKeyResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *TSessionKeyResult_) String() string
- func (p *TSessionKeyResult_) Write(oprot thrift.TProtocol) error
- type TSimpleSessionService
- type TSimpleSessionServiceClient
- func NewTSimpleSessionServiceClient(c thrift.TClient) *TSimpleSessionServiceClient
- func NewTSimpleSessionServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TSimpleSessionServiceClient
- func NewTSimpleSessionServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TSimpleSessionServiceClient
- type TSimpleSessionServiceGetSessionArgs
- func (p *TSimpleSessionServiceGetSessionArgs) GetSessionKey() TSessionKey
- func (p *TSimpleSessionServiceGetSessionArgs) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionServiceGetSessionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TSimpleSessionServiceGetSessionArgs) String() string
- func (p *TSimpleSessionServiceGetSessionArgs) Write(oprot thrift.TProtocol) error
- type TSimpleSessionServiceGetSessionResult
- func (p *TSimpleSessionServiceGetSessionResult) GetSuccess() *TUserResult_
- func (p *TSimpleSessionServiceGetSessionResult) IsSetSuccess() bool
- func (p *TSimpleSessionServiceGetSessionResult) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionServiceGetSessionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TSimpleSessionServiceGetSessionResult) String() string
- func (p *TSimpleSessionServiceGetSessionResult) Write(oprot thrift.TProtocol) error
- type TSimpleSessionServiceProcessor
- func (p *TSimpleSessionServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *TSimpleSessionServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *TSimpleSessionServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *TSimpleSessionServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type TSimpleSessionService_W
- type TSimpleSessionService_WClient
- func NewTSimpleSessionService_WClient(c thrift.TClient) *TSimpleSessionService_WClient
- func NewTSimpleSessionService_WClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TSimpleSessionService_WClient
- func NewTSimpleSessionService_WClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TSimpleSessionService_WClient
- type TSimpleSessionService_WCreateSessionArgs
- func (p *TSimpleSessionService_WCreateSessionArgs) GetUserInfo() *TUserSessionInfo
- func (p *TSimpleSessionService_WCreateSessionArgs) IsSetUserInfo() bool
- func (p *TSimpleSessionService_WCreateSessionArgs) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WCreateSessionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WCreateSessionArgs) String() string
- func (p *TSimpleSessionService_WCreateSessionArgs) Write(oprot thrift.TProtocol) error
- type TSimpleSessionService_WCreateSessionResult
- func (p *TSimpleSessionService_WCreateSessionResult) GetSuccess() *TSessionKeyResult_
- func (p *TSimpleSessionService_WCreateSessionResult) IsSetSuccess() bool
- func (p *TSimpleSessionService_WCreateSessionResult) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WCreateSessionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WCreateSessionResult) String() string
- func (p *TSimpleSessionService_WCreateSessionResult) Write(oprot thrift.TProtocol) error
- type TSimpleSessionService_WProcessor
- type TSimpleSessionService_WRemoveSessionArgs
- func (p *TSimpleSessionService_WRemoveSessionArgs) GetSessionKey() TSessionKey
- func (p *TSimpleSessionService_WRemoveSessionArgs) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WRemoveSessionArgs) ReadField1(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WRemoveSessionArgs) String() string
- func (p *TSimpleSessionService_WRemoveSessionArgs) Write(oprot thrift.TProtocol) error
- type TSimpleSessionService_WRemoveSessionResult
- func (p *TSimpleSessionService_WRemoveSessionResult) GetSuccess() bool
- func (p *TSimpleSessionService_WRemoveSessionResult) IsSetSuccess() bool
- func (p *TSimpleSessionService_WRemoveSessionResult) Read(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WRemoveSessionResult) ReadField0(iprot thrift.TProtocol) error
- func (p *TSimpleSessionService_WRemoveSessionResult) String() string
- func (p *TSimpleSessionService_WRemoveSessionResult) Write(oprot thrift.TProtocol) error
- type TUID
- type TUserResult_
- func (p *TUserResult_) GetError() TErrorCode
- func (p *TUserResult_) GetUserInfo() *TUserSessionInfo
- func (p *TUserResult_) IsSetUserInfo() bool
- func (p *TUserResult_) Read(iprot thrift.TProtocol) error
- func (p *TUserResult_) ReadField1(iprot thrift.TProtocol) error
- func (p *TUserResult_) ReadField2(iprot thrift.TProtocol) error
- func (p *TUserResult_) String() string
- func (p *TUserResult_) Write(oprot thrift.TProtocol) error
- type TUserRights
- type TUserSessionInfo
- func (p *TUserSessionInfo) GetCode() TSessionCode
- func (p *TUserSessionInfo) GetData() string
- func (p *TUserSessionInfo) GetDeviceInfo() string
- func (p *TUserSessionInfo) GetExpiredTime() int64
- func (p *TUserSessionInfo) GetPermissions() TUserRights
- func (p *TUserSessionInfo) GetUID() TUID
- func (p *TUserSessionInfo) GetVersion() int32
- func (p *TUserSessionInfo) Read(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField1(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField2(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField3(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField4(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField5(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField6(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) ReadField7(iprot thrift.TProtocol) error
- func (p *TUserSessionInfo) String() string
- func (p *TUserSessionInfo) Write(oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var TSimpleSessionService_WRemoveSessionResult_Success_DEFAULT bool
Functions ¶
This section is empty.
Types ¶
type TErrorCode ¶
type TErrorCode int64
const ( TErrorCode_ESuccess TErrorCode = 0 TErrorCode_EFailed TErrorCode = 1 )
func TErrorCodeFromString ¶
func TErrorCodeFromString(s string) (TErrorCode, error)
func TErrorCodePtr ¶
func TErrorCodePtr(v TErrorCode) *TErrorCode
func (TErrorCode) MarshalText ¶
func (p TErrorCode) MarshalText() ([]byte, error)
func (*TErrorCode) Scan ¶
func (p *TErrorCode) Scan(value interface{}) error
func (TErrorCode) String ¶
func (p TErrorCode) String() string
func (*TErrorCode) UnmarshalText ¶
func (p *TErrorCode) UnmarshalText(text []byte) error
type TInternalSessionID ¶
type TInternalSessionID int64
func TInternalSessionIDPtr ¶
func TInternalSessionIDPtr(v TInternalSessionID) *TInternalSessionID
type TSessionCode ¶
type TSessionCode int64
const ( TSessionCode_ENoSession TSessionCode = 0 TSessionCode_EFullRight TSessionCode = 1 TSessionCode_EPartialRight TSessionCode = 2 TSessionCode_ERightExtend100 TSessionCode = 100 TSessionCode_ERightExtend101 TSessionCode = 101 TSessionCode_ERightExtend102 TSessionCode = 102 TSessionCode_ERightExtend103 TSessionCode = 103 TSessionCode_ERightExtend104 TSessionCode = 104 TSessionCode_ERightExtend105 TSessionCode = 105 TSessionCode_ERightExtend106 TSessionCode = 106 TSessionCode_ERightExtend107 TSessionCode = 107 TSessionCode_ERightExtend108 TSessionCode = 108 )
func TSessionCodeFromString ¶
func TSessionCodeFromString(s string) (TSessionCode, error)
func TSessionCodePtr ¶
func TSessionCodePtr(v TSessionCode) *TSessionCode
func (TSessionCode) MarshalText ¶
func (p TSessionCode) MarshalText() ([]byte, error)
func (*TSessionCode) Scan ¶
func (p *TSessionCode) Scan(value interface{}) error
func (TSessionCode) String ¶
func (p TSessionCode) String() string
func (*TSessionCode) UnmarshalText ¶
func (p *TSessionCode) UnmarshalText(text []byte) error
type TSessionKey ¶
type TSessionKey string
var TSessionKeyResult__Session_DEFAULT TSessionKey
func TSessionKeyPtr ¶
func TSessionKeyPtr(v TSessionKey) *TSessionKey
type TSessionKeyResult_ ¶
type TSessionKeyResult_ struct { Error TErrorCode `thrift:"error,1" db:"error" json:"error"` Session *TSessionKey `thrift:"session,2" db:"session" json:"session,omitempty"` }
Attributes:
- Error
- Session
var TSimpleSessionService_WCreateSessionResult_Success_DEFAULT *TSessionKeyResult_
func NewTSessionKeyResult_ ¶
func NewTSessionKeyResult_() *TSessionKeyResult_
func (*TSessionKeyResult_) GetError ¶
func (p *TSessionKeyResult_) GetError() TErrorCode
func (*TSessionKeyResult_) GetSession ¶
func (p *TSessionKeyResult_) GetSession() TSessionKey
func (*TSessionKeyResult_) IsSetSession ¶
func (p *TSessionKeyResult_) IsSetSession() bool
func (*TSessionKeyResult_) ReadField1 ¶
func (p *TSessionKeyResult_) ReadField1(iprot thrift.TProtocol) error
func (*TSessionKeyResult_) ReadField2 ¶
func (p *TSessionKeyResult_) ReadField2(iprot thrift.TProtocol) error
func (*TSessionKeyResult_) String ¶
func (p *TSessionKeyResult_) String() string
type TSimpleSessionService ¶
type TSimpleSessionService interface { // Parameters: // - SessionKey GetSession(ctx context.Context, sessionKey TSessionKey) (r *TUserResult_, err error) }
type TSimpleSessionServiceClient ¶
type TSimpleSessionServiceClient struct {
// contains filtered or unexported fields
}
func NewTSimpleSessionServiceClient ¶
func NewTSimpleSessionServiceClient(c thrift.TClient) *TSimpleSessionServiceClient
func NewTSimpleSessionServiceClientFactory ¶
func NewTSimpleSessionServiceClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TSimpleSessionServiceClient
func NewTSimpleSessionServiceClientProtocol ¶
func NewTSimpleSessionServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TSimpleSessionServiceClient
func (*TSimpleSessionServiceClient) Client_ ¶
func (p *TSimpleSessionServiceClient) Client_() thrift.TClient
func (*TSimpleSessionServiceClient) GetSession ¶
func (p *TSimpleSessionServiceClient) GetSession(ctx context.Context, sessionKey TSessionKey) (r *TUserResult_, err error)
Parameters:
- SessionKey
type TSimpleSessionServiceGetSessionArgs ¶
type TSimpleSessionServiceGetSessionArgs struct {
SessionKey TSessionKey `thrift:"sessionKey,1" db:"sessionKey" json:"sessionKey"`
}
Attributes:
- SessionKey
func NewTSimpleSessionServiceGetSessionArgs ¶
func NewTSimpleSessionServiceGetSessionArgs() *TSimpleSessionServiceGetSessionArgs
func (*TSimpleSessionServiceGetSessionArgs) GetSessionKey ¶
func (p *TSimpleSessionServiceGetSessionArgs) GetSessionKey() TSessionKey
func (*TSimpleSessionServiceGetSessionArgs) Read ¶
func (p *TSimpleSessionServiceGetSessionArgs) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionServiceGetSessionArgs) ReadField1 ¶
func (p *TSimpleSessionServiceGetSessionArgs) ReadField1(iprot thrift.TProtocol) error
func (*TSimpleSessionServiceGetSessionArgs) String ¶
func (p *TSimpleSessionServiceGetSessionArgs) String() string
type TSimpleSessionServiceGetSessionResult ¶
type TSimpleSessionServiceGetSessionResult struct {
Success *TUserResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTSimpleSessionServiceGetSessionResult ¶
func NewTSimpleSessionServiceGetSessionResult() *TSimpleSessionServiceGetSessionResult
func (*TSimpleSessionServiceGetSessionResult) GetSuccess ¶
func (p *TSimpleSessionServiceGetSessionResult) GetSuccess() *TUserResult_
func (*TSimpleSessionServiceGetSessionResult) IsSetSuccess ¶
func (p *TSimpleSessionServiceGetSessionResult) IsSetSuccess() bool
func (*TSimpleSessionServiceGetSessionResult) Read ¶
func (p *TSimpleSessionServiceGetSessionResult) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionServiceGetSessionResult) ReadField0 ¶
func (p *TSimpleSessionServiceGetSessionResult) ReadField0(iprot thrift.TProtocol) error
func (*TSimpleSessionServiceGetSessionResult) String ¶
func (p *TSimpleSessionServiceGetSessionResult) String() string
type TSimpleSessionServiceProcessor ¶
type TSimpleSessionServiceProcessor struct {
// contains filtered or unexported fields
}
func NewTSimpleSessionServiceProcessor ¶
func NewTSimpleSessionServiceProcessor(handler TSimpleSessionService) *TSimpleSessionServiceProcessor
func (*TSimpleSessionServiceProcessor) AddToProcessorMap ¶
func (p *TSimpleSessionServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*TSimpleSessionServiceProcessor) GetProcessorFunction ¶
func (p *TSimpleSessionServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*TSimpleSessionServiceProcessor) Process ¶
func (p *TSimpleSessionServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*TSimpleSessionServiceProcessor) ProcessorMap ¶
func (p *TSimpleSessionServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type TSimpleSessionService_W ¶
type TSimpleSessionService_W interface { TSimpleSessionService // Parameters: // - UserInfo CreateSession(ctx context.Context, userInfo *TUserSessionInfo) (r *TSessionKeyResult_, err error) // Parameters: // - SessionKey RemoveSession(ctx context.Context, sessionKey TSessionKey) (r bool, err error) }
type TSimpleSessionService_WClient ¶
type TSimpleSessionService_WClient struct {
*TSimpleSessionServiceClient
}
func NewTSimpleSessionService_WClient ¶
func NewTSimpleSessionService_WClient(c thrift.TClient) *TSimpleSessionService_WClient
func NewTSimpleSessionService_WClientFactory ¶
func NewTSimpleSessionService_WClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *TSimpleSessionService_WClient
func NewTSimpleSessionService_WClientProtocol ¶
func NewTSimpleSessionService_WClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *TSimpleSessionService_WClient
func (*TSimpleSessionService_WClient) CreateSession ¶
func (p *TSimpleSessionService_WClient) CreateSession(ctx context.Context, userInfo *TUserSessionInfo) (r *TSessionKeyResult_, err error)
Parameters:
- UserInfo
func (*TSimpleSessionService_WClient) RemoveSession ¶
func (p *TSimpleSessionService_WClient) RemoveSession(ctx context.Context, sessionKey TSessionKey) (r bool, err error)
Parameters:
- SessionKey
type TSimpleSessionService_WCreateSessionArgs ¶
type TSimpleSessionService_WCreateSessionArgs struct {
UserInfo *TUserSessionInfo `thrift:"userInfo,1" db:"userInfo" json:"userInfo"`
}
Attributes:
- UserInfo
func NewTSimpleSessionService_WCreateSessionArgs ¶
func NewTSimpleSessionService_WCreateSessionArgs() *TSimpleSessionService_WCreateSessionArgs
func (*TSimpleSessionService_WCreateSessionArgs) GetUserInfo ¶
func (p *TSimpleSessionService_WCreateSessionArgs) GetUserInfo() *TUserSessionInfo
func (*TSimpleSessionService_WCreateSessionArgs) IsSetUserInfo ¶
func (p *TSimpleSessionService_WCreateSessionArgs) IsSetUserInfo() bool
func (*TSimpleSessionService_WCreateSessionArgs) Read ¶
func (p *TSimpleSessionService_WCreateSessionArgs) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WCreateSessionArgs) ReadField1 ¶
func (p *TSimpleSessionService_WCreateSessionArgs) ReadField1(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WCreateSessionArgs) String ¶
func (p *TSimpleSessionService_WCreateSessionArgs) String() string
type TSimpleSessionService_WCreateSessionResult ¶
type TSimpleSessionService_WCreateSessionResult struct {
Success *TSessionKeyResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTSimpleSessionService_WCreateSessionResult ¶
func NewTSimpleSessionService_WCreateSessionResult() *TSimpleSessionService_WCreateSessionResult
func (*TSimpleSessionService_WCreateSessionResult) GetSuccess ¶
func (p *TSimpleSessionService_WCreateSessionResult) GetSuccess() *TSessionKeyResult_
func (*TSimpleSessionService_WCreateSessionResult) IsSetSuccess ¶
func (p *TSimpleSessionService_WCreateSessionResult) IsSetSuccess() bool
func (*TSimpleSessionService_WCreateSessionResult) Read ¶
func (p *TSimpleSessionService_WCreateSessionResult) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WCreateSessionResult) ReadField0 ¶
func (p *TSimpleSessionService_WCreateSessionResult) ReadField0(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WCreateSessionResult) String ¶
func (p *TSimpleSessionService_WCreateSessionResult) String() string
type TSimpleSessionService_WProcessor ¶
type TSimpleSessionService_WProcessor struct {
*TSimpleSessionServiceProcessor
}
func NewTSimpleSessionService_WProcessor ¶
func NewTSimpleSessionService_WProcessor(handler TSimpleSessionService_W) *TSimpleSessionService_WProcessor
type TSimpleSessionService_WRemoveSessionArgs ¶
type TSimpleSessionService_WRemoveSessionArgs struct {
SessionKey TSessionKey `thrift:"sessionKey,1" db:"sessionKey" json:"sessionKey"`
}
Attributes:
- SessionKey
func NewTSimpleSessionService_WRemoveSessionArgs ¶
func NewTSimpleSessionService_WRemoveSessionArgs() *TSimpleSessionService_WRemoveSessionArgs
func (*TSimpleSessionService_WRemoveSessionArgs) GetSessionKey ¶
func (p *TSimpleSessionService_WRemoveSessionArgs) GetSessionKey() TSessionKey
func (*TSimpleSessionService_WRemoveSessionArgs) Read ¶
func (p *TSimpleSessionService_WRemoveSessionArgs) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WRemoveSessionArgs) ReadField1 ¶
func (p *TSimpleSessionService_WRemoveSessionArgs) ReadField1(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WRemoveSessionArgs) String ¶
func (p *TSimpleSessionService_WRemoveSessionArgs) String() string
type TSimpleSessionService_WRemoveSessionResult ¶
type TSimpleSessionService_WRemoveSessionResult struct {
Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewTSimpleSessionService_WRemoveSessionResult ¶
func NewTSimpleSessionService_WRemoveSessionResult() *TSimpleSessionService_WRemoveSessionResult
func (*TSimpleSessionService_WRemoveSessionResult) GetSuccess ¶
func (p *TSimpleSessionService_WRemoveSessionResult) GetSuccess() bool
func (*TSimpleSessionService_WRemoveSessionResult) IsSetSuccess ¶
func (p *TSimpleSessionService_WRemoveSessionResult) IsSetSuccess() bool
func (*TSimpleSessionService_WRemoveSessionResult) Read ¶
func (p *TSimpleSessionService_WRemoveSessionResult) Read(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WRemoveSessionResult) ReadField0 ¶
func (p *TSimpleSessionService_WRemoveSessionResult) ReadField0(iprot thrift.TProtocol) error
func (*TSimpleSessionService_WRemoveSessionResult) String ¶
func (p *TSimpleSessionService_WRemoveSessionResult) String() string
type TUserResult_ ¶
type TUserResult_ struct { Error TErrorCode `thrift:"error,1,required" db:"error" json:"error"` UserInfo *TUserSessionInfo `thrift:"userInfo,2" db:"userInfo" json:"userInfo,omitempty"` }
Attributes:
- Error
- UserInfo
var TSimpleSessionServiceGetSessionResult_Success_DEFAULT *TUserResult_
func NewTUserResult_ ¶
func NewTUserResult_() *TUserResult_
func (*TUserResult_) GetError ¶
func (p *TUserResult_) GetError() TErrorCode
func (*TUserResult_) GetUserInfo ¶
func (p *TUserResult_) GetUserInfo() *TUserSessionInfo
func (*TUserResult_) IsSetUserInfo ¶
func (p *TUserResult_) IsSetUserInfo() bool
func (*TUserResult_) ReadField1 ¶
func (p *TUserResult_) ReadField1(iprot thrift.TProtocol) error
func (*TUserResult_) ReadField2 ¶
func (p *TUserResult_) ReadField2(iprot thrift.TProtocol) error
func (*TUserResult_) String ¶
func (p *TUserResult_) String() string
type TUserRights ¶
type TUserRights string
func TUserRightsPtr ¶
func TUserRightsPtr(v TUserRights) *TUserRights
type TUserSessionInfo ¶
type TUserSessionInfo struct { Code TSessionCode `thrift:"code,1" db:"code" json:"code"` UID TUID `thrift:"uid,2" db:"uid" json:"uid"` Permissions TUserRights `thrift:"permissions,3" db:"permissions" json:"permissions"` DeviceInfo string `thrift:"deviceInfo,4" db:"deviceInfo" json:"deviceInfo"` Data string `thrift:"data,5" db:"data" json:"data"` ExpiredTime int64 `thrift:"expiredTime,6" db:"expiredTime" json:"expiredTime"` Version int32 `thrift:"version,7" db:"version" json:"version"` }
Attributes:
- Code
- UID
- Permissions
- DeviceInfo
- Data
- ExpiredTime
- Version
var TSimpleSessionService_WCreateSessionArgs_UserInfo_DEFAULT *TUserSessionInfo
var TUserResult__UserInfo_DEFAULT *TUserSessionInfo
func NewTUserSessionInfo ¶
func NewTUserSessionInfo() *TUserSessionInfo
func (*TUserSessionInfo) GetCode ¶
func (p *TUserSessionInfo) GetCode() TSessionCode
func (*TUserSessionInfo) GetData ¶
func (p *TUserSessionInfo) GetData() string
func (*TUserSessionInfo) GetDeviceInfo ¶
func (p *TUserSessionInfo) GetDeviceInfo() string
func (*TUserSessionInfo) GetExpiredTime ¶
func (p *TUserSessionInfo) GetExpiredTime() int64
func (*TUserSessionInfo) GetPermissions ¶
func (p *TUserSessionInfo) GetPermissions() TUserRights
func (*TUserSessionInfo) GetUID ¶
func (p *TUserSessionInfo) GetUID() TUID
func (*TUserSessionInfo) GetVersion ¶
func (p *TUserSessionInfo) GetVersion() int32
func (*TUserSessionInfo) ReadField1 ¶
func (p *TUserSessionInfo) ReadField1(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField2 ¶
func (p *TUserSessionInfo) ReadField2(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField3 ¶
func (p *TUserSessionInfo) ReadField3(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField4 ¶
func (p *TUserSessionInfo) ReadField4(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField5 ¶
func (p *TUserSessionInfo) ReadField5(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField6 ¶
func (p *TUserSessionInfo) ReadField6(iprot thrift.TProtocol) error
func (*TUserSessionInfo) ReadField7 ¶
func (p *TUserSessionInfo) ReadField7(iprot thrift.TProtocol) error
func (*TUserSessionInfo) String ¶
func (p *TUserSessionInfo) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.