Documentation ¶
Index ¶
- Variables
- type GameRec
- type GameRecClient
- func (p *GameRecClient) MultipleGameMetaRec(userId string, requests []*MetaRequest, params map[string]string) (r map[MetaType]string, err error)
- func (p *GameRecClient) PersonalGamePortal(userId string, count int32, params map[string]string) (r string, err error)
- func (p *GameRecClient) PersonalGamePortalByMd5(userId string, count int32, params map[string]string) (r string, err error)
- func (p *GameRecClient) PersonalGameStatic(userId string, count int32, params map[string]string) (r string, err error)
- func (p *GameRecClient) PersonalGameStaticByMd5(userId string, count int32, params map[string]string) (r string, err error)
- func (p *GameRecClient) SimilarGame(key string, count int32, params string) (r string, err error)
- func (p *GameRecClient) SubjectGame(userId string, count int32, gameCount int32, params map[string]string) (r string, err error)
- type GameRecProcessor
- type MetaRequest
- type MetaType
- type MultipleGameMetaRecArgs
- type MultipleGameMetaRecResult
- type PersonalGamePortalArgs
- type PersonalGamePortalByMd5Args
- type PersonalGamePortalByMd5Result
- type PersonalGamePortalResult
- type PersonalGameStaticArgs
- type PersonalGameStaticByMd5Args
- type PersonalGameStaticByMd5Result
- type PersonalGameStaticResult
- type SimilarGameArgs
- type SimilarGameResult
- type SubjectGameArgs
- type SubjectGameResult
Constants ¶
This section is empty.
Variables ¶
View Source
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type GameRec ¶
type GameRec interface { miliaoshared.MiliaoSharedService // Parameters: // - Key // - Count // - Params SimilarGame(key string, count int32, params string) (r string, err error) // Parameters: // - UserId // - Count // - Params PersonalGamePortal(userId string, count int32, params map[string]string) (r string, err error) // Parameters: // - UserId // - Count // - Params PersonalGameStatic(userId string, count int32, params map[string]string) (r string, err error) // Parameters: // - UserId // - Count // - Params PersonalGamePortalByMd5(userId string, count int32, params map[string]string) (r string, err error) // Parameters: // - UserId // - Count // - Params PersonalGameStaticByMd5(userId string, count int32, params map[string]string) (r string, err error) // Parameters: // - UserId // - Count // - GameCount // - Params SubjectGame(userId string, count int32, gameCount int32, params map[string]string) (r string, err error) // Parameters: // - UserId // - Requests // - Params MultipleGameMetaRec(userId string, requests []*MetaRequest, params map[string]string) (r map[MetaType]string, err error) }
type GameRecClient ¶
type GameRecClient struct {
}func NewGameRecClientFactory ¶
func NewGameRecClientFactory(t thrift.TTransport, f thrift.TProtocolFactory) *GameRecClient
func NewGameRecClientProtocol ¶
func NewGameRecClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *GameRecClient
func (*GameRecClient) MultipleGameMetaRec ¶
func (p *GameRecClient) MultipleGameMetaRec(userId string, requests []*MetaRequest, params map[string]string) (r map[MetaType]string, err error)
Parameters:
- UserId
- Requests
- Params
func (*GameRecClient) PersonalGamePortal ¶
func (p *GameRecClient) PersonalGamePortal(userId string, count int32, params map[string]string) (r string, err error)
Parameters:
- UserId
- Count
- Params
func (*GameRecClient) PersonalGamePortalByMd5 ¶
func (p *GameRecClient) PersonalGamePortalByMd5(userId string, count int32, params map[string]string) (r string, err error)
Parameters:
- UserId
- Count
- Params
func (*GameRecClient) PersonalGameStatic ¶
func (p *GameRecClient) PersonalGameStatic(userId string, count int32, params map[string]string) (r string, err error)
Parameters:
- UserId
- Count
- Params
func (*GameRecClient) PersonalGameStaticByMd5 ¶
func (p *GameRecClient) PersonalGameStaticByMd5(userId string, count int32, params map[string]string) (r string, err error)
Parameters:
- UserId
- Count
- Params
func (*GameRecClient) SubjectGame ¶
func (p *GameRecClient) SubjectGame(userId string, count int32, gameCount int32, params map[string]string) (r string, err error)
Parameters:
- UserId
- Count
- GameCount
- Params
type GameRecProcessor ¶
type GameRecProcessor struct {
}func NewGameRecProcessor ¶
func NewGameRecProcessor(handler GameRec) *GameRecProcessor
type MetaRequest ¶
func NewMetaRequest ¶
func NewMetaRequest() *MetaRequest
func (*MetaRequest) IsSetTypeA1 ¶
func (p *MetaRequest) IsSetTypeA1() bool
func (*MetaRequest) String ¶
func (p *MetaRequest) String() string
type MultipleGameMetaRecArgs ¶
type MultipleGameMetaRecArgs struct { UserId string `thrift:"userId,1"` Requests []*MetaRequest `thrift:"requests,2"` Params map[string]string `thrift:"params,3"` }
func NewMultipleGameMetaRecArgs ¶
func NewMultipleGameMetaRecArgs() *MultipleGameMetaRecArgs
func (*MultipleGameMetaRecArgs) Read ¶
func (p *MultipleGameMetaRecArgs) Read(iprot thrift.TProtocol) error
func (*MultipleGameMetaRecArgs) String ¶
func (p *MultipleGameMetaRecArgs) String() string
type MultipleGameMetaRecResult ¶
func NewMultipleGameMetaRecResult ¶
func NewMultipleGameMetaRecResult() *MultipleGameMetaRecResult
func (*MultipleGameMetaRecResult) Read ¶
func (p *MultipleGameMetaRecResult) Read(iprot thrift.TProtocol) error
func (*MultipleGameMetaRecResult) String ¶
func (p *MultipleGameMetaRecResult) String() string
type PersonalGamePortalArgs ¶
type PersonalGamePortalArgs struct { UserId string `thrift:"userId,1"` Count int32 `thrift:"count,2"` Params map[string]string `thrift:"params,3"` }
func NewPersonalGamePortalArgs ¶
func NewPersonalGamePortalArgs() *PersonalGamePortalArgs
func (*PersonalGamePortalArgs) Read ¶
func (p *PersonalGamePortalArgs) Read(iprot thrift.TProtocol) error
func (*PersonalGamePortalArgs) String ¶
func (p *PersonalGamePortalArgs) String() string
type PersonalGamePortalByMd5Args ¶
type PersonalGamePortalByMd5Args struct { UserId string `thrift:"userId,1"` Count int32 `thrift:"count,2"` Params map[string]string `thrift:"params,3"` }
func NewPersonalGamePortalByMd5Args ¶
func NewPersonalGamePortalByMd5Args() *PersonalGamePortalByMd5Args
func (*PersonalGamePortalByMd5Args) Read ¶
func (p *PersonalGamePortalByMd5Args) Read(iprot thrift.TProtocol) error
func (*PersonalGamePortalByMd5Args) String ¶
func (p *PersonalGamePortalByMd5Args) String() string
type PersonalGamePortalByMd5Result ¶
type PersonalGamePortalByMd5Result struct {
Success string `thrift:"success,0"`
}
func NewPersonalGamePortalByMd5Result ¶
func NewPersonalGamePortalByMd5Result() *PersonalGamePortalByMd5Result
func (*PersonalGamePortalByMd5Result) Read ¶
func (p *PersonalGamePortalByMd5Result) Read(iprot thrift.TProtocol) error
func (*PersonalGamePortalByMd5Result) String ¶
func (p *PersonalGamePortalByMd5Result) String() string
type PersonalGamePortalResult ¶
type PersonalGamePortalResult struct {
Success string `thrift:"success,0"`
}
func NewPersonalGamePortalResult ¶
func NewPersonalGamePortalResult() *PersonalGamePortalResult
func (*PersonalGamePortalResult) Read ¶
func (p *PersonalGamePortalResult) Read(iprot thrift.TProtocol) error
func (*PersonalGamePortalResult) String ¶
func (p *PersonalGamePortalResult) String() string
type PersonalGameStaticArgs ¶
type PersonalGameStaticArgs struct { UserId string `thrift:"userId,1"` Count int32 `thrift:"count,2"` Params map[string]string `thrift:"params,3"` }
func NewPersonalGameStaticArgs ¶
func NewPersonalGameStaticArgs() *PersonalGameStaticArgs
func (*PersonalGameStaticArgs) Read ¶
func (p *PersonalGameStaticArgs) Read(iprot thrift.TProtocol) error
func (*PersonalGameStaticArgs) String ¶
func (p *PersonalGameStaticArgs) String() string
type PersonalGameStaticByMd5Args ¶
type PersonalGameStaticByMd5Args struct { UserId string `thrift:"userId,1"` Count int32 `thrift:"count,2"` Params map[string]string `thrift:"params,3"` }
func NewPersonalGameStaticByMd5Args ¶
func NewPersonalGameStaticByMd5Args() *PersonalGameStaticByMd5Args
func (*PersonalGameStaticByMd5Args) Read ¶
func (p *PersonalGameStaticByMd5Args) Read(iprot thrift.TProtocol) error
func (*PersonalGameStaticByMd5Args) String ¶
func (p *PersonalGameStaticByMd5Args) String() string
type PersonalGameStaticByMd5Result ¶
type PersonalGameStaticByMd5Result struct {
Success string `thrift:"success,0"`
}
func NewPersonalGameStaticByMd5Result ¶
func NewPersonalGameStaticByMd5Result() *PersonalGameStaticByMd5Result
func (*PersonalGameStaticByMd5Result) Read ¶
func (p *PersonalGameStaticByMd5Result) Read(iprot thrift.TProtocol) error
func (*PersonalGameStaticByMd5Result) String ¶
func (p *PersonalGameStaticByMd5Result) String() string
type PersonalGameStaticResult ¶
type PersonalGameStaticResult struct {
Success string `thrift:"success,0"`
}
func NewPersonalGameStaticResult ¶
func NewPersonalGameStaticResult() *PersonalGameStaticResult
func (*PersonalGameStaticResult) Read ¶
func (p *PersonalGameStaticResult) Read(iprot thrift.TProtocol) error
func (*PersonalGameStaticResult) String ¶
func (p *PersonalGameStaticResult) String() string
type SimilarGameArgs ¶
type SimilarGameArgs struct { Key string `thrift:"key,1"` Count int32 `thrift:"count,2"` Params string `thrift:"params,3"` }
func NewSimilarGameArgs ¶
func NewSimilarGameArgs() *SimilarGameArgs
func (*SimilarGameArgs) String ¶
func (p *SimilarGameArgs) String() string
type SimilarGameResult ¶
type SimilarGameResult struct {
Success string `thrift:"success,0"`
}
func NewSimilarGameResult ¶
func NewSimilarGameResult() *SimilarGameResult
func (*SimilarGameResult) String ¶
func (p *SimilarGameResult) String() string
type SubjectGameArgs ¶
type SubjectGameArgs struct { UserId string `thrift:"userId,1"` Count int32 `thrift:"count,2"` GameCount int32 `thrift:"gameCount,3"` Params map[string]string `thrift:"params,4"` }
func NewSubjectGameArgs ¶
func NewSubjectGameArgs() *SubjectGameArgs
func (*SubjectGameArgs) String ¶
func (p *SubjectGameArgs) String() string
type SubjectGameResult ¶
type SubjectGameResult struct {
Success string `thrift:"success,0"`
}
func NewSubjectGameResult ¶
func NewSubjectGameResult() *SubjectGameResult
func (*SubjectGameResult) String ¶
func (p *SubjectGameResult) String() string
Click to show internal directories.
Click to hide internal directories.