Versions in this module Expand all Collapse all v0 v0.0.1 Mar 14, 2022 Changes in this version + type AddAssistantRequest struct + RoomId int64 + Users []*Assistant + type AddGoodsRequest struct + Ids []int64 + RoomId int64 + type AddRoleRequest struct + Nickname string + Role Role + type AddSubAnchorRequest struct + RoomId int64 + Username string + type Assistant struct + Nickname string + Username string + type CreateRoomRequest struct + AnchorName string + AnchorWechat string + CloseComment uint8 + CloseGoods uint8 + CloseKf uint8 + CloseLike uint8 + CloseReplay uint8 + CloseShare uint8 + CoverImg string + CreaterWechat string + EndTime int64 + FeedsImg string + IsFeedsPublic uint8 + Name string + ShareImg string + StartTime int64 + SubAnchorWechat string + Type uint8 + type CreateRoomResponse struct + QRCodeURL string + RoomId int64 + type DeleteRoleRequest struct + Nickname string + Role Role + type DeleteRoomRequest struct + Id int64 + type DeleteSubAnchorRequest struct + RoomId int64 + type EditRoomRequest struct + AnchorName string + AnchorWechat string + CloseComment uint8 + CloseGoods uint8 + CloseKf uint8 + CloseLike uint8 + CloseReplay uint8 + CloseShare uint8 + CoverImg string + EndTime int64 + FeedsImg string + Id int64 + IsFeedsPublic uint8 + Name string + ShareImg string + StartTime int64 + type GetAssistantListRequest struct + RoomId int64 + type GetAssistantListResponse struct + Count int + List []struct{ ... } + MaxCount int + type GetFollowersRequest struct + Limit int + PageBreak int + type GetFollowersResponse struct + Followers []struct{ ... } + PageBreak int + type GetLiveInfoRequest struct + Limit int + Start int + type GetLiveInfoResponse struct + List []*RoomInfo + Total int + type GetPushUrlRequest struct + RoomId int64 + type GetPushUrlResponse struct + PushAddr string + type GetRoleListRequest struct + Keyword string + Limit int + Offset int + Role Role + type GetRoleListResponse struct + List []struct{ ... } + type GetSharedCodeRequest struct + Params int64 + RoomId int64 + type GetSharedCodeResponse struct + CdnUrl string + PagePath string + PosterUrl string + type GetSubAnchorRequest struct + RoomId int64 + type GetSubAnchorResponse struct + Username string + type GoodsAddInfo struct + CoverImgUrl string + Name string + Price float64 + Price2 float64 + PriceType PriceType + ThirdPartyAppid string + Url string + type GoodsAddRequest struct + GoodsInfo *GoodsAddInfo + type GoodsAddResponse struct + AuditId int64 + GoodsId int64 + type GoodsAuditRequest struct + GoodsId int64 + type GoodsAuditResponse struct + AuditId int64 + type GoodsDeleteRequest struct + GoodsId int64 + type GoodsDeleteResponse struct + type GoodsInfoRequest struct + GoodsIds []int64 + type GoodsInfoResponse struct + Goods []struct{ ... } + Total int64 + type GoodsListRequest struct + Limit int + Offset int + Status uint8 + type GoodsListResponse struct + Goods []struct{ ... } + Total int64 + type GoodsPushRequest struct + GoodsId int64 + RoomId int64 + type GoodsPushResponse struct + type GoodsResetAuditRequest struct + AuditId int64 + GoodsId int64 + type GoodsResetAuditResponse struct + type GoodsSaleRequest struct + AuditId int64 + GoodsId int64 + OnSale uint8 + type GoodsSaleResponse struct + type GoodsSortRequest struct + Goods []*SortGoods + RoomId int64 + type GoodsSortResponse struct + type GoodsUpdateInfo struct + CoverImgUrl string + GoodsId int64 + Name string + Price float64 + Price2 float64 + PriceType PriceType + ThirdPartyAppid string + Url string + type GoodsUpdateRequest struct + GoodsInfo *GoodsUpdateInfo + type GoodsUpdateResponse struct + type GoodsVideoRequest struct + GoodsId int64 + RoomId int64 + type GoodsVideoResponse struct + Url int64 + type LiveBroadcast struct + func NewLiveBroadcast(request *request.Request, ...) *LiveBroadcast + func (cli *LiveBroadcast) AddAssistant(ctx context.Context, req *AddAssistantRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) AddGoods(ctx context.Context, req *AddGoodsRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) AddRole(ctx context.Context, req *AddRoleRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) AddSubAnchor(ctx context.Context, req *AddSubAnchorRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) CreateRoom(ctx context.Context, req *CreateRoomRequest) (*CreateRoomResponse, error) + func (cli *LiveBroadcast) DeleteRole(ctx context.Context, req *DeleteRoleRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) DeleteRoom(ctx context.Context, req *DeleteRoomRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) DeleteSubAnchor(ctx context.Context, req *DeleteSubAnchorRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) EditRoom(ctx context.Context, req *EditRoomRequest) (*request.CommonError, error) + func (cli *LiveBroadcast) GetAssistantList(ctx context.Context, req *GetAssistantListRequest) (*GetAssistantListResponse, error) + func (cli *LiveBroadcast) GetFollowers(ctx context.Context, req *GetFollowersRequest) (*GetFollowersResponse, error) + func (cli *LiveBroadcast) GetLiveInfo(ctx context.Context, req *GetLiveInfoRequest) (*GetLiveInfoResponse, error) + func (cli *LiveBroadcast) GetPushUrl(ctx context.Context, req *GetPushUrlRequest) (*GetPushUrlResponse, error) + func (cli *LiveBroadcast) GetRoleList(ctx context.Context, req *GetRoleListRequest) (*GetRoleListResponse, error) + func (cli *LiveBroadcast) GetSharedCode(ctx context.Context, req *GetSharedCodeRequest) (*GetSharedCodeResponse, error) + func (cli *LiveBroadcast) GetSubAnchor(ctx context.Context, req *GetSubAnchorRequest) (*GetSubAnchorResponse, error) + func (cli *LiveBroadcast) GoodsAdd(ctx context.Context, req *GoodsAddRequest) (*GoodsAddResponse, error) + func (cli *LiveBroadcast) GoodsAudit(ctx context.Context, req *GoodsAuditRequest) (*GoodsAuditResponse, error) + func (cli *LiveBroadcast) GoodsDelete(ctx context.Context, req *GoodsDeleteRequest) (*GoodsDeleteResponse, error) + func (cli *LiveBroadcast) GoodsInfo(ctx context.Context, req *GoodsInfoRequest) (*GoodsInfoResponse, error) + func (cli *LiveBroadcast) GoodsList(ctx context.Context, req *GoodsListRequest) (*GoodsListResponse, error) + func (cli *LiveBroadcast) GoodsPush(ctx context.Context, req *GoodsPushRequest) (*GoodsPushResponse, error) + func (cli *LiveBroadcast) GoodsResetAudit(ctx context.Context, req *GoodsResetAuditRequest) (*GoodsResetAuditResponse, error) + func (cli *LiveBroadcast) GoodsSale(ctx context.Context, req *GoodsSaleRequest) (*GoodsSaleResponse, error) + func (cli *LiveBroadcast) GoodsSort(ctx context.Context, req *GoodsSortRequest) (*GoodsSortResponse, error) + func (cli *LiveBroadcast) GoodsUpdate(ctx context.Context, req *GoodsUpdateRequest) (*GoodsUpdateResponse, error) + func (cli *LiveBroadcast) GoodsVideo(ctx context.Context, req *GoodsVideoRequest) (*GoodsVideoResponse, error) + func (cli *LiveBroadcast) ModifyAssistant(ctx context.Context, req *ModifyAssistantRequest) (*ModifyAssistantResponse, error) + func (cli *LiveBroadcast) ModifySubAnchor(ctx context.Context, req *ModifySubAnchorRequest) (*ModifySubAnchorResponse, error) + func (cli *LiveBroadcast) PushMessage(ctx context.Context, req *PushMessageRequest) (*PushMessageResponse, error) + func (cli *LiveBroadcast) RemoveAssistant(ctx context.Context, req *RemoveAssistantRequest) (*RemoveAssistantResponse, error) + func (cli *LiveBroadcast) UpdateComment(ctx context.Context, req *UpdateCommentRequest) (*UpdateCommentResponse, error) + func (cli *LiveBroadcast) UpdateFeedPublic(ctx context.Context, req *UpdateFeedPublicRequest) (*UpdateFeedPublicResponse, error) + func (cli *LiveBroadcast) UpdateKF(ctx context.Context, req *UpdateKFRequest) (*UpdateKFResponse, error) + func (cli *LiveBroadcast) UpdateReplay(ctx context.Context, req *UpdateReplayRequest) (*UpdateReplayResponse, error) + type LiveRoomGoods struct + CoverIMG string + GoodsID int + Name string + Price int64 + Price2 int64 + Price_type PriceType + ThirdPartyAppID string + URL string + type LiveStatus uint8 + const LiveStatusBan + const LiveStatusException + const LiveStatusExpired + const LiveStatusFinished + const LiveStatusLiving + const LiveStatusNotStated + const LiveStatusPause + type LiveType uint8 + const LiveTypePhone + const LiveTypePushFlow + type ModifyAssistantRequest struct + Nickname string + RoomId int64 + Username string + type ModifyAssistantResponse struct + type ModifySubAnchorRequest struct + RoomId int64 + Username string + type ModifySubAnchorResponse struct + type PriceType uint8 + const PriceTypeDiscount + const PriceTypeNormal + const PriceTypeRange + type PushMessageRequest struct + RoomId int64 + UserOpenid []string + type PushMessageResponse struct + MessageId string + type RemoveAssistantRequest struct + RoomId int64 + Username string + type RemoveAssistantResponse struct + type Role = int8 + const RoleALl + const RoleAdministrator + const RoleBroadcaster + const RoleOperator + const RoleRoot + type RoomInfo struct + AnchorName string + CloseComment int + CloseGoods int + CloseKF int + CloseLike int + CloseReplay int + CoverIMG string + CreatorOpenID string + EndTime int + FeedsIMG string + Goods []*LiveRoomGoods + IsFeedsPublic int + LiveStatus LiveStatus + LiveType LiveType + Name string + RoomID int + ShareIMG string + StartTime int + type SortGoods struct + GoodsId int64 + type UpdateCommentRequest struct + BanComment uint8 + RoomId int64 + type UpdateCommentResponse struct + type UpdateFeedPublicRequest struct + IsFeedsPublic uint8 + RoomId int64 + type UpdateFeedPublicResponse struct + type UpdateKFRequest struct + CloseKf uint8 + RoomId int64 + type UpdateKFResponse struct + type UpdateReplayRequest struct + CloseReplay uint8 + RoomId int64 + type UpdateReplayResponse struct