Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LvIM ¶ added in v0.4.2
type LvIM interface { GetTokenByThirdUID(thirdUID string) (imToken string, err error) PushConverseData(fromUID, toUID, content, objectName, toAppID, toUserExtSysUserID string) (requestID string, err error) PushConverseDatas(fromUID string, toUIDs []string, content, objectName string) (requestID string, failUIDs []string, err error) SendRoomMessage(fromUID, toRoomID, content, objectName string) (requestID string, err error) SendEventMsg(fromUID, toUID, content, objectName string) (requestID string, err error) UserBlock(userIDs []string, min int64) (err error) UserStatus(userID string) (bOnline bool, requestID string, err error) AddUserBlack(fromUID string, userIDs []string) (requestID string, failUIDs []string, err error) RemoveUserBlack(fromUID string, userIDs []string) (requestID string, failUIDs []string, err error) }
type LvLIVE ¶ added in v0.4.2
type LvLIVE interface { GetTokenByThirdUID(thirdUID, aID, userName string, sex live.SexType, portraitURI, userEmail, countryCode, birthday string) (liveToken, liveOpenID string, err error) SuccessOrderByLiveOpenID(liveOpenID string, orderType, gold, money, expr int64, platformType live.PlatformType, orderID string) (golds int64, err error) ChangeGoldByLiveOpenID(liveOpenID string, orderType, gold, expr int64, optionalReason string) (ok bool, err error) GetGoldByLiveOpenID(liveOpenID string) (golds int64, err error) }
Click to show internal directories.
Click to hide internal directories.