Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OrderTypeAdd = live.OrderTypeAdd OrderTypeDel = live.OrderTypeDel PlatformTypeH5 = live.PlatformTypeH5 PlatformTypeANDROID = live.PlatformTypeANDROID PlatformTypeIOS = live.PlatformTypeIOS SexTypeUnknown = live.SexTypeUnknown SexTypeFemale = live.SexTypeFemale SexTypeMale = live.SexTypeMale )
Functions ¶
Types ¶
type LvLIVE ¶ added in v0.4.2
type LvLIVE interface {
GetTokenByThirdUID(thirdUID, aID, userName string, sex SexType, portraitURI, userEmail, countryCode, birthday string) (liveToken, liveOpenID string, err error)
SuccessOrderByLiveOpenID(liveOpenID, uniqueID string, typ OrderType, gold, money, expr int64, plat PlatformType, orderID string) (golds int64, err error)
ChangeGoldByLiveOpenID(liveOpenID, uniqueID string, typ OrderType, gold, expr int64, optionalReason string) (ok bool, err error)
GetGoldByLiveOpenID(liveOpenID string) (golds int64, err error)
}
type PlatformType ¶ added in v0.4.2
type PlatformType = live.PlatformType
Click to show internal directories.
Click to hide internal directories.