api

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

Documentation

Index

Constants

View Source
const (
	TopicStateAvailable   = 0
	TopicStateUnAvailable = 1

	TopicVideoStateAvailable   = 0
	TopicVideoStateUnAvailable = 1
)

话题的状态

View Source
const (
	TopicHotTypeHot     = 1 // 热门
	TopicHotTypeHistory = 2 // 历史,暂时只有客户端使用
	TopicHotTypeStick   = 4 // 置顶
)

话题热门类型的enum,用于TopicInfo->HotType字段 开始时使用了hot_type,但其实就是表示特殊的话题状态

View Source
const AppID = "bbq.service.topic"

AppID unique app id for service discovery

Variables

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

Functions

func RegisterTopicServer

func RegisterTopicServer(s *grpc.Server, srv TopicServer)

func Transform2Interface

func Transform2Interface(ctx context.Context, data []byte) (inter interface{}, err error)

Transform2Interface 转换成interface

Types

type Extension

type Extension struct {
	TitleExtra           []*TitleExtraItem `protobuf:"bytes,1,rep,name=title_extra,json=titleExtra" json:"title_extra,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

结构化的extension,真正的extension

func (*Extension) Descriptor

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

func (*Extension) Marshal

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

func (*Extension) MarshalTo

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

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) Reset

func (m *Extension) Reset()

func (*Extension) Size

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

func (*Extension) String

func (m *Extension) String() string

func (*Extension) Unmarshal

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

func (*Extension) XXX_DiscardUnknown

func (m *Extension) XXX_DiscardUnknown()

func (*Extension) XXX_Marshal

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

func (*Extension) XXX_Merge

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

func (*Extension) XXX_Size

func (m *Extension) XXX_Size() int

func (*Extension) XXX_Unmarshal

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

type ListCmsTopicsReply

type ListCmsTopicsReply struct {
	HasMore              bool         `protobuf:"varint,1,opt,name=has_more,json=hasMore,proto3" json:"has_more"`
	List                 []*TopicInfo `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListCmsTopicsReply) Descriptor

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

func (*ListCmsTopicsReply) Marshal

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

func (*ListCmsTopicsReply) MarshalTo

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

func (*ListCmsTopicsReply) ProtoMessage

func (*ListCmsTopicsReply) ProtoMessage()

func (*ListCmsTopicsReply) Reset

func (m *ListCmsTopicsReply) Reset()

func (*ListCmsTopicsReply) Size

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

func (*ListCmsTopicsReply) String

func (m *ListCmsTopicsReply) String() string

func (*ListCmsTopicsReply) Unmarshal

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

func (*ListCmsTopicsReply) XXX_DiscardUnknown

func (m *ListCmsTopicsReply) XXX_DiscardUnknown()

func (*ListCmsTopicsReply) XXX_Marshal

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

func (*ListCmsTopicsReply) XXX_Merge

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

func (*ListCmsTopicsReply) XXX_Size

func (m *ListCmsTopicsReply) XXX_Size() int

func (*ListCmsTopicsReply) XXX_Unmarshal

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

type ListCmsTopicsReq

type ListCmsTopicsReq struct {
	Page                 int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" form:"name"`
	TopicId              int64    `protobuf:"varint,3,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id"`
	State                int32    `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty" form:"state"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

所有查找走同一个接口

func (*ListCmsTopicsReq) Descriptor

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

func (*ListCmsTopicsReq) Marshal

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

func (*ListCmsTopicsReq) MarshalTo

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

func (*ListCmsTopicsReq) ProtoMessage

func (*ListCmsTopicsReq) ProtoMessage()

func (*ListCmsTopicsReq) Reset

func (m *ListCmsTopicsReq) Reset()

func (*ListCmsTopicsReq) Size

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

func (*ListCmsTopicsReq) String

func (m *ListCmsTopicsReq) String() string

func (*ListCmsTopicsReq) Unmarshal

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

func (*ListCmsTopicsReq) XXX_DiscardUnknown

func (m *ListCmsTopicsReq) XXX_DiscardUnknown()

func (*ListCmsTopicsReq) XXX_Marshal

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

func (*ListCmsTopicsReq) XXX_Merge

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

func (*ListCmsTopicsReq) XXX_Size

func (m *ListCmsTopicsReq) XXX_Size() int

func (*ListCmsTopicsReq) XXX_Unmarshal

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

type ListDiscoveryTopicReply

type ListDiscoveryTopicReply struct {
	List                 []*TopicDetail `protobuf:"bytes,1,rep,name=list" json:"list,omitempty"`
	HasMore              bool           `protobuf:"varint,2,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListDiscoveryTopicReply) Descriptor

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

func (*ListDiscoveryTopicReply) Marshal

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

func (*ListDiscoveryTopicReply) MarshalTo

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

func (*ListDiscoveryTopicReply) ProtoMessage

func (*ListDiscoveryTopicReply) ProtoMessage()

func (*ListDiscoveryTopicReply) Reset

func (m *ListDiscoveryTopicReply) Reset()

func (*ListDiscoveryTopicReply) Size

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

func (*ListDiscoveryTopicReply) String

func (m *ListDiscoveryTopicReply) String() string

func (*ListDiscoveryTopicReply) Unmarshal

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

func (*ListDiscoveryTopicReply) XXX_DiscardUnknown

func (m *ListDiscoveryTopicReply) XXX_DiscardUnknown()

func (*ListDiscoveryTopicReply) XXX_Marshal

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

func (*ListDiscoveryTopicReply) XXX_Merge

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

func (*ListDiscoveryTopicReply) XXX_Size

func (m *ListDiscoveryTopicReply) XXX_Size() int

func (*ListDiscoveryTopicReply) XXX_Unmarshal

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

type ListDiscoveryTopicReq

type ListDiscoveryTopicReq struct {
	Page                 int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListDiscoveryTopicReq) Descriptor

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

func (*ListDiscoveryTopicReq) Marshal

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

func (*ListDiscoveryTopicReq) MarshalTo

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

func (*ListDiscoveryTopicReq) ProtoMessage

func (*ListDiscoveryTopicReq) ProtoMessage()

func (*ListDiscoveryTopicReq) Reset

func (m *ListDiscoveryTopicReq) Reset()

func (*ListDiscoveryTopicReq) Size

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

func (*ListDiscoveryTopicReq) String

func (m *ListDiscoveryTopicReq) String() string

func (*ListDiscoveryTopicReq) Unmarshal

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

func (*ListDiscoveryTopicReq) XXX_DiscardUnknown

func (m *ListDiscoveryTopicReq) XXX_DiscardUnknown()

func (*ListDiscoveryTopicReq) XXX_Marshal

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

func (*ListDiscoveryTopicReq) XXX_Merge

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

func (*ListDiscoveryTopicReq) XXX_Size

func (m *ListDiscoveryTopicReq) XXX_Size() int

func (*ListDiscoveryTopicReq) XXX_Unmarshal

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

type ListExtensionReply

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

func (*ListExtensionReply) Descriptor

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

func (*ListExtensionReply) Marshal

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

func (*ListExtensionReply) MarshalTo

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

func (*ListExtensionReply) ProtoMessage

func (*ListExtensionReply) ProtoMessage()

func (*ListExtensionReply) Reset

func (m *ListExtensionReply) Reset()

func (*ListExtensionReply) Size

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

func (*ListExtensionReply) String

func (m *ListExtensionReply) String() string

func (*ListExtensionReply) Unmarshal

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

func (*ListExtensionReply) XXX_DiscardUnknown

func (m *ListExtensionReply) XXX_DiscardUnknown()

func (*ListExtensionReply) XXX_Marshal

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

func (*ListExtensionReply) XXX_Merge

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

func (*ListExtensionReply) XXX_Size

func (m *ListExtensionReply) XXX_Size() int

func (*ListExtensionReply) XXX_Unmarshal

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

type ListExtensionReq

type ListExtensionReq struct {
	Svids                []int64  `protobuf:"varint,1,rep,packed,name=svids" json:"svids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListExtensionReq) Descriptor

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

func (*ListExtensionReq) Marshal

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

func (*ListExtensionReq) MarshalTo

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

func (*ListExtensionReq) ProtoMessage

func (*ListExtensionReq) ProtoMessage()

func (*ListExtensionReq) Reset

func (m *ListExtensionReq) Reset()

func (*ListExtensionReq) Size

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

func (*ListExtensionReq) String

func (m *ListExtensionReq) String() string

func (*ListExtensionReq) Unmarshal

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

func (*ListExtensionReq) XXX_DiscardUnknown

func (m *ListExtensionReq) XXX_DiscardUnknown()

func (*ListExtensionReq) XXX_Marshal

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

func (*ListExtensionReq) XXX_Merge

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

func (*ListExtensionReq) XXX_Size

func (m *ListExtensionReq) XXX_Size() int

func (*ListExtensionReq) XXX_Unmarshal

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

type ListMultiTopicVideosReq

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

func (*ListMultiTopicVideosReq) Descriptor

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

func (*ListMultiTopicVideosReq) Marshal

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

func (*ListMultiTopicVideosReq) MarshalTo

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

func (*ListMultiTopicVideosReq) ProtoMessage

func (*ListMultiTopicVideosReq) ProtoMessage()

func (*ListMultiTopicVideosReq) Reset

func (m *ListMultiTopicVideosReq) Reset()

func (*ListMultiTopicVideosReq) Size

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

func (*ListMultiTopicVideosReq) String

func (m *ListMultiTopicVideosReq) String() string

func (*ListMultiTopicVideosReq) Unmarshal

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

func (*ListMultiTopicVideosReq) XXX_DiscardUnknown

func (m *ListMultiTopicVideosReq) XXX_DiscardUnknown()

func (*ListMultiTopicVideosReq) XXX_Marshal

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

func (*ListMultiTopicVideosReq) XXX_Merge

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

func (*ListMultiTopicVideosReq) XXX_Size

func (m *ListMultiTopicVideosReq) XXX_Size() int

func (*ListMultiTopicVideosReq) XXX_Unmarshal

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

type ListTopicsReply

type ListTopicsReply struct {
	HasMore              bool         `protobuf:"varint,1,opt,name=has_more,json=hasMore,proto3" json:"has_more"`
	List                 []*TopicInfo `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ListTopicsReply) Descriptor

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

func (*ListTopicsReply) Marshal

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

func (*ListTopicsReply) MarshalTo

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

func (*ListTopicsReply) ProtoMessage

func (*ListTopicsReply) ProtoMessage()

func (*ListTopicsReply) Reset

func (m *ListTopicsReply) Reset()

func (*ListTopicsReply) Size

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

func (*ListTopicsReply) String

func (m *ListTopicsReply) String() string

func (*ListTopicsReply) Unmarshal

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

func (*ListTopicsReply) XXX_DiscardUnknown

func (m *ListTopicsReply) XXX_DiscardUnknown()

func (*ListTopicsReply) XXX_Marshal

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

func (*ListTopicsReply) XXX_Merge

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

func (*ListTopicsReply) XXX_Size

func (m *ListTopicsReply) XXX_Size() int

func (*ListTopicsReply) XXX_Unmarshal

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

type ListTopicsReq

type ListTopicsReq struct {
	Page                 int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListTopicsReq) Descriptor

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

func (*ListTopicsReq) Marshal

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

func (*ListTopicsReq) MarshalTo

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

func (*ListTopicsReq) ProtoMessage

func (*ListTopicsReq) ProtoMessage()

func (*ListTopicsReq) Reset

func (m *ListTopicsReq) Reset()

func (*ListTopicsReq) Size

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

func (*ListTopicsReq) String

func (m *ListTopicsReq) String() string

func (*ListTopicsReq) Unmarshal

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

func (*ListTopicsReq) XXX_DiscardUnknown

func (m *ListTopicsReq) XXX_DiscardUnknown()

func (*ListTopicsReq) XXX_Marshal

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

func (*ListTopicsReq) XXX_Merge

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

func (*ListTopicsReq) XXX_Size

func (m *ListTopicsReq) XXX_Size() int

func (*ListTopicsReq) XXX_Unmarshal

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

type SetStickTopicVideoReq

type SetStickTopicVideoReq struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id" validate:"required"`
	Svids                []int64  `protobuf:"varint,2,rep,packed,name=svids" json:"svids,omitempty" form:"svids"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SetStickTopicVideoReq) Descriptor

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

func (*SetStickTopicVideoReq) Marshal

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

func (*SetStickTopicVideoReq) MarshalTo

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

func (*SetStickTopicVideoReq) ProtoMessage

func (*SetStickTopicVideoReq) ProtoMessage()

func (*SetStickTopicVideoReq) Reset

func (m *SetStickTopicVideoReq) Reset()

func (*SetStickTopicVideoReq) Size

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

func (*SetStickTopicVideoReq) String

func (m *SetStickTopicVideoReq) String() string

func (*SetStickTopicVideoReq) Unmarshal

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

func (*SetStickTopicVideoReq) XXX_DiscardUnknown

func (m *SetStickTopicVideoReq) XXX_DiscardUnknown()

func (*SetStickTopicVideoReq) XXX_Marshal

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

func (*SetStickTopicVideoReq) XXX_Merge

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

func (*SetStickTopicVideoReq) XXX_Size

func (m *SetStickTopicVideoReq) XXX_Size() int

func (*SetStickTopicVideoReq) XXX_Unmarshal

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

type StickTopicReq

type StickTopicReq struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id" validate:"required"`
	Op                   int64    `protobuf:"varint,2,opt,name=op,proto3" json:"op,omitempty" form:"op"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StickTopicReq) Descriptor

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

func (*StickTopicReq) Marshal

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

func (*StickTopicReq) MarshalTo

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

func (*StickTopicReq) ProtoMessage

func (*StickTopicReq) ProtoMessage()

func (*StickTopicReq) Reset

func (m *StickTopicReq) Reset()

func (*StickTopicReq) Size

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

func (*StickTopicReq) String

func (m *StickTopicReq) String() string

func (*StickTopicReq) Unmarshal

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

func (*StickTopicReq) XXX_DiscardUnknown

func (m *StickTopicReq) XXX_DiscardUnknown()

func (*StickTopicReq) XXX_Marshal

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

func (*StickTopicReq) XXX_Merge

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

func (*StickTopicReq) XXX_Size

func (m *StickTopicReq) XXX_Size() int

func (*StickTopicReq) XXX_Unmarshal

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

type StickTopicVideoReq

type StickTopicVideoReq struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id" validate:"required"`
	Svid                 int64    `protobuf:"varint,2,opt,name=svid,proto3" json:"svid,omitempty" form:"svid" validate:"required"`
	Op                   int64    `protobuf:"varint,3,opt,name=op,proto3" json:"op,omitempty" form:"op"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StickTopicVideoReq) Descriptor

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

func (*StickTopicVideoReq) Marshal

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

func (*StickTopicVideoReq) MarshalTo

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

func (*StickTopicVideoReq) ProtoMessage

func (*StickTopicVideoReq) ProtoMessage()

func (*StickTopicVideoReq) Reset

func (m *StickTopicVideoReq) Reset()

func (*StickTopicVideoReq) Size

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

func (*StickTopicVideoReq) String

func (m *StickTopicVideoReq) String() string

func (*StickTopicVideoReq) Unmarshal

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

func (*StickTopicVideoReq) XXX_DiscardUnknown

func (m *StickTopicVideoReq) XXX_DiscardUnknown()

func (*StickTopicVideoReq) XXX_Marshal

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

func (*StickTopicVideoReq) XXX_Merge

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

func (*StickTopicVideoReq) XXX_Size

func (m *StickTopicVideoReq) XXX_Size() int

func (*StickTopicVideoReq) XXX_Unmarshal

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

type TitleExtraItem

type TitleExtraItem struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Type                 int64    `protobuf:"varint,2,opt,name=type,proto3" json:"type"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
	Start                int64    `protobuf:"varint,4,opt,name=start,proto3" json:"start"`
	End                  int64    `protobuf:"varint,5,opt,name=end,proto3" json:"end"`
	Scheme               string   `protobuf:"bytes,6,opt,name=scheme,proto3" json:"scheme"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TitleExtraItem) Descriptor

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

func (*TitleExtraItem) Marshal

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

func (*TitleExtraItem) MarshalTo

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

func (*TitleExtraItem) ProtoMessage

func (*TitleExtraItem) ProtoMessage()

func (*TitleExtraItem) Reset

func (m *TitleExtraItem) Reset()

func (*TitleExtraItem) Size

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

func (*TitleExtraItem) String

func (m *TitleExtraItem) String() string

func (*TitleExtraItem) Unmarshal

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

func (*TitleExtraItem) XXX_DiscardUnknown

func (m *TitleExtraItem) XXX_DiscardUnknown()

func (*TitleExtraItem) XXX_Marshal

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

func (*TitleExtraItem) XXX_Merge

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

func (*TitleExtraItem) XXX_Size

func (m *TitleExtraItem) XXX_Size() int

func (*TitleExtraItem) XXX_Unmarshal

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

type TopicClient

type TopicClient interface {
	// //////////////extension////////////////
	Register(ctx context.Context, in *VideoExtension, opts ...grpc.CallOption) (*empty.Empty, error)
	ListExtension(ctx context.Context, in *ListExtensionReq, opts ...grpc.CallOption) (*ListExtensionReply, error)
	// ////////////////topic///////////////////
	UpdateVideoScore(ctx context.Context, in *UpdateVideoScoreReq, opts ...grpc.CallOption) (*empty.Empty, error)
	UpdateVideoState(ctx context.Context, in *UpdateVideoStateReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// 获取话题下的视频
	ListTopicVideos(ctx context.Context, in *TopicVideosReq, opts ...grpc.CallOption) (*TopicDetail, error)
	// TODO: to deleted. 发现页分成先请求话题,再请求话题下视频
	// 获取发现页下的话题
	ListDiscoveryTopics(ctx context.Context, in *ListDiscoveryTopicReq, opts ...grpc.CallOption) (*ListDiscoveryTopicReply, error)
	// 推荐的话题,不会返回话题内的视频
	ListTopics(ctx context.Context, in *ListTopicsReq, opts ...grpc.CallOption) (*ListTopicsReply, error)
	// /// cms /////
	StickTopic(ctx context.Context, in *StickTopicReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// 置顶、取消置顶话题下的视频(需要cms先去判断该视频是否可以放在话题中)
	StickTopicVideo(ctx context.Context, in *StickTopicVideoReq, opts ...grpc.CallOption) (*empty.Empty, error)
	SetStickTopicVideo(ctx context.Context, in *SetStickTopicVideoReq, opts ...grpc.CallOption) (*empty.Empty, error)
	// 注意:该接口不支持复杂条件,当以下三种同时请求的时候只会按顺序选择一种进行返回:
	//   话题name查找接口,不区分隐藏,返回数组,但是暂时只会完全匹配,
	//   话题隐藏列表接口,按照时间反向排序
	//   话题推荐列表接口,按照热度反向排序,其中第一页会包含置顶话题
	ListCmsTopics(ctx context.Context, in *ListCmsTopicsReq, opts ...grpc.CallOption) (*ListCmsTopicsReply, error)
	// 修改话题简介,topic_id必传传,直接放在http请求里
	UpdateTopicDesc(ctx context.Context, in *TopicInfo, opts ...grpc.CallOption) (*empty.Empty, error)
	UpdateTopicState(ctx context.Context, in *TopicInfo, opts ...grpc.CallOption) (*empty.Empty, error)
	// 根据svid返回topic_id列表
	VideoTopic(ctx context.Context, in *VideoTopicReq, opts ...grpc.CallOption) (*VideoTopicReply, error)
}

TopicClient is the client API for Topic service.

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

func NewClient

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

NewClient new member grpc client

func NewTopicClient

func NewTopicClient(cc *grpc.ClientConn) TopicClient

type TopicDetail

type TopicDetail struct {
	TopicInfo            *TopicInfo   `protobuf:"bytes,1,opt,name=topic_info,json=topicInfo" json:"topic_info,omitempty"`
	List                 []*VideoItem `protobuf:"bytes,2,rep,name=list" json:"list,omitempty"`
	HasMore              bool         `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*TopicDetail) Descriptor

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

func (*TopicDetail) Marshal

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

func (*TopicDetail) MarshalTo

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

func (*TopicDetail) ProtoMessage

func (*TopicDetail) ProtoMessage()

func (*TopicDetail) Reset

func (m *TopicDetail) Reset()

func (*TopicDetail) Size

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

func (*TopicDetail) String

func (m *TopicDetail) String() string

func (*TopicDetail) Unmarshal

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

func (*TopicDetail) XXX_DiscardUnknown

func (m *TopicDetail) XXX_DiscardUnknown()

func (*TopicDetail) XXX_Marshal

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

func (*TopicDetail) XXX_Merge

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

func (*TopicDetail) XXX_Size

func (m *TopicDetail) XXX_Size() int

func (*TopicDetail) XXX_Unmarshal

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

type TopicInfo

type TopicInfo struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Desc                 string   `protobuf:"bytes,3,opt,name=desc,proto3" json:"desc,omitempty" form:"desc"`
	Score                float64  `protobuf:"fixed64,4,opt,name=score,proto3" json:"score,omitempty"`
	State                int32    `protobuf:"varint,5,opt,name=state,proto3" json:"state,omitempty" form:"state"`
	HotType              int32    `protobuf:"varint,6,opt,name=hot_type,json=hotType,proto3" json:"hot_type"`
	CoverUrl             string   `protobuf:"bytes,7,opt,name=cover_url,json=coverUrl,proto3" json:"cover_url,omitempty" form:"cover_url"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TopicInfo) Descriptor

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

func (*TopicInfo) Marshal

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

func (*TopicInfo) MarshalTo

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

func (*TopicInfo) ProtoMessage

func (*TopicInfo) ProtoMessage()

func (*TopicInfo) Reset

func (m *TopicInfo) Reset()

func (*TopicInfo) Size

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

func (*TopicInfo) String

func (m *TopicInfo) String() string

func (*TopicInfo) Unmarshal

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

func (*TopicInfo) XXX_DiscardUnknown

func (m *TopicInfo) XXX_DiscardUnknown()

func (*TopicInfo) XXX_Marshal

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

func (*TopicInfo) XXX_Merge

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

func (*TopicInfo) XXX_Size

func (m *TopicInfo) XXX_Size() int

func (*TopicInfo) XXX_Unmarshal

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

type TopicServer

type TopicServer interface {
	// //////////////extension////////////////
	Register(context.Context, *VideoExtension) (*empty.Empty, error)
	ListExtension(context.Context, *ListExtensionReq) (*ListExtensionReply, error)
	// ////////////////topic///////////////////
	UpdateVideoScore(context.Context, *UpdateVideoScoreReq) (*empty.Empty, error)
	UpdateVideoState(context.Context, *UpdateVideoStateReq) (*empty.Empty, error)
	// 获取话题下的视频
	ListTopicVideos(context.Context, *TopicVideosReq) (*TopicDetail, error)
	// TODO: to deleted. 发现页分成先请求话题,再请求话题下视频
	// 获取发现页下的话题
	ListDiscoveryTopics(context.Context, *ListDiscoveryTopicReq) (*ListDiscoveryTopicReply, error)
	// 推荐的话题,不会返回话题内的视频
	ListTopics(context.Context, *ListTopicsReq) (*ListTopicsReply, error)
	// /// cms /////
	StickTopic(context.Context, *StickTopicReq) (*empty.Empty, error)
	// 置顶、取消置顶话题下的视频(需要cms先去判断该视频是否可以放在话题中)
	StickTopicVideo(context.Context, *StickTopicVideoReq) (*empty.Empty, error)
	SetStickTopicVideo(context.Context, *SetStickTopicVideoReq) (*empty.Empty, error)
	// 注意:该接口不支持复杂条件,当以下三种同时请求的时候只会按顺序选择一种进行返回:
	//   话题name查找接口,不区分隐藏,返回数组,但是暂时只会完全匹配,
	//   话题隐藏列表接口,按照时间反向排序
	//   话题推荐列表接口,按照热度反向排序,其中第一页会包含置顶话题
	ListCmsTopics(context.Context, *ListCmsTopicsReq) (*ListCmsTopicsReply, error)
	// 修改话题简介,topic_id必传传,直接放在http请求里
	UpdateTopicDesc(context.Context, *TopicInfo) (*empty.Empty, error)
	UpdateTopicState(context.Context, *TopicInfo) (*empty.Empty, error)
	// 根据svid返回topic_id列表
	VideoTopic(context.Context, *VideoTopicReq) (*VideoTopicReply, error)
}

TopicServer is the server API for Topic service.

type TopicVideoItem

type TopicVideoItem struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty"`
	Svid                 int64    `protobuf:"varint,2,opt,name=svid,proto3" json:"svid,omitempty"`
	Score                float64  `protobuf:"fixed64,3,opt,name=score,proto3" json:"score,omitempty"`
	State                int32    `protobuf:"varint,4,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TopicVideoItem) Descriptor

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

func (*TopicVideoItem) Marshal

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

func (*TopicVideoItem) MarshalTo

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

func (*TopicVideoItem) ProtoMessage

func (*TopicVideoItem) ProtoMessage()

func (*TopicVideoItem) Reset

func (m *TopicVideoItem) Reset()

func (*TopicVideoItem) Size

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

func (*TopicVideoItem) String

func (m *TopicVideoItem) String() string

func (*TopicVideoItem) Unmarshal

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

func (*TopicVideoItem) XXX_DiscardUnknown

func (m *TopicVideoItem) XXX_DiscardUnknown()

func (*TopicVideoItem) XXX_Marshal

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

func (*TopicVideoItem) XXX_Merge

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

func (*TopicVideoItem) XXX_Size

func (m *TopicVideoItem) XXX_Size() int

func (*TopicVideoItem) XXX_Unmarshal

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

type TopicVideosReq

type TopicVideosReq struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id"`
	CursorPrev           string   `protobuf:"bytes,2,opt,name=cursor_prev,json=cursorPrev,proto3" json:"cursor_prev,omitempty" form:"cursor_prev"`
	CursorNext           string   `protobuf:"bytes,3,opt,name=cursor_next,json=cursorNext,proto3" json:"cursor_next,omitempty" form:"cursor_next"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TopicVideosReq) Descriptor

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

func (*TopicVideosReq) Marshal

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

func (*TopicVideosReq) MarshalTo

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

func (*TopicVideosReq) ProtoMessage

func (*TopicVideosReq) ProtoMessage()

func (*TopicVideosReq) Reset

func (m *TopicVideosReq) Reset()

func (*TopicVideosReq) Size

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

func (*TopicVideosReq) String

func (m *TopicVideosReq) String() string

func (*TopicVideosReq) Unmarshal

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

func (*TopicVideosReq) XXX_DiscardUnknown

func (m *TopicVideosReq) XXX_DiscardUnknown()

func (*TopicVideosReq) XXX_Marshal

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

func (*TopicVideosReq) XXX_Merge

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

func (*TopicVideosReq) XXX_Size

func (m *TopicVideosReq) XXX_Size() int

func (*TopicVideosReq) XXX_Unmarshal

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

type UpdateTopicStateReq

type UpdateTopicStateReq struct {
	TopicId              int64    `protobuf:"varint,1,opt,name=topic_id,json=topicId,proto3" json:"topic_id,omitempty" form:"topic_id"`
	Op                   int32    `protobuf:"varint,2,opt,name=op,proto3" json:"op,omitempty" form:"op"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateTopicStateReq) Descriptor

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

func (*UpdateTopicStateReq) Marshal

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

func (*UpdateTopicStateReq) MarshalTo

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

func (*UpdateTopicStateReq) ProtoMessage

func (*UpdateTopicStateReq) ProtoMessage()

func (*UpdateTopicStateReq) Reset

func (m *UpdateTopicStateReq) Reset()

func (*UpdateTopicStateReq) Size

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

func (*UpdateTopicStateReq) String

func (m *UpdateTopicStateReq) String() string

func (*UpdateTopicStateReq) Unmarshal

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

func (*UpdateTopicStateReq) XXX_DiscardUnknown

func (m *UpdateTopicStateReq) XXX_DiscardUnknown()

func (*UpdateTopicStateReq) XXX_Marshal

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

func (*UpdateTopicStateReq) XXX_Merge

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

func (*UpdateTopicStateReq) XXX_Size

func (m *UpdateTopicStateReq) XXX_Size() int

func (*UpdateTopicStateReq) XXX_Unmarshal

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

type UpdateVideoScoreReq

type UpdateVideoScoreReq struct {
	Svid                 int64    `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	Score                float64  `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateVideoScoreReq) Descriptor

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

func (*UpdateVideoScoreReq) Marshal

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

func (*UpdateVideoScoreReq) MarshalTo

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

func (*UpdateVideoScoreReq) ProtoMessage

func (*UpdateVideoScoreReq) ProtoMessage()

func (*UpdateVideoScoreReq) Reset

func (m *UpdateVideoScoreReq) Reset()

func (*UpdateVideoScoreReq) Size

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

func (*UpdateVideoScoreReq) String

func (m *UpdateVideoScoreReq) String() string

func (*UpdateVideoScoreReq) Unmarshal

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

func (*UpdateVideoScoreReq) XXX_DiscardUnknown

func (m *UpdateVideoScoreReq) XXX_DiscardUnknown()

func (*UpdateVideoScoreReq) XXX_Marshal

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

func (*UpdateVideoScoreReq) XXX_Merge

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

func (*UpdateVideoScoreReq) XXX_Size

func (m *UpdateVideoScoreReq) XXX_Size() int

func (*UpdateVideoScoreReq) XXX_Unmarshal

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

type UpdateVideoStateReq

type UpdateVideoStateReq struct {
	Svid                 int64    `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	State                int32    `protobuf:"varint,2,opt,name=state,proto3" json:"state,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateVideoStateReq) Descriptor

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

func (*UpdateVideoStateReq) Marshal

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

func (*UpdateVideoStateReq) MarshalTo

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

func (*UpdateVideoStateReq) ProtoMessage

func (*UpdateVideoStateReq) ProtoMessage()

func (*UpdateVideoStateReq) Reset

func (m *UpdateVideoStateReq) Reset()

func (*UpdateVideoStateReq) Size

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

func (*UpdateVideoStateReq) String

func (m *UpdateVideoStateReq) String() string

func (*UpdateVideoStateReq) Unmarshal

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

func (*UpdateVideoStateReq) XXX_DiscardUnknown

func (m *UpdateVideoStateReq) XXX_DiscardUnknown()

func (*UpdateVideoStateReq) XXX_Marshal

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

func (*UpdateVideoStateReq) XXX_Merge

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

func (*UpdateVideoStateReq) XXX_Size

func (m *UpdateVideoStateReq) XXX_Size() int

func (*UpdateVideoStateReq) XXX_Unmarshal

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

type VideoExtension

type VideoExtension struct {
	Svid                 int64    `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	Extension            string   `protobuf:"bytes,2,opt,name=extension,proto3" json:"extension,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

用于传递给上游的extension,通过序列化赋值给extension

func (*VideoExtension) Descriptor

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

func (*VideoExtension) Marshal

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

func (*VideoExtension) MarshalTo

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

func (*VideoExtension) ProtoMessage

func (*VideoExtension) ProtoMessage()

func (*VideoExtension) Reset

func (m *VideoExtension) Reset()

func (*VideoExtension) Size

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

func (*VideoExtension) String

func (m *VideoExtension) String() string

func (*VideoExtension) Unmarshal

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

func (*VideoExtension) XXX_DiscardUnknown

func (m *VideoExtension) XXX_DiscardUnknown()

func (*VideoExtension) XXX_Marshal

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

func (*VideoExtension) XXX_Merge

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

func (*VideoExtension) XXX_Size

func (m *VideoExtension) XXX_Size() int

func (*VideoExtension) XXX_Unmarshal

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

type VideoItem

type VideoItem struct {
	Svid                 int64    `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty"`
	CursorValue          string   `protobuf:"bytes,2,opt,name=cursor_value,json=cursorValue,proto3" json:"cursor_value,omitempty"`
	HotType              int64    `protobuf:"varint,3,opt,name=hot_type,json=hotType,proto3" json:"hot_type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VideoItem) Descriptor

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

func (*VideoItem) Marshal

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

func (*VideoItem) MarshalTo

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

func (*VideoItem) ProtoMessage

func (*VideoItem) ProtoMessage()

func (*VideoItem) Reset

func (m *VideoItem) Reset()

func (*VideoItem) Size

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

func (*VideoItem) String

func (m *VideoItem) String() string

func (*VideoItem) Unmarshal

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

func (*VideoItem) XXX_DiscardUnknown

func (m *VideoItem) XXX_DiscardUnknown()

func (*VideoItem) XXX_Marshal

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

func (*VideoItem) XXX_Merge

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

func (*VideoItem) XXX_Size

func (m *VideoItem) XXX_Size() int

func (*VideoItem) XXX_Unmarshal

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

type VideoTopicReply

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

func (*VideoTopicReply) Descriptor

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

func (*VideoTopicReply) Marshal

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

func (*VideoTopicReply) MarshalTo

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

func (*VideoTopicReply) ProtoMessage

func (*VideoTopicReply) ProtoMessage()

func (*VideoTopicReply) Reset

func (m *VideoTopicReply) Reset()

func (*VideoTopicReply) Size

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

func (*VideoTopicReply) String

func (m *VideoTopicReply) String() string

func (*VideoTopicReply) Unmarshal

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

func (*VideoTopicReply) XXX_DiscardUnknown

func (m *VideoTopicReply) XXX_DiscardUnknown()

func (*VideoTopicReply) XXX_Marshal

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

func (*VideoTopicReply) XXX_Merge

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

func (*VideoTopicReply) XXX_Size

func (m *VideoTopicReply) XXX_Size() int

func (*VideoTopicReply) XXX_Unmarshal

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

type VideoTopicReq

type VideoTopicReq struct {
	Svid                 int64    `protobuf:"varint,1,opt,name=svid,proto3" json:"svid,omitempty" form:"svid"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*VideoTopicReq) Descriptor

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

func (*VideoTopicReq) Marshal

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

func (*VideoTopicReq) MarshalTo

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

func (*VideoTopicReq) ProtoMessage

func (*VideoTopicReq) ProtoMessage()

func (*VideoTopicReq) Reset

func (m *VideoTopicReq) Reset()

func (*VideoTopicReq) Size

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

func (*VideoTopicReq) String

func (m *VideoTopicReq) String() string

func (*VideoTopicReq) Unmarshal

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

func (*VideoTopicReq) XXX_DiscardUnknown

func (m *VideoTopicReq) XXX_DiscardUnknown()

func (*VideoTopicReq) XXX_Marshal

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

func (*VideoTopicReq) XXX_Merge

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

func (*VideoTopicReq) XXX_Size

func (m *VideoTopicReq) XXX_Size() int

func (*VideoTopicReq) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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