v2

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 v2 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:

v2/App.proto

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthApp = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApp   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type App

type App interface {
	// * 关注接口
	// 【粉版APP5.33 关注排序改版】App首页我的关注部分【全量数据】
	LiveHomePage(context.Context, *AppLiveHomePageReq) (*AppLiveHomePageResp, error)
}

func NewAppRpcClient

func NewAppRpcClient(client *liverpc.Client) App

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

type AppLiveHomePageReq

type AppLiveHomePageReq struct {
	// 页号
	RelationPage int64 `protobuf:"varint,1,opt,name=relation_page,json=relationPage,proto3" json:"relation_page"`
}

func (*AppLiveHomePageReq) Descriptor

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

func (*AppLiveHomePageReq) GetRelationPage

func (m *AppLiveHomePageReq) GetRelationPage() int64

func (*AppLiveHomePageReq) Marshal

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

func (*AppLiveHomePageReq) MarshalTo

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

func (*AppLiveHomePageReq) ProtoMessage

func (*AppLiveHomePageReq) ProtoMessage()

func (*AppLiveHomePageReq) Reset

func (m *AppLiveHomePageReq) Reset()

func (*AppLiveHomePageReq) Size

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

func (*AppLiveHomePageReq) String

func (m *AppLiveHomePageReq) String() string

func (*AppLiveHomePageReq) Unmarshal

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

func (*AppLiveHomePageReq) XXX_DiscardUnknown

func (m *AppLiveHomePageReq) XXX_DiscardUnknown()

func (*AppLiveHomePageReq) XXX_Marshal

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

func (*AppLiveHomePageReq) XXX_Merge

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

func (*AppLiveHomePageReq) XXX_Size

func (m *AppLiveHomePageReq) XXX_Size() int

func (*AppLiveHomePageReq) XXX_Unmarshal

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

type AppLiveHomePageResp

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

func (*AppLiveHomePageResp) Descriptor

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

func (*AppLiveHomePageResp) GetCode

func (m *AppLiveHomePageResp) GetCode() int64

func (*AppLiveHomePageResp) GetData

func (*AppLiveHomePageResp) GetMessage

func (m *AppLiveHomePageResp) GetMessage() string

func (*AppLiveHomePageResp) GetMsg

func (m *AppLiveHomePageResp) GetMsg() string

func (*AppLiveHomePageResp) Marshal

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

func (*AppLiveHomePageResp) MarshalTo

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

func (*AppLiveHomePageResp) ProtoMessage

func (*AppLiveHomePageResp) ProtoMessage()

func (*AppLiveHomePageResp) Reset

func (m *AppLiveHomePageResp) Reset()

func (*AppLiveHomePageResp) Size

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

func (*AppLiveHomePageResp) String

func (m *AppLiveHomePageResp) String() string

func (*AppLiveHomePageResp) Unmarshal

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

func (*AppLiveHomePageResp) XXX_DiscardUnknown

func (m *AppLiveHomePageResp) XXX_DiscardUnknown()

func (*AppLiveHomePageResp) XXX_Marshal

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

func (*AppLiveHomePageResp) XXX_Merge

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

func (*AppLiveHomePageResp) XXX_Size

func (m *AppLiveHomePageResp) XXX_Size() int

func (*AppLiveHomePageResp) XXX_Unmarshal

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

type AppLiveHomePageResp_Data

type AppLiveHomePageResp_Data struct {
	//
	TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count"`
	//
	CardType int64 `protobuf:"varint,2,opt,name=card_type,json=cardType,proto3" json:"card_type"`
	//
	BigCardType int64 `protobuf:"varint,3,opt,name=big_card_type,json=bigCardType,proto3" json:"big_card_type"`
	//
	TimeDesc string `protobuf:"bytes,4,opt,name=time_desc,json=timeDesc,proto3" json:"time_desc"`
	//
	UnameDesc string `protobuf:"bytes,5,opt,name=uname_desc,json=unameDesc,proto3" json:"uname_desc"`
	//
	TagsDesc string `protobuf:"bytes,6,opt,name=tags_desc,json=tagsDesc,proto3" json:"tags_desc"`
	//
	RelationPage int64 `protobuf:"varint,7,opt,name=relation_page,json=relationPage,proto3" json:"relation_page"`
	//
	Rooms []*AppLiveHomePageResp_Rooms `protobuf:"bytes,8,rep,name=rooms" json:"rooms"`
}

func (*AppLiveHomePageResp_Data) Descriptor

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

func (*AppLiveHomePageResp_Data) GetBigCardType

func (m *AppLiveHomePageResp_Data) GetBigCardType() int64

func (*AppLiveHomePageResp_Data) GetCardType

func (m *AppLiveHomePageResp_Data) GetCardType() int64

func (*AppLiveHomePageResp_Data) GetRelationPage

func (m *AppLiveHomePageResp_Data) GetRelationPage() int64

func (*AppLiveHomePageResp_Data) GetRooms

func (*AppLiveHomePageResp_Data) GetTagsDesc

func (m *AppLiveHomePageResp_Data) GetTagsDesc() string

func (*AppLiveHomePageResp_Data) GetTimeDesc

func (m *AppLiveHomePageResp_Data) GetTimeDesc() string

func (*AppLiveHomePageResp_Data) GetTotalCount

func (m *AppLiveHomePageResp_Data) GetTotalCount() int64

func (*AppLiveHomePageResp_Data) GetUnameDesc

func (m *AppLiveHomePageResp_Data) GetUnameDesc() string

func (*AppLiveHomePageResp_Data) Marshal

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

func (*AppLiveHomePageResp_Data) MarshalTo

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

func (*AppLiveHomePageResp_Data) ProtoMessage

func (*AppLiveHomePageResp_Data) ProtoMessage()

func (*AppLiveHomePageResp_Data) Reset

func (m *AppLiveHomePageResp_Data) Reset()

func (*AppLiveHomePageResp_Data) Size

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

func (*AppLiveHomePageResp_Data) String

func (m *AppLiveHomePageResp_Data) String() string

func (*AppLiveHomePageResp_Data) Unmarshal

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

func (*AppLiveHomePageResp_Data) XXX_DiscardUnknown

func (m *AppLiveHomePageResp_Data) XXX_DiscardUnknown()

func (*AppLiveHomePageResp_Data) XXX_Marshal

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

func (*AppLiveHomePageResp_Data) XXX_Merge

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

func (*AppLiveHomePageResp_Data) XXX_Size

func (m *AppLiveHomePageResp_Data) XXX_Size() int

func (*AppLiveHomePageResp_Data) XXX_Unmarshal

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

type AppLiveHomePageResp_Rooms

type AppLiveHomePageResp_Rooms struct {
	//
	Roomid int64 `protobuf:"varint,1,opt,name=roomid,proto3" json:"roomid"`
	//
	Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid"`
	//
	Uname string `protobuf:"bytes,3,opt,name=uname,proto3" json:"uname"`
	//
	Face string `protobuf:"bytes,4,opt,name=face,proto3" json:"face"`
	//
	Cover string `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover"`
	//
	Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title"`
	//
	Area int64 `protobuf:"varint,7,opt,name=area,proto3" json:"area"`
	//
	LiveTime string `protobuf:"bytes,8,opt,name=live_time,json=liveTime,proto3" json:"live_time"`
	//
	AreaName string `protobuf:"bytes,9,opt,name=area_name,json=areaName,proto3" json:"area_name"`
	//
	AreaV2Id int64 `protobuf:"varint,10,opt,name=area_v2_id,json=areaV2Id,proto3" json:"area_v2_id"`
	//
	AreaV2Name string `protobuf:"bytes,11,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
	//
	AreaV2ParentName string `protobuf:"bytes,12,opt,name=area_v2_parent_name,json=areaV2ParentName,proto3" json:"area_v2_parent_name"`
	//
	AreaV2ParentId int64 `protobuf:"varint,13,opt,name=area_v2_parent_id,json=areaV2ParentId,proto3" json:"area_v2_parent_id"`
	//
	LiveTagName string `protobuf:"bytes,14,opt,name=live_tag_name,json=liveTagName,proto3" json:"live_tag_name"`
	//
	Online int64 `protobuf:"varint,15,opt,name=online,proto3" json:"online"`
	//
	PlayUrl string `protobuf:"bytes,16,opt,name=play_url,json=playUrl,proto3" json:"play_url"`
	//
	PlayUrlH265 string `protobuf:"bytes,17,opt,name=play_url_h265,json=playUrlH265,proto3" json:"play_url_h265"`
	//
	AcceptQuality []int64 `protobuf:"varint,18,rep,packed,name=accept_quality,json=acceptQuality" json:"accept_quality"`
	//
	CurrentQuality int64 `protobuf:"varint,19,opt,name=current_quality,json=currentQuality,proto3" json:"current_quality"`
	//
	PkId int64 `protobuf:"varint,20,opt,name=pk_id,json=pkId,proto3" json:"pk_id"`
	//
	OfficialVerify int64 `protobuf:"varint,21,opt,name=official_verify,json=officialVerify,proto3" json:"official_verify"`
	//
	Link string `protobuf:"bytes,22,opt,name=link,proto3" json:"link"`
	//
	SpecialAttention int64 `protobuf:"varint,23,opt,name=special_attention,json=specialAttention,proto3" json:"special_attention"`
	//
	PendentRu string `protobuf:"bytes,24,opt,name=pendent_ru,json=pendentRu,proto3" json:"pendent_ru"`
	//
	PendentRuPic string `protobuf:"bytes,25,opt,name=pendent_ru_pic,json=pendentRuPic,proto3" json:"pendent_ru_pic"`
	//
	PendentRuColor string `protobuf:"bytes,26,opt,name=pendent_ru_color,json=pendentRuColor,proto3" json:"pendent_ru_color"`
}

func (*AppLiveHomePageResp_Rooms) Descriptor

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

func (*AppLiveHomePageResp_Rooms) GetAcceptQuality

func (m *AppLiveHomePageResp_Rooms) GetAcceptQuality() []int64

func (*AppLiveHomePageResp_Rooms) GetArea

func (m *AppLiveHomePageResp_Rooms) GetArea() int64

func (*AppLiveHomePageResp_Rooms) GetAreaName

func (m *AppLiveHomePageResp_Rooms) GetAreaName() string

func (*AppLiveHomePageResp_Rooms) GetAreaV2Id

func (m *AppLiveHomePageResp_Rooms) GetAreaV2Id() int64

func (*AppLiveHomePageResp_Rooms) GetAreaV2Name

func (m *AppLiveHomePageResp_Rooms) GetAreaV2Name() string

func (*AppLiveHomePageResp_Rooms) GetAreaV2ParentId

func (m *AppLiveHomePageResp_Rooms) GetAreaV2ParentId() int64

func (*AppLiveHomePageResp_Rooms) GetAreaV2ParentName

func (m *AppLiveHomePageResp_Rooms) GetAreaV2ParentName() string

func (*AppLiveHomePageResp_Rooms) GetCover

func (m *AppLiveHomePageResp_Rooms) GetCover() string

func (*AppLiveHomePageResp_Rooms) GetCurrentQuality

func (m *AppLiveHomePageResp_Rooms) GetCurrentQuality() int64

func (*AppLiveHomePageResp_Rooms) GetFace

func (m *AppLiveHomePageResp_Rooms) GetFace() string
func (m *AppLiveHomePageResp_Rooms) GetLink() string

func (*AppLiveHomePageResp_Rooms) GetLiveTagName

func (m *AppLiveHomePageResp_Rooms) GetLiveTagName() string

func (*AppLiveHomePageResp_Rooms) GetLiveTime

func (m *AppLiveHomePageResp_Rooms) GetLiveTime() string

func (*AppLiveHomePageResp_Rooms) GetOfficialVerify

func (m *AppLiveHomePageResp_Rooms) GetOfficialVerify() int64

func (*AppLiveHomePageResp_Rooms) GetOnline

func (m *AppLiveHomePageResp_Rooms) GetOnline() int64

func (*AppLiveHomePageResp_Rooms) GetPendentRu

func (m *AppLiveHomePageResp_Rooms) GetPendentRu() string

func (*AppLiveHomePageResp_Rooms) GetPendentRuColor

func (m *AppLiveHomePageResp_Rooms) GetPendentRuColor() string

func (*AppLiveHomePageResp_Rooms) GetPendentRuPic

func (m *AppLiveHomePageResp_Rooms) GetPendentRuPic() string

func (*AppLiveHomePageResp_Rooms) GetPkId

func (m *AppLiveHomePageResp_Rooms) GetPkId() int64

func (*AppLiveHomePageResp_Rooms) GetPlayUrl

func (m *AppLiveHomePageResp_Rooms) GetPlayUrl() string

func (*AppLiveHomePageResp_Rooms) GetPlayUrlH265

func (m *AppLiveHomePageResp_Rooms) GetPlayUrlH265() string

func (*AppLiveHomePageResp_Rooms) GetRoomid

func (m *AppLiveHomePageResp_Rooms) GetRoomid() int64

func (*AppLiveHomePageResp_Rooms) GetSpecialAttention

func (m *AppLiveHomePageResp_Rooms) GetSpecialAttention() int64

func (*AppLiveHomePageResp_Rooms) GetTitle

func (m *AppLiveHomePageResp_Rooms) GetTitle() string

func (*AppLiveHomePageResp_Rooms) GetUid

func (m *AppLiveHomePageResp_Rooms) GetUid() int64

func (*AppLiveHomePageResp_Rooms) GetUname

func (m *AppLiveHomePageResp_Rooms) GetUname() string

func (*AppLiveHomePageResp_Rooms) Marshal

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

func (*AppLiveHomePageResp_Rooms) MarshalTo

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

func (*AppLiveHomePageResp_Rooms) ProtoMessage

func (*AppLiveHomePageResp_Rooms) ProtoMessage()

func (*AppLiveHomePageResp_Rooms) Reset

func (m *AppLiveHomePageResp_Rooms) Reset()

func (*AppLiveHomePageResp_Rooms) Size

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

func (*AppLiveHomePageResp_Rooms) String

func (m *AppLiveHomePageResp_Rooms) String() string

func (*AppLiveHomePageResp_Rooms) Unmarshal

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

func (*AppLiveHomePageResp_Rooms) XXX_DiscardUnknown

func (m *AppLiveHomePageResp_Rooms) XXX_DiscardUnknown()

func (*AppLiveHomePageResp_Rooms) XXX_Marshal

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

func (*AppLiveHomePageResp_Rooms) XXX_Merge

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

func (*AppLiveHomePageResp_Rooms) XXX_Size

func (m *AppLiveHomePageResp_Rooms) XXX_Size() int

func (*AppLiveHomePageResp_Rooms) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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