v0

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: 11 Imported by: 0

Documentation

Overview

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

It is generated from these files:

api.proto

Index

Constants

View Source
const AppID = "live.daoanchor"

Variables

View Source
var (
	ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowApi   = fmt.Errorf("proto: integer overflow")
)
View Source
var PathCreateDataCreateCacheList = "/live.daoanchor.v0.CreateData/CreateCacheList"
View Source
var PathCreateDataCreateDBData = "/live.daoanchor.v0.CreateData/CreateDBData"
View Source
var PathCreateDataCreateLiveCacheList = "/live.daoanchor.v0.CreateData/CreateLiveCacheList"
View Source
var PathCreateDataGetContentMap = "/live.daoanchor.v0.CreateData/GetContentMap"
View Source
var PathPopularityAddContent = "/live.daoanchor.v0.Popularity/AddContent"
View Source
var PathPopularityDeleteContent = "/live.daoanchor.v0.Popularity/DeleteContent"
View Source
var PathPopularityEditAnchorGrade = "/live.daoanchor.v0.Popularity/EditAnchorGrade"
View Source
var PathPopularityEditContent = "/live.daoanchor.v0.Popularity/EditContent"
View Source
var PathPopularityGetAnchorGradeList = "/live.daoanchor.v0.Popularity/GetAnchorGradeList"
View Source
var PathPopularityGetContentList = "/live.daoanchor.v0.Popularity/GetContentList"

Functions

func RegisterCreateDataBMServer

func RegisterCreateDataBMServer(e *bm.Engine, server CreateDataBMServer)

RegisterCreateDataBMServer Register the blademaster route

func RegisterCreateDataServer

func RegisterCreateDataServer(s *grpc.Server, srv CreateDataServer)

func RegisterPopularityBMServer

func RegisterPopularityBMServer(e *bm.Engine, server PopularityBMServer)

RegisterPopularityBMServer Register the blademaster route

func RegisterPopularityServer

func RegisterPopularityServer(s *grpc.Server, srv PopularityServer)

Types

type AddAnchorGradeReq

type AddAnchorGradeReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" validate:"dive,gt=0,required"`
	OnlineBase           int64    `protobuf:"varint,2,opt,name=online_base,json=onlineBase,proto3" json:"online_base,omitempty" validate:"dive,gt=0,required"`
	PopularityRate       int64    `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddAnchorGradeReq) Descriptor

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

func (*AddAnchorGradeReq) GetId

func (m *AddAnchorGradeReq) GetId() int64

func (*AddAnchorGradeReq) GetOnlineBase

func (m *AddAnchorGradeReq) GetOnlineBase() int64

func (*AddAnchorGradeReq) GetPopularityRate

func (m *AddAnchorGradeReq) GetPopularityRate() int64

func (*AddAnchorGradeReq) Marshal

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

func (*AddAnchorGradeReq) MarshalTo

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

func (*AddAnchorGradeReq) ProtoMessage

func (*AddAnchorGradeReq) ProtoMessage()

func (*AddAnchorGradeReq) Reset

func (m *AddAnchorGradeReq) Reset()

func (*AddAnchorGradeReq) Size

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

func (*AddAnchorGradeReq) String

func (m *AddAnchorGradeReq) String() string

func (*AddAnchorGradeReq) Unmarshal

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

func (*AddAnchorGradeReq) XXX_DiscardUnknown

func (m *AddAnchorGradeReq) XXX_DiscardUnknown()

func (*AddAnchorGradeReq) XXX_Marshal

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

func (*AddAnchorGradeReq) XXX_Merge

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

func (*AddAnchorGradeReq) XXX_Size

func (m *AddAnchorGradeReq) XXX_Size() int

func (*AddAnchorGradeReq) XXX_Unmarshal

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

type AddAnchorGradeResp

type AddAnchorGradeResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddAnchorGradeResp) Descriptor

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

func (*AddAnchorGradeResp) Marshal

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

func (*AddAnchorGradeResp) MarshalTo

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

func (*AddAnchorGradeResp) ProtoMessage

func (*AddAnchorGradeResp) ProtoMessage()

func (*AddAnchorGradeResp) Reset

func (m *AddAnchorGradeResp) Reset()

func (*AddAnchorGradeResp) Size

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

func (*AddAnchorGradeResp) String

func (m *AddAnchorGradeResp) String() string

func (*AddAnchorGradeResp) Unmarshal

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

func (*AddAnchorGradeResp) XXX_DiscardUnknown

func (m *AddAnchorGradeResp) XXX_DiscardUnknown()

func (*AddAnchorGradeResp) XXX_Marshal

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

func (*AddAnchorGradeResp) XXX_Merge

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

func (*AddAnchorGradeResp) XXX_Size

func (m *AddAnchorGradeResp) XXX_Size() int

func (*AddAnchorGradeResp) XXX_Unmarshal

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

type AddContentReq

type AddContentReq struct {
	ParentId             int64    `protobuf:"varint,1,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty" validate:"dive,gt=0,required"`
	List                 []int64  `protobuf:"varint,2,rep,packed,name=list" json:"list,omitempty" validate:"dive,gt=0,required"`
	PopularityRate       int64    `` /* 134-byte string literal not displayed */
	IsAll                int64    `protobuf:"varint,4,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty" validate:"dive,gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddContentReq) Descriptor

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

func (*AddContentReq) GetIsAll

func (m *AddContentReq) GetIsAll() int64

func (*AddContentReq) GetList

func (m *AddContentReq) GetList() []int64

func (*AddContentReq) GetParentId

func (m *AddContentReq) GetParentId() int64

func (*AddContentReq) GetPopularityRate

func (m *AddContentReq) GetPopularityRate() int64

func (*AddContentReq) Marshal

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

func (*AddContentReq) MarshalTo

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

func (*AddContentReq) ProtoMessage

func (*AddContentReq) ProtoMessage()

func (*AddContentReq) Reset

func (m *AddContentReq) Reset()

func (*AddContentReq) Size

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

func (*AddContentReq) String

func (m *AddContentReq) String() string

func (*AddContentReq) Unmarshal

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

func (*AddContentReq) XXX_DiscardUnknown

func (m *AddContentReq) XXX_DiscardUnknown()

func (*AddContentReq) XXX_Marshal

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

func (*AddContentReq) XXX_Merge

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

func (*AddContentReq) XXX_Size

func (m *AddContentReq) XXX_Size() int

func (*AddContentReq) XXX_Unmarshal

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

type AddContentResp

type AddContentResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddContentResp) Descriptor

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

func (*AddContentResp) Marshal

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

func (*AddContentResp) MarshalTo

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

func (*AddContentResp) ProtoMessage

func (*AddContentResp) ProtoMessage()

func (*AddContentResp) Reset

func (m *AddContentResp) Reset()

func (*AddContentResp) Size

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

func (*AddContentResp) String

func (m *AddContentResp) String() string

func (*AddContentResp) Unmarshal

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

func (*AddContentResp) XXX_DiscardUnknown

func (m *AddContentResp) XXX_DiscardUnknown()

func (*AddContentResp) XXX_Marshal

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

func (*AddContentResp) XXX_Merge

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

func (*AddContentResp) XXX_Size

func (m *AddContentResp) XXX_Size() int

func (*AddContentResp) XXX_Unmarshal

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

type Client

type Client struct {
	CreateDataClient
}

func NewClient

func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (*Client, error)

NewClient new anchor grpc client

type CreateCacheListReq

type CreateCacheListReq struct {
	RoomIds              []int64  `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
	Content              string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateCacheListReq) Descriptor

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

func (*CreateCacheListReq) GetContent

func (m *CreateCacheListReq) GetContent() string

func (*CreateCacheListReq) GetRoomIds

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

func (*CreateCacheListReq) Marshal

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

func (*CreateCacheListReq) MarshalTo

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

func (*CreateCacheListReq) ProtoMessage

func (*CreateCacheListReq) ProtoMessage()

func (*CreateCacheListReq) Reset

func (m *CreateCacheListReq) Reset()

func (*CreateCacheListReq) Size

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

func (*CreateCacheListReq) String

func (m *CreateCacheListReq) String() string

func (*CreateCacheListReq) Unmarshal

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

func (*CreateCacheListReq) XXX_DiscardUnknown

func (m *CreateCacheListReq) XXX_DiscardUnknown()

func (*CreateCacheListReq) XXX_Marshal

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

func (*CreateCacheListReq) XXX_Merge

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

func (*CreateCacheListReq) XXX_Size

func (m *CreateCacheListReq) XXX_Size() int

func (*CreateCacheListReq) XXX_Unmarshal

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

type CreateCacheListResp

type CreateCacheListResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateCacheListResp) Descriptor

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

func (*CreateCacheListResp) Marshal

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

func (*CreateCacheListResp) MarshalTo

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

func (*CreateCacheListResp) ProtoMessage

func (*CreateCacheListResp) ProtoMessage()

func (*CreateCacheListResp) Reset

func (m *CreateCacheListResp) Reset()

func (*CreateCacheListResp) Size

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

func (*CreateCacheListResp) String

func (m *CreateCacheListResp) String() string

func (*CreateCacheListResp) Unmarshal

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

func (*CreateCacheListResp) XXX_DiscardUnknown

func (m *CreateCacheListResp) XXX_DiscardUnknown()

func (*CreateCacheListResp) XXX_Marshal

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

func (*CreateCacheListResp) XXX_Merge

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

func (*CreateCacheListResp) XXX_Size

func (m *CreateCacheListResp) XXX_Size() int

func (*CreateCacheListResp) XXX_Unmarshal

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

type CreateDBDataReq

type CreateDBDataReq struct {
	RoomIds              []int64  `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
	Content              string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateDBDataReq) Descriptor

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

func (*CreateDBDataReq) GetContent

func (m *CreateDBDataReq) GetContent() string

func (*CreateDBDataReq) GetRoomIds

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

func (*CreateDBDataReq) Marshal

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

func (*CreateDBDataReq) MarshalTo

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

func (*CreateDBDataReq) ProtoMessage

func (*CreateDBDataReq) ProtoMessage()

func (*CreateDBDataReq) Reset

func (m *CreateDBDataReq) Reset()

func (*CreateDBDataReq) Size

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

func (*CreateDBDataReq) String

func (m *CreateDBDataReq) String() string

func (*CreateDBDataReq) Unmarshal

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

func (*CreateDBDataReq) XXX_DiscardUnknown

func (m *CreateDBDataReq) XXX_DiscardUnknown()

func (*CreateDBDataReq) XXX_Marshal

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

func (*CreateDBDataReq) XXX_Merge

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

func (*CreateDBDataReq) XXX_Size

func (m *CreateDBDataReq) XXX_Size() int

func (*CreateDBDataReq) XXX_Unmarshal

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

type CreateDBDataResp

type CreateDBDataResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateDBDataResp) Descriptor

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

func (*CreateDBDataResp) Marshal

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

func (*CreateDBDataResp) MarshalTo

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

func (*CreateDBDataResp) ProtoMessage

func (*CreateDBDataResp) ProtoMessage()

func (*CreateDBDataResp) Reset

func (m *CreateDBDataResp) Reset()

func (*CreateDBDataResp) Size

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

func (*CreateDBDataResp) String

func (m *CreateDBDataResp) String() string

func (*CreateDBDataResp) Unmarshal

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

func (*CreateDBDataResp) XXX_DiscardUnknown

func (m *CreateDBDataResp) XXX_DiscardUnknown()

func (*CreateDBDataResp) XXX_Marshal

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

func (*CreateDBDataResp) XXX_Merge

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

func (*CreateDBDataResp) XXX_Size

func (m *CreateDBDataResp) XXX_Size() int

func (*CreateDBDataResp) XXX_Unmarshal

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

type CreateDataBMServer

type CreateDataBMServer interface {
	// CreateCacheList 生成历史数据缓存列表
	CreateCacheList(ctx context.Context, req *CreateCacheListReq) (resp *CreateCacheListResp, err error)

	// CreateLiveCacheList 生成开播历史数据缓存列表
	CreateLiveCacheList(ctx context.Context, req *CreateLiveCacheListReq) (resp *CreateLiveCacheListResp, err error)

	// GetContentMap 获取需要生成历史数据的对象列表
	GetContentMap(ctx context.Context, req *GetContentMapReq) (resp *GetContentMapResp, err error)

	CreateDBData(ctx context.Context, req *CreateDBDataReq) (resp *CreateDBDataResp, err error)
}

type CreateDataClient

type CreateDataClient interface {
	// CreateCacheList 生成历史数据缓存列表
	CreateCacheList(ctx context.Context, in *CreateCacheListReq, opts ...grpc.CallOption) (*CreateCacheListResp, error)
	// CreateLiveCacheList 生成开播历史数据缓存列表
	CreateLiveCacheList(ctx context.Context, in *CreateLiveCacheListReq, opts ...grpc.CallOption) (*CreateLiveCacheListResp, error)
	// GetContentMap 获取需要生成历史数据的对象列表
	GetContentMap(ctx context.Context, in *GetContentMapReq, opts ...grpc.CallOption) (*GetContentMapResp, error)
	CreateDBData(ctx context.Context, in *CreateDBDataReq, opts ...grpc.CallOption) (*CreateDBDataResp, error)
}

CreateDataClient is the client API for CreateData service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewCreateDataClient

func NewCreateDataClient(cc *grpc.ClientConn) CreateDataClient

type CreateDataServer

type CreateDataServer interface {
	// CreateCacheList 生成历史数据缓存列表
	CreateCacheList(context.Context, *CreateCacheListReq) (*CreateCacheListResp, error)
	// CreateLiveCacheList 生成开播历史数据缓存列表
	CreateLiveCacheList(context.Context, *CreateLiveCacheListReq) (*CreateLiveCacheListResp, error)
	// GetContentMap 获取需要生成历史数据的对象列表
	GetContentMap(context.Context, *GetContentMapReq) (*GetContentMapResp, error)
	CreateDBData(context.Context, *CreateDBDataReq) (*CreateDBDataResp, error)
}

CreateDataServer is the server API for CreateData service.

type CreateLiveCacheListReq

type CreateLiveCacheListReq struct {
	RoomIds              []int64  `protobuf:"varint,1,rep,packed,name=room_ids,json=roomIds" json:"room_ids,omitempty"`
	Content              string   `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLiveCacheListReq) Descriptor

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

func (*CreateLiveCacheListReq) GetContent

func (m *CreateLiveCacheListReq) GetContent() string

func (*CreateLiveCacheListReq) GetRoomIds

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

func (*CreateLiveCacheListReq) Marshal

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

func (*CreateLiveCacheListReq) MarshalTo

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

func (*CreateLiveCacheListReq) ProtoMessage

func (*CreateLiveCacheListReq) ProtoMessage()

func (*CreateLiveCacheListReq) Reset

func (m *CreateLiveCacheListReq) Reset()

func (*CreateLiveCacheListReq) Size

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

func (*CreateLiveCacheListReq) String

func (m *CreateLiveCacheListReq) String() string

func (*CreateLiveCacheListReq) Unmarshal

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

func (*CreateLiveCacheListReq) XXX_DiscardUnknown

func (m *CreateLiveCacheListReq) XXX_DiscardUnknown()

func (*CreateLiveCacheListReq) XXX_Marshal

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

func (*CreateLiveCacheListReq) XXX_Merge

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

func (*CreateLiveCacheListReq) XXX_Size

func (m *CreateLiveCacheListReq) XXX_Size() int

func (*CreateLiveCacheListReq) XXX_Unmarshal

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

type CreateLiveCacheListResp

type CreateLiveCacheListResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateLiveCacheListResp) Descriptor

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

func (*CreateLiveCacheListResp) Marshal

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

func (*CreateLiveCacheListResp) MarshalTo

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

func (*CreateLiveCacheListResp) ProtoMessage

func (*CreateLiveCacheListResp) ProtoMessage()

func (*CreateLiveCacheListResp) Reset

func (m *CreateLiveCacheListResp) Reset()

func (*CreateLiveCacheListResp) Size

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

func (*CreateLiveCacheListResp) String

func (m *CreateLiveCacheListResp) String() string

func (*CreateLiveCacheListResp) Unmarshal

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

func (*CreateLiveCacheListResp) XXX_DiscardUnknown

func (m *CreateLiveCacheListResp) XXX_DiscardUnknown()

func (*CreateLiveCacheListResp) XXX_Marshal

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

func (*CreateLiveCacheListResp) XXX_Merge

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

func (*CreateLiveCacheListResp) XXX_Size

func (m *CreateLiveCacheListResp) XXX_Size() int

func (*CreateLiveCacheListResp) XXX_Unmarshal

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

type DeleteContentReq

type DeleteContentReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" validate:"dive,gt=0,required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteContentReq) Descriptor

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

func (*DeleteContentReq) GetId

func (m *DeleteContentReq) GetId() int64

func (*DeleteContentReq) Marshal

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

func (*DeleteContentReq) MarshalTo

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

func (*DeleteContentReq) ProtoMessage

func (*DeleteContentReq) ProtoMessage()

func (*DeleteContentReq) Reset

func (m *DeleteContentReq) Reset()

func (*DeleteContentReq) Size

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

func (*DeleteContentReq) String

func (m *DeleteContentReq) String() string

func (*DeleteContentReq) Unmarshal

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

func (*DeleteContentReq) XXX_DiscardUnknown

func (m *DeleteContentReq) XXX_DiscardUnknown()

func (*DeleteContentReq) XXX_Marshal

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

func (*DeleteContentReq) XXX_Merge

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

func (*DeleteContentReq) XXX_Size

func (m *DeleteContentReq) XXX_Size() int

func (*DeleteContentReq) XXX_Unmarshal

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

type DeleteContentResp

type DeleteContentResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteContentResp) Descriptor

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

func (*DeleteContentResp) Marshal

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

func (*DeleteContentResp) MarshalTo

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

func (*DeleteContentResp) ProtoMessage

func (*DeleteContentResp) ProtoMessage()

func (*DeleteContentResp) Reset

func (m *DeleteContentResp) Reset()

func (*DeleteContentResp) Size

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

func (*DeleteContentResp) String

func (m *DeleteContentResp) String() string

func (*DeleteContentResp) Unmarshal

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

func (*DeleteContentResp) XXX_DiscardUnknown

func (m *DeleteContentResp) XXX_DiscardUnknown()

func (*DeleteContentResp) XXX_Marshal

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

func (*DeleteContentResp) XXX_Merge

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

func (*DeleteContentResp) XXX_Size

func (m *DeleteContentResp) XXX_Size() int

func (*DeleteContentResp) XXX_Unmarshal

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

type EditAnchorGradeReq

type EditAnchorGradeReq struct {
	GradeId              int64    `protobuf:"varint,1,opt,name=grade_id,json=gradeId,proto3" json:"grade_id,omitempty" validate:"dive,gt=0,required"`
	OnlineBase           int64    `protobuf:"varint,2,opt,name=online_base,json=onlineBase,proto3" json:"online_base,omitempty" validate:"dive,gt=0,required"`
	PopularityRate       int64    `` /* 134-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EditAnchorGradeReq) Descriptor

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

func (*EditAnchorGradeReq) GetGradeId

func (m *EditAnchorGradeReq) GetGradeId() int64

func (*EditAnchorGradeReq) GetOnlineBase

func (m *EditAnchorGradeReq) GetOnlineBase() int64

func (*EditAnchorGradeReq) GetPopularityRate

func (m *EditAnchorGradeReq) GetPopularityRate() int64

func (*EditAnchorGradeReq) Marshal

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

func (*EditAnchorGradeReq) MarshalTo

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

func (*EditAnchorGradeReq) ProtoMessage

func (*EditAnchorGradeReq) ProtoMessage()

func (*EditAnchorGradeReq) Reset

func (m *EditAnchorGradeReq) Reset()

func (*EditAnchorGradeReq) Size

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

func (*EditAnchorGradeReq) String

func (m *EditAnchorGradeReq) String() string

func (*EditAnchorGradeReq) Unmarshal

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

func (*EditAnchorGradeReq) XXX_DiscardUnknown

func (m *EditAnchorGradeReq) XXX_DiscardUnknown()

func (*EditAnchorGradeReq) XXX_Marshal

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

func (*EditAnchorGradeReq) XXX_Merge

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

func (*EditAnchorGradeReq) XXX_Size

func (m *EditAnchorGradeReq) XXX_Size() int

func (*EditAnchorGradeReq) XXX_Unmarshal

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

type EditAnchorGradeResp

type EditAnchorGradeResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EditAnchorGradeResp) Descriptor

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

func (*EditAnchorGradeResp) Marshal

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

func (*EditAnchorGradeResp) MarshalTo

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

func (*EditAnchorGradeResp) ProtoMessage

func (*EditAnchorGradeResp) ProtoMessage()

func (*EditAnchorGradeResp) Reset

func (m *EditAnchorGradeResp) Reset()

func (*EditAnchorGradeResp) Size

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

func (*EditAnchorGradeResp) String

func (m *EditAnchorGradeResp) String() string

func (*EditAnchorGradeResp) Unmarshal

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

func (*EditAnchorGradeResp) XXX_DiscardUnknown

func (m *EditAnchorGradeResp) XXX_DiscardUnknown()

func (*EditAnchorGradeResp) XXX_Marshal

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

func (*EditAnchorGradeResp) XXX_Merge

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

func (*EditAnchorGradeResp) XXX_Size

func (m *EditAnchorGradeResp) XXX_Size() int

func (*EditAnchorGradeResp) XXX_Unmarshal

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

type EditContentReq

type EditContentReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" validate:"dive,gt=0,required"`
	PopularityRate       int64    `protobuf:"varint,2,opt,name=popularity_rate,json=popularityRate,proto3" json:"popularity_rate,omitempty"`
	List                 []int64  `protobuf:"varint,3,rep,packed,name=list" json:"list,omitempty"`
	ParentId             int64    `protobuf:"varint,4,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
	IsAll                int64    `protobuf:"varint,5,opt,name=is_all,json=isAll,proto3" json:"is_all,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EditContentReq) Descriptor

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

func (*EditContentReq) GetId

func (m *EditContentReq) GetId() int64

func (*EditContentReq) GetIsAll

func (m *EditContentReq) GetIsAll() int64

func (*EditContentReq) GetList

func (m *EditContentReq) GetList() []int64

func (*EditContentReq) GetParentId

func (m *EditContentReq) GetParentId() int64

func (*EditContentReq) GetPopularityRate

func (m *EditContentReq) GetPopularityRate() int64

func (*EditContentReq) Marshal

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

func (*EditContentReq) MarshalTo

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

func (*EditContentReq) ProtoMessage

func (*EditContentReq) ProtoMessage()

func (*EditContentReq) Reset

func (m *EditContentReq) Reset()

func (*EditContentReq) Size

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

func (*EditContentReq) String

func (m *EditContentReq) String() string

func (*EditContentReq) Unmarshal

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

func (*EditContentReq) XXX_DiscardUnknown

func (m *EditContentReq) XXX_DiscardUnknown()

func (*EditContentReq) XXX_Marshal

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

func (*EditContentReq) XXX_Merge

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

func (*EditContentReq) XXX_Size

func (m *EditContentReq) XXX_Size() int

func (*EditContentReq) XXX_Unmarshal

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

type EditContentResp

type EditContentResp struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EditContentResp) Descriptor

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

func (*EditContentResp) Marshal

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

func (*EditContentResp) MarshalTo

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

func (*EditContentResp) ProtoMessage

func (*EditContentResp) ProtoMessage()

func (*EditContentResp) Reset

func (m *EditContentResp) Reset()

func (*EditContentResp) Size

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

func (*EditContentResp) String

func (m *EditContentResp) String() string

func (*EditContentResp) Unmarshal

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

func (*EditContentResp) XXX_DiscardUnknown

func (m *EditContentResp) XXX_DiscardUnknown()

func (*EditContentResp) XXX_Marshal

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

func (*EditContentResp) XXX_Merge

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

func (*EditContentResp) XXX_Size

func (m *EditContentResp) XXX_Size() int

func (*EditContentResp) XXX_Unmarshal

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

type GetAnchorGradeListReq

type GetAnchorGradeListReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAnchorGradeListReq) Descriptor

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

func (*GetAnchorGradeListReq) Marshal

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

func (*GetAnchorGradeListReq) MarshalTo

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

func (*GetAnchorGradeListReq) ProtoMessage

func (*GetAnchorGradeListReq) ProtoMessage()

func (*GetAnchorGradeListReq) Reset

func (m *GetAnchorGradeListReq) Reset()

func (*GetAnchorGradeListReq) Size

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

func (*GetAnchorGradeListReq) String

func (m *GetAnchorGradeListReq) String() string

func (*GetAnchorGradeListReq) Unmarshal

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

func (*GetAnchorGradeListReq) XXX_DiscardUnknown

func (m *GetAnchorGradeListReq) XXX_DiscardUnknown()

func (*GetAnchorGradeListReq) XXX_Marshal

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

func (*GetAnchorGradeListReq) XXX_Merge

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

func (*GetAnchorGradeListReq) XXX_Size

func (m *GetAnchorGradeListReq) XXX_Size() int

func (*GetAnchorGradeListReq) XXX_Unmarshal

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

type GetAnchorGradeListResp

type GetAnchorGradeListResp struct {
	List                 []*GetAnchorGradeListResp_List `protobuf:"bytes,1,rep,name=list" json:"list"`
	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
	XXX_unrecognized     []byte                         `json:"-"`
	XXX_sizecache        int32                          `json:"-"`
}

func (*GetAnchorGradeListResp) Descriptor

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

func (*GetAnchorGradeListResp) GetList

func (*GetAnchorGradeListResp) Marshal

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

func (*GetAnchorGradeListResp) MarshalTo

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

func (*GetAnchorGradeListResp) ProtoMessage

func (*GetAnchorGradeListResp) ProtoMessage()

func (*GetAnchorGradeListResp) Reset

func (m *GetAnchorGradeListResp) Reset()

func (*GetAnchorGradeListResp) Size

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

func (*GetAnchorGradeListResp) String

func (m *GetAnchorGradeListResp) String() string

func (*GetAnchorGradeListResp) Unmarshal

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

func (*GetAnchorGradeListResp) XXX_DiscardUnknown

func (m *GetAnchorGradeListResp) XXX_DiscardUnknown()

func (*GetAnchorGradeListResp) XXX_Marshal

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

func (*GetAnchorGradeListResp) XXX_Merge

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

func (*GetAnchorGradeListResp) XXX_Size

func (m *GetAnchorGradeListResp) XXX_Size() int

func (*GetAnchorGradeListResp) XXX_Unmarshal

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

type GetAnchorGradeListResp_List

type GetAnchorGradeListResp_List struct {
	// 主播评级id 1=>S;2=>A;3=>B...
	GradeId int64 `protobuf:"varint,1,opt,name=grade_id,json=gradeId,proto3" json:"grade_id"`
	// 主播评级名称 S;A;B...
	GradeName string `protobuf:"bytes,2,opt,name=grade_name,json=gradeName,proto3" json:"grade_name"`
	// 人数基数
	BaseOnline int64 `protobuf:"varint,3,opt,name=base_online,json=baseOnline,proto3" json:"online_base"`
	// 人气倍数
	PopularityRate       int64    `protobuf:"varint,4,opt,name=popularity_rate,json=popularityRate,proto3" json:"popularity_rate"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetAnchorGradeListResp_List) Descriptor

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

func (*GetAnchorGradeListResp_List) GetBaseOnline

func (m *GetAnchorGradeListResp_List) GetBaseOnline() int64

func (*GetAnchorGradeListResp_List) GetGradeId

func (m *GetAnchorGradeListResp_List) GetGradeId() int64

func (*GetAnchorGradeListResp_List) GetGradeName

func (m *GetAnchorGradeListResp_List) GetGradeName() string

func (*GetAnchorGradeListResp_List) GetPopularityRate

func (m *GetAnchorGradeListResp_List) GetPopularityRate() int64

func (*GetAnchorGradeListResp_List) Marshal

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

func (*GetAnchorGradeListResp_List) MarshalTo

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

func (*GetAnchorGradeListResp_List) ProtoMessage

func (*GetAnchorGradeListResp_List) ProtoMessage()

func (*GetAnchorGradeListResp_List) Reset

func (m *GetAnchorGradeListResp_List) Reset()

func (*GetAnchorGradeListResp_List) Size

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

func (*GetAnchorGradeListResp_List) String

func (m *GetAnchorGradeListResp_List) String() string

func (*GetAnchorGradeListResp_List) Unmarshal

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

func (*GetAnchorGradeListResp_List) XXX_DiscardUnknown

func (m *GetAnchorGradeListResp_List) XXX_DiscardUnknown()

func (*GetAnchorGradeListResp_List) XXX_Marshal

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

func (*GetAnchorGradeListResp_List) XXX_Merge

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

func (*GetAnchorGradeListResp_List) XXX_Size

func (m *GetAnchorGradeListResp_List) XXX_Size() int

func (*GetAnchorGradeListResp_List) XXX_Unmarshal

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

type GetContentListReq

type GetContentListReq struct {
	Page                 int64    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize             int64    `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetContentListReq) Descriptor

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

func (*GetContentListReq) GetPage

func (m *GetContentListReq) GetPage() int64

func (*GetContentListReq) GetPageSize

func (m *GetContentListReq) GetPageSize() int64

func (*GetContentListReq) Marshal

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

func (*GetContentListReq) MarshalTo

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

func (*GetContentListReq) ProtoMessage

func (*GetContentListReq) ProtoMessage()

func (*GetContentListReq) Reset

func (m *GetContentListReq) Reset()

func (*GetContentListReq) Size

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

func (*GetContentListReq) String

func (m *GetContentListReq) String() string

func (*GetContentListReq) Unmarshal

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

func (*GetContentListReq) XXX_DiscardUnknown

func (m *GetContentListReq) XXX_DiscardUnknown()

func (*GetContentListReq) XXX_Marshal

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

func (*GetContentListReq) XXX_Merge

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

func (*GetContentListReq) XXX_Size

func (m *GetContentListReq) XXX_Size() int

func (*GetContentListReq) XXX_Unmarshal

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

type GetContentListResp

type GetContentListResp struct {
	Page                 int64                      `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PageSize             int64                      `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	TotalCount           int64                      `protobuf:"varint,3,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	List                 []*GetContentListResp_List `protobuf:"bytes,4,rep,name=list" json:"list"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*GetContentListResp) Descriptor

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

func (*GetContentListResp) GetList

func (*GetContentListResp) GetPage

func (m *GetContentListResp) GetPage() int64

func (*GetContentListResp) GetPageSize

func (m *GetContentListResp) GetPageSize() int64

func (*GetContentListResp) GetTotalCount

func (m *GetContentListResp) GetTotalCount() int64

func (*GetContentListResp) Marshal

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

func (*GetContentListResp) MarshalTo

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

func (*GetContentListResp) ProtoMessage

func (*GetContentListResp) ProtoMessage()

func (*GetContentListResp) Reset

func (m *GetContentListResp) Reset()

func (*GetContentListResp) Size

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

func (*GetContentListResp) String

func (m *GetContentListResp) String() string

func (*GetContentListResp) Unmarshal

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

func (*GetContentListResp) XXX_DiscardUnknown

func (m *GetContentListResp) XXX_DiscardUnknown()

func (*GetContentListResp) XXX_Marshal

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

func (*GetContentListResp) XXX_Merge

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

func (*GetContentListResp) XXX_Size

func (m *GetContentListResp) XXX_Size() int

func (*GetContentListResp) XXX_Unmarshal

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

type GetContentListResp_List

type GetContentListResp_List struct {
	// 父分区id
	ParentAreaId int64 `protobuf:"varint,1,opt,name=parent_area_id,json=parentAreaId,proto3" json:"parent_area_id"`
	// 父分区名称
	ParentAreaName string `protobuf:"bytes,2,opt,name=parent_area_name,json=parentAreaName,proto3" json:"parent_area_name"`
	// 二级分区信息<id,name>
	AreaList map[int64]string `` /* 157-byte string literal not displayed */
	// 人气倍率系数
	PopularityRate       int64    `protobuf:"varint,4,opt,name=popularity_rate,json=popularityRate,proto3" json:"popularity_rate"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetContentListResp_List) Descriptor

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

func (*GetContentListResp_List) GetAreaList

func (m *GetContentListResp_List) GetAreaList() map[int64]string

func (*GetContentListResp_List) GetParentAreaId

func (m *GetContentListResp_List) GetParentAreaId() int64

func (*GetContentListResp_List) GetParentAreaName

func (m *GetContentListResp_List) GetParentAreaName() string

func (*GetContentListResp_List) GetPopularityRate

func (m *GetContentListResp_List) GetPopularityRate() int64

func (*GetContentListResp_List) Marshal

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

func (*GetContentListResp_List) MarshalTo

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

func (*GetContentListResp_List) ProtoMessage

func (*GetContentListResp_List) ProtoMessage()

func (*GetContentListResp_List) Reset

func (m *GetContentListResp_List) Reset()

func (*GetContentListResp_List) Size

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

func (*GetContentListResp_List) String

func (m *GetContentListResp_List) String() string

func (*GetContentListResp_List) Unmarshal

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

func (*GetContentListResp_List) XXX_DiscardUnknown

func (m *GetContentListResp_List) XXX_DiscardUnknown()

func (*GetContentListResp_List) XXX_Marshal

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

func (*GetContentListResp_List) XXX_Merge

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

func (*GetContentListResp_List) XXX_Size

func (m *GetContentListResp_List) XXX_Size() int

func (*GetContentListResp_List) XXX_Unmarshal

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

type GetContentMapReq

type GetContentMapReq struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetContentMapReq) Descriptor

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

func (*GetContentMapReq) Marshal

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

func (*GetContentMapReq) MarshalTo

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

func (*GetContentMapReq) ProtoMessage

func (*GetContentMapReq) ProtoMessage()

func (*GetContentMapReq) Reset

func (m *GetContentMapReq) Reset()

func (*GetContentMapReq) Size

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

func (*GetContentMapReq) String

func (m *GetContentMapReq) String() string

func (*GetContentMapReq) Unmarshal

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

func (*GetContentMapReq) XXX_DiscardUnknown

func (m *GetContentMapReq) XXX_DiscardUnknown()

func (*GetContentMapReq) XXX_Marshal

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

func (*GetContentMapReq) XXX_Merge

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

func (*GetContentMapReq) XXX_Size

func (m *GetContentMapReq) XXX_Size() int

func (*GetContentMapReq) XXX_Unmarshal

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

type GetContentMapResp

type GetContentMapResp struct {
	List                 map[string]int64 `` /* 143-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*GetContentMapResp) Descriptor

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

func (*GetContentMapResp) GetList

func (m *GetContentMapResp) GetList() map[string]int64

func (*GetContentMapResp) Marshal

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

func (*GetContentMapResp) MarshalTo

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

func (*GetContentMapResp) ProtoMessage

func (*GetContentMapResp) ProtoMessage()

func (*GetContentMapResp) Reset

func (m *GetContentMapResp) Reset()

func (*GetContentMapResp) Size

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

func (*GetContentMapResp) String

func (m *GetContentMapResp) String() string

func (*GetContentMapResp) Unmarshal

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

func (*GetContentMapResp) XXX_DiscardUnknown

func (m *GetContentMapResp) XXX_DiscardUnknown()

func (*GetContentMapResp) XXX_Marshal

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

func (*GetContentMapResp) XXX_Merge

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

func (*GetContentMapResp) XXX_Size

func (m *GetContentMapResp) XXX_Size() int

func (*GetContentMapResp) XXX_Unmarshal

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

type PopularityBMServer

type PopularityBMServer interface {
	// GetAnchorGradeList 获取人气值主播评级列表
	GetAnchorGradeList(ctx context.Context, req *GetAnchorGradeListReq) (resp *GetAnchorGradeListResp, err error)

	// EditAnchorGrade  编辑主播评级对应的人气值数据
	EditAnchorGrade(ctx context.Context, req *EditAnchorGradeReq) (resp *EditAnchorGradeResp, err error)

	// GetContentList  人气内容系数列表
	GetContentList(ctx context.Context, req *GetContentListReq) (resp *GetContentListResp, err error)

	// AddContent 添加内容系数
	AddContent(ctx context.Context, req *AddContentReq) (resp *AddContentResp, err error)

	// EditContent 编辑内容系数
	EditContent(ctx context.Context, req *EditContentReq) (resp *EditContentResp, err error)

	// DeleteContent 删除内容系数
	DeleteContent(ctx context.Context, req *DeleteContentReq) (resp *DeleteContentResp, err error)
}

人气相关接口

type PopularityClient

type PopularityClient interface {
	// GetAnchorGradeList 获取人气值主播评级列表
	GetAnchorGradeList(ctx context.Context, in *GetAnchorGradeListReq, opts ...grpc.CallOption) (*GetAnchorGradeListResp, error)
	// EditAnchorGrade  编辑主播评级对应的人气值数据
	EditAnchorGrade(ctx context.Context, in *EditAnchorGradeReq, opts ...grpc.CallOption) (*EditAnchorGradeResp, error)
	// GetContentList  人气内容系数列表
	GetContentList(ctx context.Context, in *GetContentListReq, opts ...grpc.CallOption) (*GetContentListResp, error)
	// AddContent 添加内容系数
	AddContent(ctx context.Context, in *AddContentReq, opts ...grpc.CallOption) (*AddContentResp, error)
	// EditContent 编辑内容系数
	EditContent(ctx context.Context, in *EditContentReq, opts ...grpc.CallOption) (*EditContentResp, error)
	// DeleteContent 删除内容系数
	DeleteContent(ctx context.Context, in *DeleteContentReq, opts ...grpc.CallOption) (*DeleteContentResp, error)
}

PopularityClient is the client API for Popularity service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPopularityClient

func NewPopularityClient(cc *grpc.ClientConn) PopularityClient

type PopularityServer

type PopularityServer interface {
	// GetAnchorGradeList 获取人气值主播评级列表
	GetAnchorGradeList(context.Context, *GetAnchorGradeListReq) (*GetAnchorGradeListResp, error)
	// EditAnchorGrade  编辑主播评级对应的人气值数据
	EditAnchorGrade(context.Context, *EditAnchorGradeReq) (*EditAnchorGradeResp, error)
	// GetContentList  人气内容系数列表
	GetContentList(context.Context, *GetContentListReq) (*GetContentListResp, error)
	// AddContent 添加内容系数
	AddContent(context.Context, *AddContentReq) (*AddContentResp, error)
	// EditContent 编辑内容系数
	EditContent(context.Context, *EditContentReq) (*EditContentResp, error)
	// DeleteContent 删除内容系数
	DeleteContent(context.Context, *DeleteContentReq) (*DeleteContentResp, error)
}

PopularityServer is the server API for Popularity service.

Jump to

Keyboard shortcuts

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