Documentation
¶
Index ¶
- Variables
- type Level
- type Phigros
- type PhigrosBest19Args
- func (p *PhigrosBest19Args) GetSaveUrl() string
- func (p *PhigrosBest19Args) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBest19Args) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBest19Args) String() string
- func (p *PhigrosBest19Args) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosBest19Result
- func (p *PhigrosBest19Result) GetSuccess() []*SongLevel
- func (p *PhigrosBest19Result) IsSetSuccess() bool
- func (p *PhigrosBest19Result) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBest19Result) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBest19Result) String() string
- func (p *PhigrosBest19Result) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosBestnArgs
- func (p *PhigrosBestnArgs) GetNum() int8
- func (p *PhigrosBestnArgs) GetSaveUrl() string
- func (p *PhigrosBestnArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBestnArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBestnArgs) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBestnArgs) String() string
- func (p *PhigrosBestnArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosBestnResult
- func (p *PhigrosBestnResult) GetSuccess() []*SongLevel
- func (p *PhigrosBestnResult) IsSetSuccess() bool
- func (p *PhigrosBestnResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBestnResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosBestnResult) String() string
- func (p *PhigrosBestnResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosClient
- func (p *PhigrosClient) Best19(ctx context.Context, saveUrl string) (_r []*SongLevel, _err error)
- func (p *PhigrosClient) Bestn(ctx context.Context, saveUrl string, num int8) (_r []*SongLevel, _err error)
- func (p *PhigrosClient) Client_() thrift.TClient
- func (p *PhigrosClient) GetSaveUrl(ctx context.Context, sessionToken string) (_r *Summary, _err error)
- func (p *PhigrosClient) LastResponseMeta_() thrift.ResponseMeta
- func (p *PhigrosClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
- func (p *PhigrosClient) SongExpects(ctx context.Context, saveUrl string) (_r []*SongExpect, _err error)
- type PhigrosGetSaveUrlArgs
- func (p *PhigrosGetSaveUrlArgs) GetSessionToken() string
- func (p *PhigrosGetSaveUrlArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosGetSaveUrlArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosGetSaveUrlArgs) String() string
- func (p *PhigrosGetSaveUrlArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosGetSaveUrlResult
- func (p *PhigrosGetSaveUrlResult) GetSuccess() *Summary
- func (p *PhigrosGetSaveUrlResult) IsSetSuccess() bool
- func (p *PhigrosGetSaveUrlResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosGetSaveUrlResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosGetSaveUrlResult) String() string
- func (p *PhigrosGetSaveUrlResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosProcessor
- func (p *PhigrosProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
- func (p *PhigrosProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
- func (p *PhigrosProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
- func (p *PhigrosProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
- type PhigrosSongExpectsArgs
- func (p *PhigrosSongExpectsArgs) GetSaveUrl() string
- func (p *PhigrosSongExpectsArgs) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosSongExpectsArgs) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosSongExpectsArgs) String() string
- func (p *PhigrosSongExpectsArgs) Write(ctx context.Context, oprot thrift.TProtocol) error
- type PhigrosSongExpectsResult
- func (p *PhigrosSongExpectsResult) GetSuccess() []*SongExpect
- func (p *PhigrosSongExpectsResult) IsSetSuccess() bool
- func (p *PhigrosSongExpectsResult) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosSongExpectsResult) ReadField0(ctx context.Context, iprot thrift.TProtocol) error
- func (p *PhigrosSongExpectsResult) String() string
- func (p *PhigrosSongExpectsResult) Write(ctx context.Context, oprot thrift.TProtocol) error
- type SongExpect
- func (p *SongExpect) Equals(other *SongExpect) bool
- func (p *SongExpect) GetAcc() float64
- func (p *SongExpect) GetExpect() float64
- func (p *SongExpect) GetID() string
- func (p *SongExpect) GetLevel() Level
- func (p *SongExpect) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongExpect) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongExpect) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongExpect) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongExpect) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongExpect) String() string
- func (p *SongExpect) Validate() error
- func (p *SongExpect) Write(ctx context.Context, oprot thrift.TProtocol) error
- type SongLevel
- func (p *SongLevel) Equals(other *SongLevel) bool
- func (p *SongLevel) GetA() float64
- func (p *SongLevel) GetC() bool
- func (p *SongLevel) GetDifficulty() float64
- func (p *SongLevel) GetID() string
- func (p *SongLevel) GetLevel() Level
- func (p *SongLevel) GetRks() float64
- func (p *SongLevel) GetS() int32
- func (p *SongLevel) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) ReadField7(ctx context.Context, iprot thrift.TProtocol) error
- func (p *SongLevel) String() string
- func (p *SongLevel) Validate() error
- func (p *SongLevel) Write(ctx context.Context, oprot thrift.TProtocol) error
- type Summary
- func (p *Summary) Equals(other *Summary) bool
- func (p *Summary) GetAvatar() string
- func (p *Summary) GetChallenge() int16
- func (p *Summary) GetGameVersion() int8
- func (p *Summary) GetRks() float64
- func (p *Summary) GetSaveUrl() string
- func (p *Summary) GetSaveVersion() int8
- func (p *Summary) Read(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField1(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField2(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField3(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField4(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField5(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) ReadField6(ctx context.Context, iprot thrift.TProtocol) error
- func (p *Summary) String() string
- func (p *Summary) Validate() error
- func (p *Summary) Write(ctx context.Context, oprot thrift.TProtocol) error
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
View Source
var PhigrosBest19Result_Success_DEFAULT []*SongLevel
View Source
var PhigrosBestnResult_Success_DEFAULT []*SongLevel
View Source
var PhigrosSongExpectsResult_Success_DEFAULT []*SongExpect
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level int64
func LevelFromString ¶
func (Level) MarshalText ¶
func (*Level) UnmarshalText ¶
type Phigros ¶
type Phigros interface { // Parameters: // - SessionToken GetSaveUrl(ctx context.Context, sessionToken string) (_r *Summary, _err error) // Parameters: // - SaveUrl Best19(ctx context.Context, saveUrl string) (_r []*SongLevel, _err error) // Parameters: // - SaveUrl // - Num Bestn(ctx context.Context, saveUrl string, num int8) (_r []*SongLevel, _err error) // Parameters: // - SaveUrl SongExpects(ctx context.Context, saveUrl string) (_r []*SongExpect, _err error) }
type PhigrosBest19Args ¶
type PhigrosBest19Args struct {
SaveUrl string `thrift:"saveUrl,1" db:"saveUrl" json:"saveUrl"`
}
Attributes:
- SaveUrl
func NewPhigrosBest19Args ¶
func NewPhigrosBest19Args() *PhigrosBest19Args
func (*PhigrosBest19Args) GetSaveUrl ¶
func (p *PhigrosBest19Args) GetSaveUrl() string
func (*PhigrosBest19Args) ReadField1 ¶
func (*PhigrosBest19Args) String ¶
func (p *PhigrosBest19Args) String() string
type PhigrosBest19Result ¶
type PhigrosBest19Result struct {
Success []*SongLevel `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPhigrosBest19Result ¶
func NewPhigrosBest19Result() *PhigrosBest19Result
func (*PhigrosBest19Result) GetSuccess ¶
func (p *PhigrosBest19Result) GetSuccess() []*SongLevel
func (*PhigrosBest19Result) IsSetSuccess ¶
func (p *PhigrosBest19Result) IsSetSuccess() bool
func (*PhigrosBest19Result) ReadField0 ¶
func (*PhigrosBest19Result) String ¶
func (p *PhigrosBest19Result) String() string
type PhigrosBestnArgs ¶
type PhigrosBestnArgs struct { SaveUrl string `thrift:"saveUrl,1" db:"saveUrl" json:"saveUrl"` Num int8 `thrift:"num,2" db:"num" json:"num"` }
Attributes:
- SaveUrl
- Num
func NewPhigrosBestnArgs ¶
func NewPhigrosBestnArgs() *PhigrosBestnArgs
func (*PhigrosBestnArgs) GetNum ¶
func (p *PhigrosBestnArgs) GetNum() int8
func (*PhigrosBestnArgs) GetSaveUrl ¶
func (p *PhigrosBestnArgs) GetSaveUrl() string
func (*PhigrosBestnArgs) ReadField1 ¶
func (*PhigrosBestnArgs) ReadField2 ¶
func (*PhigrosBestnArgs) String ¶
func (p *PhigrosBestnArgs) String() string
type PhigrosBestnResult ¶
type PhigrosBestnResult struct {
Success []*SongLevel `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPhigrosBestnResult ¶
func NewPhigrosBestnResult() *PhigrosBestnResult
func (*PhigrosBestnResult) GetSuccess ¶
func (p *PhigrosBestnResult) GetSuccess() []*SongLevel
func (*PhigrosBestnResult) IsSetSuccess ¶
func (p *PhigrosBestnResult) IsSetSuccess() bool
func (*PhigrosBestnResult) ReadField0 ¶
func (*PhigrosBestnResult) String ¶
func (p *PhigrosBestnResult) String() string
type PhigrosClient ¶
type PhigrosClient struct {
// contains filtered or unexported fields
}
func NewPhigrosClient ¶
func NewPhigrosClient(c thrift.TClient) *PhigrosClient
func NewPhigrosClientFactory ¶
func NewPhigrosClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *PhigrosClient
func NewPhigrosClientProtocol ¶
func NewPhigrosClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *PhigrosClient
func (*PhigrosClient) Bestn ¶
func (p *PhigrosClient) Bestn(ctx context.Context, saveUrl string, num int8) (_r []*SongLevel, _err error)
Parameters:
- SaveUrl
- Num
func (*PhigrosClient) Client_ ¶
func (p *PhigrosClient) Client_() thrift.TClient
func (*PhigrosClient) GetSaveUrl ¶
func (p *PhigrosClient) GetSaveUrl(ctx context.Context, sessionToken string) (_r *Summary, _err error)
Parameters:
- SessionToken
func (*PhigrosClient) LastResponseMeta_ ¶
func (p *PhigrosClient) LastResponseMeta_() thrift.ResponseMeta
func (*PhigrosClient) SetLastResponseMeta_ ¶
func (p *PhigrosClient) SetLastResponseMeta_(meta thrift.ResponseMeta)
func (*PhigrosClient) SongExpects ¶
func (p *PhigrosClient) SongExpects(ctx context.Context, saveUrl string) (_r []*SongExpect, _err error)
Parameters:
- SaveUrl
type PhigrosGetSaveUrlArgs ¶
type PhigrosGetSaveUrlArgs struct {
SessionToken string `thrift:"sessionToken,1" db:"sessionToken" json:"sessionToken"`
}
Attributes:
- SessionToken
func NewPhigrosGetSaveUrlArgs ¶
func NewPhigrosGetSaveUrlArgs() *PhigrosGetSaveUrlArgs
func (*PhigrosGetSaveUrlArgs) GetSessionToken ¶
func (p *PhigrosGetSaveUrlArgs) GetSessionToken() string
func (*PhigrosGetSaveUrlArgs) ReadField1 ¶
func (*PhigrosGetSaveUrlArgs) String ¶
func (p *PhigrosGetSaveUrlArgs) String() string
type PhigrosGetSaveUrlResult ¶
type PhigrosGetSaveUrlResult struct {
Success *Summary `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPhigrosGetSaveUrlResult ¶
func NewPhigrosGetSaveUrlResult() *PhigrosGetSaveUrlResult
func (*PhigrosGetSaveUrlResult) GetSuccess ¶
func (p *PhigrosGetSaveUrlResult) GetSuccess() *Summary
func (*PhigrosGetSaveUrlResult) IsSetSuccess ¶
func (p *PhigrosGetSaveUrlResult) IsSetSuccess() bool
func (*PhigrosGetSaveUrlResult) ReadField0 ¶
func (*PhigrosGetSaveUrlResult) String ¶
func (p *PhigrosGetSaveUrlResult) String() string
type PhigrosProcessor ¶
type PhigrosProcessor struct {
// contains filtered or unexported fields
}
func NewPhigrosProcessor ¶
func NewPhigrosProcessor(handler Phigros) *PhigrosProcessor
func (*PhigrosProcessor) AddToProcessorMap ¶
func (p *PhigrosProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)
func (*PhigrosProcessor) GetProcessorFunction ¶
func (p *PhigrosProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)
func (*PhigrosProcessor) Process ¶
func (p *PhigrosProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)
func (*PhigrosProcessor) ProcessorMap ¶
func (p *PhigrosProcessor) ProcessorMap() map[string]thrift.TProcessorFunction
type PhigrosSongExpectsArgs ¶
type PhigrosSongExpectsArgs struct {
SaveUrl string `thrift:"saveUrl,1" db:"saveUrl" json:"saveUrl"`
}
Attributes:
- SaveUrl
func NewPhigrosSongExpectsArgs ¶
func NewPhigrosSongExpectsArgs() *PhigrosSongExpectsArgs
func (*PhigrosSongExpectsArgs) GetSaveUrl ¶
func (p *PhigrosSongExpectsArgs) GetSaveUrl() string
func (*PhigrosSongExpectsArgs) ReadField1 ¶
func (*PhigrosSongExpectsArgs) String ¶
func (p *PhigrosSongExpectsArgs) String() string
type PhigrosSongExpectsResult ¶
type PhigrosSongExpectsResult struct {
Success []*SongExpect `thrift:"success,0" db:"success" json:"success,omitempty"`
}
Attributes:
- Success
func NewPhigrosSongExpectsResult ¶
func NewPhigrosSongExpectsResult() *PhigrosSongExpectsResult
func (*PhigrosSongExpectsResult) GetSuccess ¶
func (p *PhigrosSongExpectsResult) GetSuccess() []*SongExpect
func (*PhigrosSongExpectsResult) IsSetSuccess ¶
func (p *PhigrosSongExpectsResult) IsSetSuccess() bool
func (*PhigrosSongExpectsResult) ReadField0 ¶
func (*PhigrosSongExpectsResult) String ¶
func (p *PhigrosSongExpectsResult) String() string
type SongExpect ¶
type SongExpect struct { ID string `thrift:"id,1,required" db:"id" json:"id"` Level Level `thrift:"level,2,required" db:"level" json:"level"` Acc float64 `thrift:"acc,3,required" db:"acc" json:"acc"` Expect float64 `thrift:"expect,4,required" db:"expect" json:"expect"` }
Attributes:
- ID
- Level
- Acc
- Expect
func NewSongExpect ¶
func NewSongExpect() *SongExpect
func (*SongExpect) Equals ¶
func (p *SongExpect) Equals(other *SongExpect) bool
func (*SongExpect) GetAcc ¶
func (p *SongExpect) GetAcc() float64
func (*SongExpect) GetExpect ¶
func (p *SongExpect) GetExpect() float64
func (*SongExpect) GetID ¶
func (p *SongExpect) GetID() string
func (*SongExpect) GetLevel ¶
func (p *SongExpect) GetLevel() Level
func (*SongExpect) ReadField1 ¶
func (*SongExpect) ReadField2 ¶
func (*SongExpect) ReadField3 ¶
func (*SongExpect) ReadField4 ¶
func (*SongExpect) String ¶
func (p *SongExpect) String() string
func (*SongExpect) Validate ¶
func (p *SongExpect) Validate() error
type SongLevel ¶
type SongLevel struct { ID string `thrift:"id,1,required" db:"id" json:"id"` Level Level `thrift:"level,2,required" db:"level" json:"level"` S int32 `thrift:"s,3,required" db:"s" json:"s"` A float64 `thrift:"a,4,required" db:"a" json:"a"` C bool `thrift:"c,5,required" db:"c" json:"c"` Difficulty float64 `thrift:"difficulty,6,required" db:"difficulty" json:"difficulty"` Rks float64 `thrift:"rks,7,required" db:"rks" json:"rks"` }
Attributes:
- ID
- Level
- S
- A
- C
- Difficulty
- Rks
func NewSongLevel ¶
func NewSongLevel() *SongLevel
func (*SongLevel) GetDifficulty ¶
func (*SongLevel) ReadField1 ¶
func (*SongLevel) ReadField2 ¶
func (*SongLevel) ReadField3 ¶
func (*SongLevel) ReadField4 ¶
func (*SongLevel) ReadField5 ¶
func (*SongLevel) ReadField6 ¶
func (*SongLevel) ReadField7 ¶
type Summary ¶
type Summary struct { SaveUrl string `thrift:"saveUrl,1,required" db:"saveUrl" json:"saveUrl"` SaveVersion int8 `thrift:"saveVersion,2,required" db:"saveVersion" json:"saveVersion"` Challenge int16 `thrift:"challenge,3,required" db:"challenge" json:"challenge"` Rks float64 `thrift:"rks,4,required" db:"rks" json:"rks"` GameVersion int8 `thrift:"gameVersion,5,required" db:"gameVersion" json:"gameVersion"` Avatar string `thrift:"avatar,6,required" db:"avatar" json:"avatar"` }
Attributes:
- SaveUrl
- SaveVersion
- Challenge
- Rks
- GameVersion
- Avatar
var PhigrosGetSaveUrlResult_Success_DEFAULT *Summary
func NewSummary ¶
func NewSummary() *Summary
func (*Summary) GetChallenge ¶
func (*Summary) GetGameVersion ¶
func (*Summary) GetSaveUrl ¶
func (*Summary) GetSaveVersion ¶
func (*Summary) ReadField1 ¶
func (*Summary) ReadField2 ¶
func (*Summary) ReadField3 ¶
func (*Summary) ReadField4 ¶
func (*Summary) ReadField5 ¶
func (*Summary) ReadField6 ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.