v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1 is a generated liverpc stub package. This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.

It is generated from these files:

v1/PayLive.proto
v1/Pk.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthPayLive = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPayLive   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthPk = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPk   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type PayLive

type PayLive interface {
	// * 付费直播鉴权
	//
	LiveValidate(context.Context, *PayLiveLiveValidateReq) (*PayLiveLiveValidateResp, error)
}

func NewPayLiveRpcClient

func NewPayLiveRpcClient(client *liverpc.Client) PayLive

NewPayLiveRpcClient creates a Rpc client that implements the PayLive interface. It communicates using Rpc and can be configured with a custom HTTPClient.

type PayLiveLiveValidateReq

type PayLiveLiveValidateReq struct {
	// 房间id
	RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
	// 来源:pc:表示PC端;pc_link:表示PC直播姬;ios:表示ios端;ios_link:表示ios_link端;android:安卓端;android_link:安卓link端;ipad:ipad;android_pad:安卓pad端;live_mng:表示live后台;vc_mng:表示vc后台;"
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
}

func (*PayLiveLiveValidateReq) Descriptor

func (*PayLiveLiveValidateReq) Descriptor() ([]byte, []int)

func (*PayLiveLiveValidateReq) GetPlatform

func (m *PayLiveLiveValidateReq) GetPlatform() string

func (*PayLiveLiveValidateReq) GetRoomId

func (m *PayLiveLiveValidateReq) GetRoomId() int64

func (*PayLiveLiveValidateReq) Marshal

func (m *PayLiveLiveValidateReq) Marshal() (dAtA []byte, err error)

func (*PayLiveLiveValidateReq) MarshalTo

func (m *PayLiveLiveValidateReq) MarshalTo(dAtA []byte) (int, error)

func (*PayLiveLiveValidateReq) ProtoMessage

func (*PayLiveLiveValidateReq) ProtoMessage()

func (*PayLiveLiveValidateReq) Reset

func (m *PayLiveLiveValidateReq) Reset()

func (*PayLiveLiveValidateReq) Size

func (m *PayLiveLiveValidateReq) Size() (n int)

func (*PayLiveLiveValidateReq) String

func (m *PayLiveLiveValidateReq) String() string

func (*PayLiveLiveValidateReq) Unmarshal

func (m *PayLiveLiveValidateReq) Unmarshal(dAtA []byte) error

func (*PayLiveLiveValidateReq) XXX_DiscardUnknown

func (m *PayLiveLiveValidateReq) XXX_DiscardUnknown()

func (*PayLiveLiveValidateReq) XXX_Marshal

func (m *PayLiveLiveValidateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayLiveLiveValidateReq) XXX_Merge

func (dst *PayLiveLiveValidateReq) XXX_Merge(src proto.Message)

func (*PayLiveLiveValidateReq) XXX_Size

func (m *PayLiveLiveValidateReq) XXX_Size() int

func (*PayLiveLiveValidateReq) XXX_Unmarshal

func (m *PayLiveLiveValidateReq) XXX_Unmarshal(b []byte) error

type PayLiveLiveValidateResp

type PayLiveLiveValidateResp struct {
	//
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	//
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data *PayLiveLiveValidateResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
}

func (*PayLiveLiveValidateResp) Descriptor

func (*PayLiveLiveValidateResp) Descriptor() ([]byte, []int)

func (*PayLiveLiveValidateResp) GetCode

func (m *PayLiveLiveValidateResp) GetCode() int64

func (*PayLiveLiveValidateResp) GetData

func (*PayLiveLiveValidateResp) GetMsg

func (m *PayLiveLiveValidateResp) GetMsg() string

func (*PayLiveLiveValidateResp) Marshal

func (m *PayLiveLiveValidateResp) Marshal() (dAtA []byte, err error)

func (*PayLiveLiveValidateResp) MarshalTo

func (m *PayLiveLiveValidateResp) MarshalTo(dAtA []byte) (int, error)

func (*PayLiveLiveValidateResp) ProtoMessage

func (*PayLiveLiveValidateResp) ProtoMessage()

func (*PayLiveLiveValidateResp) Reset

func (m *PayLiveLiveValidateResp) Reset()

func (*PayLiveLiveValidateResp) Size

func (m *PayLiveLiveValidateResp) Size() (n int)

func (*PayLiveLiveValidateResp) String

func (m *PayLiveLiveValidateResp) String() string

func (*PayLiveLiveValidateResp) Unmarshal

func (m *PayLiveLiveValidateResp) Unmarshal(dAtA []byte) error

func (*PayLiveLiveValidateResp) XXX_DiscardUnknown

func (m *PayLiveLiveValidateResp) XXX_DiscardUnknown()

func (*PayLiveLiveValidateResp) XXX_Marshal

func (m *PayLiveLiveValidateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayLiveLiveValidateResp) XXX_Merge

func (dst *PayLiveLiveValidateResp) XXX_Merge(src proto.Message)

func (*PayLiveLiveValidateResp) XXX_Size

func (m *PayLiveLiveValidateResp) XXX_Size() int

func (*PayLiveLiveValidateResp) XXX_Unmarshal

func (m *PayLiveLiveValidateResp) XXX_Unmarshal(b []byte) error

type PayLiveLiveValidateResp_Data

type PayLiveLiveValidateResp_Data struct {
	// 1 允许 ; 0 不允许
	Permission int64 `protobuf:"varint,1,opt,name=permission,proto3" json:"permission"`
}

func (*PayLiveLiveValidateResp_Data) Descriptor

func (*PayLiveLiveValidateResp_Data) Descriptor() ([]byte, []int)

func (*PayLiveLiveValidateResp_Data) GetPermission

func (m *PayLiveLiveValidateResp_Data) GetPermission() int64

func (*PayLiveLiveValidateResp_Data) Marshal

func (m *PayLiveLiveValidateResp_Data) Marshal() (dAtA []byte, err error)

func (*PayLiveLiveValidateResp_Data) MarshalTo

func (m *PayLiveLiveValidateResp_Data) MarshalTo(dAtA []byte) (int, error)

func (*PayLiveLiveValidateResp_Data) ProtoMessage

func (*PayLiveLiveValidateResp_Data) ProtoMessage()

func (*PayLiveLiveValidateResp_Data) Reset

func (m *PayLiveLiveValidateResp_Data) Reset()

func (*PayLiveLiveValidateResp_Data) Size

func (m *PayLiveLiveValidateResp_Data) Size() (n int)

func (*PayLiveLiveValidateResp_Data) String

func (*PayLiveLiveValidateResp_Data) Unmarshal

func (m *PayLiveLiveValidateResp_Data) Unmarshal(dAtA []byte) error

func (*PayLiveLiveValidateResp_Data) XXX_DiscardUnknown

func (m *PayLiveLiveValidateResp_Data) XXX_DiscardUnknown()

func (*PayLiveLiveValidateResp_Data) XXX_Marshal

func (m *PayLiveLiveValidateResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PayLiveLiveValidateResp_Data) XXX_Merge

func (dst *PayLiveLiveValidateResp_Data) XXX_Merge(src proto.Message)

func (*PayLiveLiveValidateResp_Data) XXX_Size

func (m *PayLiveLiveValidateResp_Data) XXX_Size() int

func (*PayLiveLiveValidateResp_Data) XXX_Unmarshal

func (m *PayLiveLiveValidateResp_Data) XXX_Unmarshal(b []byte) error

type Pk

type Pk interface {
	// * 根据id获取PK基础信息
	//
	GetInfoById(context.Context, *PkGetInfoByIdReq) (*PkGetInfoByIdResp, error)

	// * 根据id获取PK基础信息
	//
	GetPkStatus(context.Context, *PkGetPkStatusReq) (*PkGetPkStatusResp, error)

	// * 批量获取pkIds
	//
	GetPkIdsByRoomIds(context.Context, *PkGetPkIdsByRoomIdsReq) (*PkGetPkIdsByRoomIdsResp, error)
}

func NewPkRpcClient

func NewPkRpcClient(client *liverpc.Client) Pk

NewPkRpcClient creates a Rpc client that implements the Pk interface. It communicates using Rpc and can be configured with a custom HTTPClient.

type PkGetInfoByIdReq

type PkGetInfoByIdReq struct {
	// 会返回主播数据
	IsAnchor int64 `protobuf:"varint,1,opt,name=is_anchor,json=isAnchor,proto3" json:"is_anchor"`
	// 直播场次id
	PkId int64 `protobuf:"varint,2,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
	// 房间id   房间id (pk_id与room_id必传一个)
	RoomId int64 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id"`
	// 来源:pc:表示PC端;pc_link:表示PC直播姬;ios:表示ios端;ios_link:表示ios_link端;android:安卓端;android_link:安卓link端;ipad:ipad;android_pad:安卓pad端;live_mng:表示live后台;vc_mng:表示vc后台;"
	Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform"`
}

func (*PkGetInfoByIdReq) Descriptor

func (*PkGetInfoByIdReq) Descriptor() ([]byte, []int)

func (*PkGetInfoByIdReq) GetIsAnchor

func (m *PkGetInfoByIdReq) GetIsAnchor() int64

func (*PkGetInfoByIdReq) GetPkId

func (m *PkGetInfoByIdReq) GetPkId() int64

func (*PkGetInfoByIdReq) GetPlatform

func (m *PkGetInfoByIdReq) GetPlatform() string

func (*PkGetInfoByIdReq) GetRoomId

func (m *PkGetInfoByIdReq) GetRoomId() int64

func (*PkGetInfoByIdReq) Marshal

func (m *PkGetInfoByIdReq) Marshal() (dAtA []byte, err error)

func (*PkGetInfoByIdReq) MarshalTo

func (m *PkGetInfoByIdReq) MarshalTo(dAtA []byte) (int, error)

func (*PkGetInfoByIdReq) ProtoMessage

func (*PkGetInfoByIdReq) ProtoMessage()

func (*PkGetInfoByIdReq) Reset

func (m *PkGetInfoByIdReq) Reset()

func (*PkGetInfoByIdReq) Size

func (m *PkGetInfoByIdReq) Size() (n int)

func (*PkGetInfoByIdReq) String

func (m *PkGetInfoByIdReq) String() string

func (*PkGetInfoByIdReq) Unmarshal

func (m *PkGetInfoByIdReq) Unmarshal(dAtA []byte) error

func (*PkGetInfoByIdReq) XXX_DiscardUnknown

func (m *PkGetInfoByIdReq) XXX_DiscardUnknown()

func (*PkGetInfoByIdReq) XXX_Marshal

func (m *PkGetInfoByIdReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetInfoByIdReq) XXX_Merge

func (dst *PkGetInfoByIdReq) XXX_Merge(src proto.Message)

func (*PkGetInfoByIdReq) XXX_Size

func (m *PkGetInfoByIdReq) XXX_Size() int

func (*PkGetInfoByIdReq) XXX_Unmarshal

func (m *PkGetInfoByIdReq) XXX_Unmarshal(b []byte) error

type PkGetInfoByIdResp

type PkGetInfoByIdResp struct {
	//
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	//
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data *PkGetInfoByIdResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
}

func (*PkGetInfoByIdResp) Descriptor

func (*PkGetInfoByIdResp) Descriptor() ([]byte, []int)

func (*PkGetInfoByIdResp) GetCode

func (m *PkGetInfoByIdResp) GetCode() int64

func (*PkGetInfoByIdResp) GetData

func (*PkGetInfoByIdResp) GetMsg

func (m *PkGetInfoByIdResp) GetMsg() string

func (*PkGetInfoByIdResp) Marshal

func (m *PkGetInfoByIdResp) Marshal() (dAtA []byte, err error)

func (*PkGetInfoByIdResp) MarshalTo

func (m *PkGetInfoByIdResp) MarshalTo(dAtA []byte) (int, error)

func (*PkGetInfoByIdResp) ProtoMessage

func (*PkGetInfoByIdResp) ProtoMessage()

func (*PkGetInfoByIdResp) Reset

func (m *PkGetInfoByIdResp) Reset()

func (*PkGetInfoByIdResp) Size

func (m *PkGetInfoByIdResp) Size() (n int)

func (*PkGetInfoByIdResp) String

func (m *PkGetInfoByIdResp) String() string

func (*PkGetInfoByIdResp) Unmarshal

func (m *PkGetInfoByIdResp) Unmarshal(dAtA []byte) error

func (*PkGetInfoByIdResp) XXX_DiscardUnknown

func (m *PkGetInfoByIdResp) XXX_DiscardUnknown()

func (*PkGetInfoByIdResp) XXX_Marshal

func (m *PkGetInfoByIdResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetInfoByIdResp) XXX_Merge

func (dst *PkGetInfoByIdResp) XXX_Merge(src proto.Message)

func (*PkGetInfoByIdResp) XXX_Size

func (m *PkGetInfoByIdResp) XXX_Size() int

func (*PkGetInfoByIdResp) XXX_Unmarshal

func (m *PkGetInfoByIdResp) XXX_Unmarshal(b []byte) error

type PkGetInfoByIdResp_Data

type PkGetInfoByIdResp_Data struct {
	// 本场直播pk_id
	PkId int64 `protobuf:"varint,1,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
	// 发起方房间id
	InitId int64 `protobuf:"varint,2,opt,name=init_id,json=initId,proto3" json:"init_id"`
	// 匹配方房间id
	MatchId int64 `protobuf:"varint,3,opt,name=match_id,json=matchId,proto3" json:"match_id"`
	// pk预备发起时间
	PreTime int64 `protobuf:"varint,4,opt,name=pre_time,json=preTime,proto3" json:"pre_time"`
	// pk状态 0 匹配成功;1.pk准备中; 2.pk进行中; 3.惩罚中; 10.连麦正常结束; 11.pk中断,连麦结束, 12 连麦异常,连麦结束
	Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status"`
	// pk话题
	PkTopic string `protobuf:"bytes,6,opt,name=pk_topic,json=pkTopic,proto3" json:"pk_topic"`
	// 惩罚话题
	PunishTopic string `protobuf:"bytes,7,opt,name=punish_topic,json=punishTopic,proto3" json:"punish_topic"`
}

func (*PkGetInfoByIdResp_Data) Descriptor

func (*PkGetInfoByIdResp_Data) Descriptor() ([]byte, []int)

func (*PkGetInfoByIdResp_Data) GetInitId

func (m *PkGetInfoByIdResp_Data) GetInitId() int64

func (*PkGetInfoByIdResp_Data) GetMatchId

func (m *PkGetInfoByIdResp_Data) GetMatchId() int64

func (*PkGetInfoByIdResp_Data) GetPkId

func (m *PkGetInfoByIdResp_Data) GetPkId() int64

func (*PkGetInfoByIdResp_Data) GetPkTopic

func (m *PkGetInfoByIdResp_Data) GetPkTopic() string

func (*PkGetInfoByIdResp_Data) GetPreTime

func (m *PkGetInfoByIdResp_Data) GetPreTime() int64

func (*PkGetInfoByIdResp_Data) GetPunishTopic

func (m *PkGetInfoByIdResp_Data) GetPunishTopic() string

func (*PkGetInfoByIdResp_Data) GetStatus

func (m *PkGetInfoByIdResp_Data) GetStatus() int64

func (*PkGetInfoByIdResp_Data) Marshal

func (m *PkGetInfoByIdResp_Data) Marshal() (dAtA []byte, err error)

func (*PkGetInfoByIdResp_Data) MarshalTo

func (m *PkGetInfoByIdResp_Data) MarshalTo(dAtA []byte) (int, error)

func (*PkGetInfoByIdResp_Data) ProtoMessage

func (*PkGetInfoByIdResp_Data) ProtoMessage()

func (*PkGetInfoByIdResp_Data) Reset

func (m *PkGetInfoByIdResp_Data) Reset()

func (*PkGetInfoByIdResp_Data) Size

func (m *PkGetInfoByIdResp_Data) Size() (n int)

func (*PkGetInfoByIdResp_Data) String

func (m *PkGetInfoByIdResp_Data) String() string

func (*PkGetInfoByIdResp_Data) Unmarshal

func (m *PkGetInfoByIdResp_Data) Unmarshal(dAtA []byte) error

func (*PkGetInfoByIdResp_Data) XXX_DiscardUnknown

func (m *PkGetInfoByIdResp_Data) XXX_DiscardUnknown()

func (*PkGetInfoByIdResp_Data) XXX_Marshal

func (m *PkGetInfoByIdResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetInfoByIdResp_Data) XXX_Merge

func (dst *PkGetInfoByIdResp_Data) XXX_Merge(src proto.Message)

func (*PkGetInfoByIdResp_Data) XXX_Size

func (m *PkGetInfoByIdResp_Data) XXX_Size() int

func (*PkGetInfoByIdResp_Data) XXX_Unmarshal

func (m *PkGetInfoByIdResp_Data) XXX_Unmarshal(b []byte) error

type PkGetPkIdsByRoomIdsReq

type PkGetPkIdsByRoomIdsReq struct {
	// 房间ids
	RoomIds []int64 `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids"`
	// 来源:pc:表示PC端;pc_link:表示PC直播姬;ios:表示ios端;ios_link:表示ios_link端;android:安卓端;android_link:安卓link端;ipad:ipad;android_pad:安卓pad端;live_mng:表示live后台;vc_mng:表示vc后台;"
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
}

func (*PkGetPkIdsByRoomIdsReq) Descriptor

func (*PkGetPkIdsByRoomIdsReq) Descriptor() ([]byte, []int)

func (*PkGetPkIdsByRoomIdsReq) GetPlatform

func (m *PkGetPkIdsByRoomIdsReq) GetPlatform() string

func (*PkGetPkIdsByRoomIdsReq) GetRoomIds

func (m *PkGetPkIdsByRoomIdsReq) GetRoomIds() []int64

func (*PkGetPkIdsByRoomIdsReq) Marshal

func (m *PkGetPkIdsByRoomIdsReq) Marshal() (dAtA []byte, err error)

func (*PkGetPkIdsByRoomIdsReq) MarshalTo

func (m *PkGetPkIdsByRoomIdsReq) MarshalTo(dAtA []byte) (int, error)

func (*PkGetPkIdsByRoomIdsReq) ProtoMessage

func (*PkGetPkIdsByRoomIdsReq) ProtoMessage()

func (*PkGetPkIdsByRoomIdsReq) Reset

func (m *PkGetPkIdsByRoomIdsReq) Reset()

func (*PkGetPkIdsByRoomIdsReq) Size

func (m *PkGetPkIdsByRoomIdsReq) Size() (n int)

func (*PkGetPkIdsByRoomIdsReq) String

func (m *PkGetPkIdsByRoomIdsReq) String() string

func (*PkGetPkIdsByRoomIdsReq) Unmarshal

func (m *PkGetPkIdsByRoomIdsReq) Unmarshal(dAtA []byte) error

func (*PkGetPkIdsByRoomIdsReq) XXX_DiscardUnknown

func (m *PkGetPkIdsByRoomIdsReq) XXX_DiscardUnknown()

func (*PkGetPkIdsByRoomIdsReq) XXX_Marshal

func (m *PkGetPkIdsByRoomIdsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetPkIdsByRoomIdsReq) XXX_Merge

func (dst *PkGetPkIdsByRoomIdsReq) XXX_Merge(src proto.Message)

func (*PkGetPkIdsByRoomIdsReq) XXX_Size

func (m *PkGetPkIdsByRoomIdsReq) XXX_Size() int

func (*PkGetPkIdsByRoomIdsReq) XXX_Unmarshal

func (m *PkGetPkIdsByRoomIdsReq) XXX_Unmarshal(b []byte) error

type PkGetPkIdsByRoomIdsResp

type PkGetPkIdsByRoomIdsResp struct {
	//
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	//
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data map[string]int64 `` /* 133-byte string literal not displayed */
}

func (*PkGetPkIdsByRoomIdsResp) Descriptor

func (*PkGetPkIdsByRoomIdsResp) Descriptor() ([]byte, []int)

func (*PkGetPkIdsByRoomIdsResp) GetCode

func (m *PkGetPkIdsByRoomIdsResp) GetCode() int64

func (*PkGetPkIdsByRoomIdsResp) GetData

func (m *PkGetPkIdsByRoomIdsResp) GetData() map[string]int64

func (*PkGetPkIdsByRoomIdsResp) GetMsg

func (m *PkGetPkIdsByRoomIdsResp) GetMsg() string

func (*PkGetPkIdsByRoomIdsResp) Marshal

func (m *PkGetPkIdsByRoomIdsResp) Marshal() (dAtA []byte, err error)

func (*PkGetPkIdsByRoomIdsResp) MarshalTo

func (m *PkGetPkIdsByRoomIdsResp) MarshalTo(dAtA []byte) (int, error)

func (*PkGetPkIdsByRoomIdsResp) ProtoMessage

func (*PkGetPkIdsByRoomIdsResp) ProtoMessage()

func (*PkGetPkIdsByRoomIdsResp) Reset

func (m *PkGetPkIdsByRoomIdsResp) Reset()

func (*PkGetPkIdsByRoomIdsResp) Size

func (m *PkGetPkIdsByRoomIdsResp) Size() (n int)

func (*PkGetPkIdsByRoomIdsResp) String

func (m *PkGetPkIdsByRoomIdsResp) String() string

func (*PkGetPkIdsByRoomIdsResp) Unmarshal

func (m *PkGetPkIdsByRoomIdsResp) Unmarshal(dAtA []byte) error

func (*PkGetPkIdsByRoomIdsResp) XXX_DiscardUnknown

func (m *PkGetPkIdsByRoomIdsResp) XXX_DiscardUnknown()

func (*PkGetPkIdsByRoomIdsResp) XXX_Marshal

func (m *PkGetPkIdsByRoomIdsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetPkIdsByRoomIdsResp) XXX_Merge

func (dst *PkGetPkIdsByRoomIdsResp) XXX_Merge(src proto.Message)

func (*PkGetPkIdsByRoomIdsResp) XXX_Size

func (m *PkGetPkIdsByRoomIdsResp) XXX_Size() int

func (*PkGetPkIdsByRoomIdsResp) XXX_Unmarshal

func (m *PkGetPkIdsByRoomIdsResp) XXX_Unmarshal(b []byte) error

type PkGetPkStatusReq

type PkGetPkStatusReq struct {
	// 会返回主播数据
	IsAnchor int64 `protobuf:"varint,1,opt,name=is_anchor,json=isAnchor,proto3" json:"is_anchor"`
	// 直播场次id
	PkId int64 `protobuf:"varint,2,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
	// 房间id   房间id (pk_id与room_id必传一个)
	RoomId int64 `protobuf:"varint,3,opt,name=room_id,json=roomId,proto3" json:"room_id"`
	// 邀请id
	InviteId int64 `protobuf:"varint,4,opt,name=invite_id,json=inviteId,proto3" json:"invite_id"`
	// 来源:pc:表示PC端;pc_link:表示PC直播姬;ios:表示ios端;ios_link:表示ios_link端;android:安卓端;android_link:安卓link端;ipad:ipad;android_pad:安卓pad端;live_mng:表示live后台;vc_mng:表示vc后台;"
	Platform string `protobuf:"bytes,5,opt,name=platform,proto3" json:"platform"`
}

func (*PkGetPkStatusReq) Descriptor

func (*PkGetPkStatusReq) Descriptor() ([]byte, []int)

func (*PkGetPkStatusReq) GetInviteId

func (m *PkGetPkStatusReq) GetInviteId() int64

func (*PkGetPkStatusReq) GetIsAnchor

func (m *PkGetPkStatusReq) GetIsAnchor() int64

func (*PkGetPkStatusReq) GetPkId

func (m *PkGetPkStatusReq) GetPkId() int64

func (*PkGetPkStatusReq) GetPlatform

func (m *PkGetPkStatusReq) GetPlatform() string

func (*PkGetPkStatusReq) GetRoomId

func (m *PkGetPkStatusReq) GetRoomId() int64

func (*PkGetPkStatusReq) Marshal

func (m *PkGetPkStatusReq) Marshal() (dAtA []byte, err error)

func (*PkGetPkStatusReq) MarshalTo

func (m *PkGetPkStatusReq) MarshalTo(dAtA []byte) (int, error)

func (*PkGetPkStatusReq) ProtoMessage

func (*PkGetPkStatusReq) ProtoMessage()

func (*PkGetPkStatusReq) Reset

func (m *PkGetPkStatusReq) Reset()

func (*PkGetPkStatusReq) Size

func (m *PkGetPkStatusReq) Size() (n int)

func (*PkGetPkStatusReq) String

func (m *PkGetPkStatusReq) String() string

func (*PkGetPkStatusReq) Unmarshal

func (m *PkGetPkStatusReq) Unmarshal(dAtA []byte) error

func (*PkGetPkStatusReq) XXX_DiscardUnknown

func (m *PkGetPkStatusReq) XXX_DiscardUnknown()

func (*PkGetPkStatusReq) XXX_Marshal

func (m *PkGetPkStatusReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetPkStatusReq) XXX_Merge

func (dst *PkGetPkStatusReq) XXX_Merge(src proto.Message)

func (*PkGetPkStatusReq) XXX_Size

func (m *PkGetPkStatusReq) XXX_Size() int

func (*PkGetPkStatusReq) XXX_Unmarshal

func (m *PkGetPkStatusReq) XXX_Unmarshal(b []byte) error

type PkGetPkStatusResp

type PkGetPkStatusResp struct {
	//
	Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	//
	Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
	//
	Data *PkGetPkStatusResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
}

func (*PkGetPkStatusResp) Descriptor

func (*PkGetPkStatusResp) Descriptor() ([]byte, []int)

func (*PkGetPkStatusResp) GetCode

func (m *PkGetPkStatusResp) GetCode() int64

func (*PkGetPkStatusResp) GetData

func (*PkGetPkStatusResp) GetMsg

func (m *PkGetPkStatusResp) GetMsg() string

func (*PkGetPkStatusResp) Marshal

func (m *PkGetPkStatusResp) Marshal() (dAtA []byte, err error)

func (*PkGetPkStatusResp) MarshalTo

func (m *PkGetPkStatusResp) MarshalTo(dAtA []byte) (int, error)

func (*PkGetPkStatusResp) ProtoMessage

func (*PkGetPkStatusResp) ProtoMessage()

func (*PkGetPkStatusResp) Reset

func (m *PkGetPkStatusResp) Reset()

func (*PkGetPkStatusResp) Size

func (m *PkGetPkStatusResp) Size() (n int)

func (*PkGetPkStatusResp) String

func (m *PkGetPkStatusResp) String() string

func (*PkGetPkStatusResp) Unmarshal

func (m *PkGetPkStatusResp) Unmarshal(dAtA []byte) error

func (*PkGetPkStatusResp) XXX_DiscardUnknown

func (m *PkGetPkStatusResp) XXX_DiscardUnknown()

func (*PkGetPkStatusResp) XXX_Marshal

func (m *PkGetPkStatusResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetPkStatusResp) XXX_Merge

func (dst *PkGetPkStatusResp) XXX_Merge(src proto.Message)

func (*PkGetPkStatusResp) XXX_Size

func (m *PkGetPkStatusResp) XXX_Size() int

func (*PkGetPkStatusResp) XXX_Unmarshal

func (m *PkGetPkStatusResp) XXX_Unmarshal(b []byte) error

type PkGetPkStatusResp_Data

type PkGetPkStatusResp_Data struct {
	// 当前时间
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp"`
	// 本场直播pk_id
	PkId int64 `protobuf:"varint,2,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
	// pk状态 100 匹配成功;200.pk准备中; 300.pk进行中; 400惩罚中; 1000.连麦正常结束; 1100.pk中断,连麦结束, 1200,逃跑 1300 连麦异常,连麦结束
	PkStatus int64 `protobuf:"varint,3,opt,name=pk_status,json=pkStatus,proto3" json:"pk_status"`
	// 邀请id
	InviteId int64 `protobuf:"varint,4,opt,name=invite_id,json=inviteId,proto3" json:"invite_id"`
	// 100 排队中 200 邀请中 1000 同意邀请 1100 拒绝邀请 1200 取消邀请,1300 邀请异常(主播信息)
	InviteStatus int64 `protobuf:"varint,5,opt,name=invite_status,json=inviteStatus,proto3" json:"invite_status"`
}

func (*PkGetPkStatusResp_Data) Descriptor

func (*PkGetPkStatusResp_Data) Descriptor() ([]byte, []int)

func (*PkGetPkStatusResp_Data) GetInviteId

func (m *PkGetPkStatusResp_Data) GetInviteId() int64

func (*PkGetPkStatusResp_Data) GetInviteStatus

func (m *PkGetPkStatusResp_Data) GetInviteStatus() int64

func (*PkGetPkStatusResp_Data) GetPkId

func (m *PkGetPkStatusResp_Data) GetPkId() int64

func (*PkGetPkStatusResp_Data) GetPkStatus

func (m *PkGetPkStatusResp_Data) GetPkStatus() int64

func (*PkGetPkStatusResp_Data) GetTimestamp

func (m *PkGetPkStatusResp_Data) GetTimestamp() int64

func (*PkGetPkStatusResp_Data) Marshal

func (m *PkGetPkStatusResp_Data) Marshal() (dAtA []byte, err error)

func (*PkGetPkStatusResp_Data) MarshalTo

func (m *PkGetPkStatusResp_Data) MarshalTo(dAtA []byte) (int, error)

func (*PkGetPkStatusResp_Data) ProtoMessage

func (*PkGetPkStatusResp_Data) ProtoMessage()

func (*PkGetPkStatusResp_Data) Reset

func (m *PkGetPkStatusResp_Data) Reset()

func (*PkGetPkStatusResp_Data) Size

func (m *PkGetPkStatusResp_Data) Size() (n int)

func (*PkGetPkStatusResp_Data) String

func (m *PkGetPkStatusResp_Data) String() string

func (*PkGetPkStatusResp_Data) Unmarshal

func (m *PkGetPkStatusResp_Data) Unmarshal(dAtA []byte) error

func (*PkGetPkStatusResp_Data) XXX_DiscardUnknown

func (m *PkGetPkStatusResp_Data) XXX_DiscardUnknown()

func (*PkGetPkStatusResp_Data) XXX_Marshal

func (m *PkGetPkStatusResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PkGetPkStatusResp_Data) XXX_Merge

func (dst *PkGetPkStatusResp_Data) XXX_Merge(src proto.Message)

func (*PkGetPkStatusResp_Data) XXX_Size

func (m *PkGetPkStatusResp_Data) XXX_Size() int

func (*PkGetPkStatusResp_Data) XXX_Unmarshal

func (m *PkGetPkStatusResp_Data) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL