v1

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

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

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

Documentation

Index

Constants

View Source
const AppID = "main.community.tag"

AppID .

Variables

View Source
var (
	ErrInvalidLengthChannel = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowChannel   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthReply = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowReply   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthRequest = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRequest   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTag = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTag   = fmt.Errorf("proto: integer overflow")
)

Functions

func RegisterTagRPCServer

func RegisterTagRPCServer(s *grpc.Server, srv TagRPCServer)

Types

type ChanneListReq

type ChanneListReq struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Mid                  int64    `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	From                 int32    `protobuf:"varint,3,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChanneListReq) Descriptor

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

func (*ChanneListReq) GetFrom

func (m *ChanneListReq) GetFrom() int32

func (*ChanneListReq) GetId

func (m *ChanneListReq) GetId() int64

func (*ChanneListReq) GetMid

func (m *ChanneListReq) GetMid() int64

func (*ChanneListReq) Marshal

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

func (*ChanneListReq) MarshalTo

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

func (*ChanneListReq) ProtoMessage

func (*ChanneListReq) ProtoMessage()

func (*ChanneListReq) Reset

func (m *ChanneListReq) Reset()

func (*ChanneListReq) Size

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

func (*ChanneListReq) String

func (m *ChanneListReq) String() string

func (*ChanneListReq) Unmarshal

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

func (*ChanneListReq) XXX_DiscardUnknown

func (m *ChanneListReq) XXX_DiscardUnknown()

func (*ChanneListReq) XXX_Marshal

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

func (*ChanneListReq) XXX_Merge

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

func (*ChanneListReq) XXX_Size

func (m *ChanneListReq) XXX_Size() int

func (*ChanneListReq) XXX_Unmarshal

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

type Channel

type Channel struct {
	Id                   int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	Type                 int32                       `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
	TypeId               int64                       `protobuf:"varint,4,opt,name=type_id,json=typeId,proto3" json:"type_id"`
	Cover                string                      `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover"`
	HeadCover            string                      `protobuf:"bytes,6,opt,name=head_cover,json=headCover,proto3" json:"head_cover"`
	Content              string                      `protobuf:"bytes,7,opt,name=content,proto3" json:"content"`
	ShortContent         string                      `protobuf:"bytes,8,opt,name=short_content,json=shortContent,proto3" json:"short_content"`
	Bind                 int64                       `protobuf:"varint,9,opt,name=bind,proto3" json:"bind"`
	Sub                  int64                       `protobuf:"varint,10,opt,name=sub,proto3" json:"sub"`
	Attention            int32                       `protobuf:"varint,11,opt,name=attention,proto3" json:"attention"`
	Activity             int32                       `protobuf:"varint,12,opt,name=activity,proto3" json:"activity"`
	IntShield            int32                       `protobuf:"varint,13,opt,name=int_shield,json=intShield,proto3" json:"int_shield"`
	State                int32                       `protobuf:"varint,14,opt,name=state,proto3" json:"state"`
	Ctime                go_common_library_time.Time `protobuf:"varint,15,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,16,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*Channel) Descriptor

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

func (*Channel) GetActivity

func (m *Channel) GetActivity() int32

func (*Channel) GetAttention

func (m *Channel) GetAttention() int32

func (*Channel) GetBind

func (m *Channel) GetBind() int64

func (*Channel) GetContent

func (m *Channel) GetContent() string

func (*Channel) GetCover

func (m *Channel) GetCover() string

func (*Channel) GetCtime

func (m *Channel) GetCtime() go_common_library_time.Time

func (*Channel) GetHeadCover

func (m *Channel) GetHeadCover() string

func (*Channel) GetId

func (m *Channel) GetId() int64

func (*Channel) GetIntShield

func (m *Channel) GetIntShield() int32

func (*Channel) GetMtime

func (m *Channel) GetMtime() go_common_library_time.Time

func (*Channel) GetName

func (m *Channel) GetName() string

func (*Channel) GetShortContent

func (m *Channel) GetShortContent() string

func (*Channel) GetState

func (m *Channel) GetState() int32

func (*Channel) GetSub

func (m *Channel) GetSub() int64

func (*Channel) GetType

func (m *Channel) GetType() int32

func (*Channel) GetTypeId

func (m *Channel) GetTypeId() int64

func (*Channel) Marshal

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

func (*Channel) MarshalTo

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

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) Size

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

func (*Channel) String

func (m *Channel) String() string

func (*Channel) Unmarshal

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

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

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

func (*Channel) XXX_Merge

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

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

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

type ChannelCategory

type ChannelCategory struct {
	Id                   int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	State                int32                       `protobuf:"varint,3,opt,name=state,proto3" json:"state"`
	IntShield            int32                       `protobuf:"varint,4,opt,name=int_shield,json=intShield,proto3" json:"int_shield"`
	Ctime                go_common_library_time.Time `protobuf:"varint,5,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,6,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ChannelCategory) Descriptor

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

func (*ChannelCategory) GetCtime

func (*ChannelCategory) GetId

func (m *ChannelCategory) GetId() int64

func (*ChannelCategory) GetIntShield

func (m *ChannelCategory) GetIntShield() int32

func (*ChannelCategory) GetMtime

func (*ChannelCategory) GetName

func (m *ChannelCategory) GetName() string

func (*ChannelCategory) GetState

func (m *ChannelCategory) GetState() int32

func (*ChannelCategory) Marshal

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

func (*ChannelCategory) MarshalTo

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

func (*ChannelCategory) ProtoMessage

func (*ChannelCategory) ProtoMessage()

func (*ChannelCategory) Reset

func (m *ChannelCategory) Reset()

func (*ChannelCategory) Size

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

func (*ChannelCategory) String

func (m *ChannelCategory) String() string

func (*ChannelCategory) Unmarshal

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

func (*ChannelCategory) XXX_DiscardUnknown

func (m *ChannelCategory) XXX_DiscardUnknown()

func (*ChannelCategory) XXX_Marshal

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

func (*ChannelCategory) XXX_Merge

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

func (*ChannelCategory) XXX_Size

func (m *ChannelCategory) XXX_Size() int

func (*ChannelCategory) XXX_Unmarshal

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

type ChannelCategoryReply

type ChannelCategoryReply struct {
	Categories           []*ChannelCategory `protobuf:"bytes,1,rep,name=categories" json:"categories,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (*ChannelCategoryReply) Descriptor

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

func (*ChannelCategoryReply) GetCategories

func (m *ChannelCategoryReply) GetCategories() []*ChannelCategory

func (*ChannelCategoryReply) Marshal

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

func (*ChannelCategoryReply) MarshalTo

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

func (*ChannelCategoryReply) ProtoMessage

func (*ChannelCategoryReply) ProtoMessage()

func (*ChannelCategoryReply) Reset

func (m *ChannelCategoryReply) Reset()

func (*ChannelCategoryReply) Size

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

func (*ChannelCategoryReply) String

func (m *ChannelCategoryReply) String() string

func (*ChannelCategoryReply) Unmarshal

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

func (*ChannelCategoryReply) XXX_DiscardUnknown

func (m *ChannelCategoryReply) XXX_DiscardUnknown()

func (*ChannelCategoryReply) XXX_Marshal

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

func (*ChannelCategoryReply) XXX_Merge

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

func (*ChannelCategoryReply) XXX_Size

func (m *ChannelCategoryReply) XXX_Size() int

func (*ChannelCategoryReply) XXX_Unmarshal

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

type ChannelCategoryReq

type ChannelCategoryReq struct {
	From                 int32    `protobuf:"varint,1,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelCategoryReq) Descriptor

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

func (*ChannelCategoryReq) GetFrom

func (m *ChannelCategoryReq) GetFrom() int32

func (*ChannelCategoryReq) Marshal

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

func (*ChannelCategoryReq) MarshalTo

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

func (*ChannelCategoryReq) ProtoMessage

func (*ChannelCategoryReq) ProtoMessage()

func (*ChannelCategoryReq) Reset

func (m *ChannelCategoryReq) Reset()

func (*ChannelCategoryReq) Size

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

func (*ChannelCategoryReq) String

func (m *ChannelCategoryReq) String() string

func (*ChannelCategoryReq) Unmarshal

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

func (*ChannelCategoryReq) XXX_DiscardUnknown

func (m *ChannelCategoryReq) XXX_DiscardUnknown()

func (*ChannelCategoryReq) XXX_Marshal

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

func (*ChannelCategoryReq) XXX_Merge

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

func (*ChannelCategoryReq) XXX_Size

func (m *ChannelCategoryReq) XXX_Size() int

func (*ChannelCategoryReq) XXX_Unmarshal

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

type ChannelCheckBack

type ChannelCheckBack struct {
	Hits                 map[int64]*ChannelHit `` /* 136-byte string literal not displayed */
	Checkback            int32                 `protobuf:"varint,2,opt,name=checkback,proto3" json:"checkback,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (*ChannelCheckBack) Descriptor

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

func (*ChannelCheckBack) GetCheckback

func (m *ChannelCheckBack) GetCheckback() int32

func (*ChannelCheckBack) GetHits

func (m *ChannelCheckBack) GetHits() map[int64]*ChannelHit

func (*ChannelCheckBack) Marshal

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

func (*ChannelCheckBack) MarshalTo

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

func (*ChannelCheckBack) ProtoMessage

func (*ChannelCheckBack) ProtoMessage()

func (*ChannelCheckBack) Reset

func (m *ChannelCheckBack) Reset()

func (*ChannelCheckBack) Size

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

func (*ChannelCheckBack) String

func (m *ChannelCheckBack) String() string

func (*ChannelCheckBack) Unmarshal

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

func (*ChannelCheckBack) XXX_DiscardUnknown

func (m *ChannelCheckBack) XXX_DiscardUnknown()

func (*ChannelCheckBack) XXX_Marshal

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

func (*ChannelCheckBack) XXX_Merge

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

func (*ChannelCheckBack) XXX_Size

func (m *ChannelCheckBack) XXX_Size() int

func (*ChannelCheckBack) XXX_Unmarshal

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

type ChannelCheckBackReply

type ChannelCheckBackReply struct {
	Checkbacks           map[int64]*ChannelCheckBack `` /* 148-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ChannelCheckBackReply) Descriptor

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

func (*ChannelCheckBackReply) GetCheckbacks

func (m *ChannelCheckBackReply) GetCheckbacks() map[int64]*ChannelCheckBack

func (*ChannelCheckBackReply) Marshal

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

func (*ChannelCheckBackReply) MarshalTo

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

func (*ChannelCheckBackReply) ProtoMessage

func (*ChannelCheckBackReply) ProtoMessage()

func (*ChannelCheckBackReply) Reset

func (m *ChannelCheckBackReply) Reset()

func (*ChannelCheckBackReply) Size

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

func (*ChannelCheckBackReply) String

func (m *ChannelCheckBackReply) String() string

func (*ChannelCheckBackReply) Unmarshal

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

func (*ChannelCheckBackReply) XXX_DiscardUnknown

func (m *ChannelCheckBackReply) XXX_DiscardUnknown()

func (*ChannelCheckBackReply) XXX_Marshal

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

func (*ChannelCheckBackReply) XXX_Merge

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

func (*ChannelCheckBackReply) XXX_Size

func (m *ChannelCheckBackReply) XXX_Size() int

func (*ChannelCheckBackReply) XXX_Unmarshal

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

type ChannelCheckBackReq

type ChannelCheckBackReq struct {
	Oids                 []int64  `protobuf:"varint,1,rep,packed,name=oids" json:"oids,omitempty"`
	Type                 int32    `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelCheckBackReq) Descriptor

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

func (*ChannelCheckBackReq) GetOids

func (m *ChannelCheckBackReq) GetOids() []int64

func (*ChannelCheckBackReq) GetType

func (m *ChannelCheckBackReq) GetType() int32

func (*ChannelCheckBackReq) Marshal

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

func (*ChannelCheckBackReq) MarshalTo

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

func (*ChannelCheckBackReq) ProtoMessage

func (*ChannelCheckBackReq) ProtoMessage()

func (*ChannelCheckBackReq) Reset

func (m *ChannelCheckBackReq) Reset()

func (*ChannelCheckBackReq) Size

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

func (*ChannelCheckBackReq) String

func (m *ChannelCheckBackReq) String() string

func (*ChannelCheckBackReq) Unmarshal

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

func (*ChannelCheckBackReq) XXX_DiscardUnknown

func (m *ChannelCheckBackReq) XXX_DiscardUnknown()

func (*ChannelCheckBackReq) XXX_Marshal

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

func (*ChannelCheckBackReq) XXX_Merge

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

func (*ChannelCheckBackReq) XXX_Size

func (m *ChannelCheckBackReq) XXX_Size() int

func (*ChannelCheckBackReq) XXX_Unmarshal

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

type ChannelDiscoveryReq

type ChannelDiscoveryReq struct {
	Mid                  int64    `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	From                 int32    `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelDiscoveryReq) Descriptor

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

func (*ChannelDiscoveryReq) GetFrom

func (m *ChannelDiscoveryReq) GetFrom() int32

func (*ChannelDiscoveryReq) GetMid

func (m *ChannelDiscoveryReq) GetMid() int64

func (*ChannelDiscoveryReq) Marshal

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

func (*ChannelDiscoveryReq) MarshalTo

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

func (*ChannelDiscoveryReq) ProtoMessage

func (*ChannelDiscoveryReq) ProtoMessage()

func (*ChannelDiscoveryReq) Reset

func (m *ChannelDiscoveryReq) Reset()

func (*ChannelDiscoveryReq) Size

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

func (*ChannelDiscoveryReq) String

func (m *ChannelDiscoveryReq) String() string

func (*ChannelDiscoveryReq) Unmarshal

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

func (*ChannelDiscoveryReq) XXX_DiscardUnknown

func (m *ChannelDiscoveryReq) XXX_DiscardUnknown()

func (*ChannelDiscoveryReq) XXX_Marshal

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

func (*ChannelDiscoveryReq) XXX_Merge

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

func (*ChannelDiscoveryReq) XXX_Size

func (m *ChannelDiscoveryReq) XXX_Size() int

func (*ChannelDiscoveryReq) XXX_Unmarshal

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

type ChannelHit

type ChannelHit struct {
	Tid                  int64    `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
	Tname                string   `protobuf:"bytes,2,opt,name=tname,proto3" json:"tname,omitempty"`
	HitRules             []string `protobuf:"bytes,3,rep,name=hit_rules,json=hitRules" json:"hit_rules,omitempty"`
	HitTnames            []string `protobuf:"bytes,4,rep,name=hit_tnames,json=hitTnames" json:"hit_tnames,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelHit) Descriptor

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

func (*ChannelHit) GetHitRules

func (m *ChannelHit) GetHitRules() []string

func (*ChannelHit) GetHitTnames

func (m *ChannelHit) GetHitTnames() []string

func (*ChannelHit) GetTid

func (m *ChannelHit) GetTid() int64

func (*ChannelHit) GetTname

func (m *ChannelHit) GetTname() string

func (*ChannelHit) Marshal

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

func (*ChannelHit) MarshalTo

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

func (*ChannelHit) ProtoMessage

func (*ChannelHit) ProtoMessage()

func (*ChannelHit) Reset

func (m *ChannelHit) Reset()

func (*ChannelHit) Size

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

func (*ChannelHit) String

func (m *ChannelHit) String() string

func (*ChannelHit) Unmarshal

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

func (*ChannelHit) XXX_DiscardUnknown

func (m *ChannelHit) XXX_DiscardUnknown()

func (*ChannelHit) XXX_Marshal

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

func (*ChannelHit) XXX_Merge

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

func (*ChannelHit) XXX_Size

func (m *ChannelHit) XXX_Size() int

func (*ChannelHit) XXX_Unmarshal

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

type ChannelRecommendReq

type ChannelRecommendReq struct {
	Mid                  int64    `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	From                 int32    `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelRecommendReq) Descriptor

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

func (*ChannelRecommendReq) GetFrom

func (m *ChannelRecommendReq) GetFrom() int32

func (*ChannelRecommendReq) GetMid

func (m *ChannelRecommendReq) GetMid() int64

func (*ChannelRecommendReq) Marshal

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

func (*ChannelRecommendReq) MarshalTo

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

func (*ChannelRecommendReq) ProtoMessage

func (*ChannelRecommendReq) ProtoMessage()

func (*ChannelRecommendReq) Reset

func (m *ChannelRecommendReq) Reset()

func (*ChannelRecommendReq) Size

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

func (*ChannelRecommendReq) String

func (m *ChannelRecommendReq) String() string

func (*ChannelRecommendReq) Unmarshal

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

func (*ChannelRecommendReq) XXX_DiscardUnknown

func (m *ChannelRecommendReq) XXX_DiscardUnknown()

func (*ChannelRecommendReq) XXX_Marshal

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

func (*ChannelRecommendReq) XXX_Merge

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

func (*ChannelRecommendReq) XXX_Size

func (m *ChannelRecommendReq) XXX_Size() int

func (*ChannelRecommendReq) XXX_Unmarshal

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

type ChannelReply

type ChannelReply struct {
	Channel              *Channel          `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Synonyms             []*ChannelSynonym `protobuf:"bytes,2,rep,name=synonyms" json:"synonyms,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*ChannelReply) Descriptor

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

func (*ChannelReply) GetChannel

func (m *ChannelReply) GetChannel() *Channel

func (*ChannelReply) GetSynonyms

func (m *ChannelReply) GetSynonyms() []*ChannelSynonym

func (*ChannelReply) Marshal

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

func (*ChannelReply) MarshalTo

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

func (*ChannelReply) ProtoMessage

func (*ChannelReply) ProtoMessage()

func (*ChannelReply) Reset

func (m *ChannelReply) Reset()

func (*ChannelReply) Size

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

func (*ChannelReply) String

func (m *ChannelReply) String() string

func (*ChannelReply) Unmarshal

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

func (*ChannelReply) XXX_DiscardUnknown

func (m *ChannelReply) XXX_DiscardUnknown()

func (*ChannelReply) XXX_Marshal

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

func (*ChannelReply) XXX_Merge

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

func (*ChannelReply) XXX_Size

func (m *ChannelReply) XXX_Size() int

func (*ChannelReply) XXX_Unmarshal

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

type ChannelReq

type ChannelReq struct {
	Mid                  int64    `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	Tid                  int64    `protobuf:"varint,2,opt,name=tid,proto3" json:"tid,omitempty"`
	Tname                string   `protobuf:"bytes,3,opt,name=tname,proto3" json:"tname,omitempty"`
	From                 int32    `protobuf:"varint,4,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelReq) Descriptor

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

func (*ChannelReq) GetFrom

func (m *ChannelReq) GetFrom() int32

func (*ChannelReq) GetMid

func (m *ChannelReq) GetMid() int64

func (*ChannelReq) GetTid

func (m *ChannelReq) GetTid() int64

func (*ChannelReq) GetTname

func (m *ChannelReq) GetTname() string

func (*ChannelReq) Marshal

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

func (*ChannelReq) MarshalTo

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

func (*ChannelReq) ProtoMessage

func (*ChannelReq) ProtoMessage()

func (*ChannelReq) Reset

func (m *ChannelReq) Reset()

func (*ChannelReq) Size

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

func (*ChannelReq) String

func (m *ChannelReq) String() string

func (*ChannelReq) Unmarshal

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

func (*ChannelReq) XXX_DiscardUnknown

func (m *ChannelReq) XXX_DiscardUnknown()

func (*ChannelReq) XXX_Marshal

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

func (*ChannelReq) XXX_Merge

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

func (*ChannelReq) XXX_Size

func (m *ChannelReq) XXX_Size() int

func (*ChannelReq) XXX_Unmarshal

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

type ChannelResourcesReply

type ChannelResourcesReply struct {
	Oids                 []int64  `protobuf:"varint,1,rep,packed,name=oids" json:"oids,omitempty"`
	Failover             bool     `protobuf:"varint,2,opt,name=failover,proto3" json:"failover,omitempty"`
	WhetherChannel       bool     `protobuf:"varint,3,opt,name=whether_channel,json=whetherChannel,proto3" json:"whether_channel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelResourcesReply) Descriptor

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

func (*ChannelResourcesReply) GetFailover

func (m *ChannelResourcesReply) GetFailover() bool

func (*ChannelResourcesReply) GetOids

func (m *ChannelResourcesReply) GetOids() []int64

func (*ChannelResourcesReply) GetWhetherChannel

func (m *ChannelResourcesReply) GetWhetherChannel() bool

func (*ChannelResourcesReply) Marshal

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

func (*ChannelResourcesReply) MarshalTo

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

func (*ChannelResourcesReply) ProtoMessage

func (*ChannelResourcesReply) ProtoMessage()

func (*ChannelResourcesReply) Reset

func (m *ChannelResourcesReply) Reset()

func (*ChannelResourcesReply) Size

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

func (*ChannelResourcesReply) String

func (m *ChannelResourcesReply) String() string

func (*ChannelResourcesReply) Unmarshal

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

func (*ChannelResourcesReply) XXX_DiscardUnknown

func (m *ChannelResourcesReply) XXX_DiscardUnknown()

func (*ChannelResourcesReply) XXX_Marshal

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

func (*ChannelResourcesReply) XXX_Merge

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

func (*ChannelResourcesReply) XXX_Size

func (m *ChannelResourcesReply) XXX_Size() int

func (*ChannelResourcesReply) XXX_Unmarshal

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

type ChannelResourcesReq

type ChannelResourcesReq struct {
	Tid                  int64    `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
	Tname                string   `protobuf:"bytes,2,opt,name=tname,proto3" json:"tname,omitempty"`
	Mid                  int64    `protobuf:"varint,3,opt,name=mid,proto3" json:"mid,omitempty"`
	Plat                 int32    `protobuf:"varint,4,opt,name=plat,proto3" json:"plat,omitempty"`
	LoginEvent           int32    `protobuf:"varint,5,opt,name=login_event,json=loginEvent,proto3" json:"login_event,omitempty"`
	RequestCnt           int32    `protobuf:"varint,6,opt,name=request_cnt,json=requestCnt,proto3" json:"request_cnt,omitempty"`
	DisplayId            int32    `protobuf:"varint,7,opt,name=display_id,json=displayId,proto3" json:"display_id,omitempty"`
	From                 int32    `protobuf:"varint,8,opt,name=from,proto3" json:"from,omitempty"`
	Type                 int32    `protobuf:"varint,9,opt,name=type,proto3" json:"type,omitempty"`
	Buvid                string   `protobuf:"bytes,10,opt,name=buvid,proto3" json:"buvid,omitempty"`
	Build                int32    `protobuf:"varint,11,opt,name=build,proto3" json:"build,omitempty"`
	Channel              int32    `protobuf:"varint,12,opt,name=channel,proto3" json:"channel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelResourcesReq) Descriptor

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

func (*ChannelResourcesReq) GetBuild

func (m *ChannelResourcesReq) GetBuild() int32

func (*ChannelResourcesReq) GetBuvid

func (m *ChannelResourcesReq) GetBuvid() string

func (*ChannelResourcesReq) GetChannel

func (m *ChannelResourcesReq) GetChannel() int32

func (*ChannelResourcesReq) GetDisplayId

func (m *ChannelResourcesReq) GetDisplayId() int32

func (*ChannelResourcesReq) GetFrom

func (m *ChannelResourcesReq) GetFrom() int32

func (*ChannelResourcesReq) GetLoginEvent

func (m *ChannelResourcesReq) GetLoginEvent() int32

func (*ChannelResourcesReq) GetMid

func (m *ChannelResourcesReq) GetMid() int64

func (*ChannelResourcesReq) GetPlat

func (m *ChannelResourcesReq) GetPlat() int32

func (*ChannelResourcesReq) GetRequestCnt

func (m *ChannelResourcesReq) GetRequestCnt() int32

func (*ChannelResourcesReq) GetTid

func (m *ChannelResourcesReq) GetTid() int64

func (*ChannelResourcesReq) GetTname

func (m *ChannelResourcesReq) GetTname() string

func (*ChannelResourcesReq) GetType

func (m *ChannelResourcesReq) GetType() int32

func (*ChannelResourcesReq) Marshal

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

func (*ChannelResourcesReq) MarshalTo

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

func (*ChannelResourcesReq) ProtoMessage

func (*ChannelResourcesReq) ProtoMessage()

func (*ChannelResourcesReq) Reset

func (m *ChannelResourcesReq) Reset()

func (*ChannelResourcesReq) Size

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

func (*ChannelResourcesReq) String

func (m *ChannelResourcesReq) String() string

func (*ChannelResourcesReq) Unmarshal

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

func (*ChannelResourcesReq) XXX_DiscardUnknown

func (m *ChannelResourcesReq) XXX_DiscardUnknown()

func (*ChannelResourcesReq) XXX_Marshal

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

func (*ChannelResourcesReq) XXX_Merge

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

func (*ChannelResourcesReq) XXX_Size

func (m *ChannelResourcesReq) XXX_Size() int

func (*ChannelResourcesReq) XXX_Unmarshal

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

type ChannelSquare

type ChannelSquare struct {
	Channel              *Channel `protobuf:"bytes,1,opt,name=channel" json:"channel,omitempty"`
	Oids                 []int64  `protobuf:"varint,2,rep,packed,name=oids" json:"oids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelSquare) Descriptor

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

func (*ChannelSquare) GetChannel

func (m *ChannelSquare) GetChannel() *Channel

func (*ChannelSquare) GetOids

func (m *ChannelSquare) GetOids() []int64

func (*ChannelSquare) Marshal

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

func (*ChannelSquare) MarshalTo

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

func (*ChannelSquare) ProtoMessage

func (*ChannelSquare) ProtoMessage()

func (*ChannelSquare) Reset

func (m *ChannelSquare) Reset()

func (*ChannelSquare) Size

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

func (*ChannelSquare) String

func (m *ChannelSquare) String() string

func (*ChannelSquare) Unmarshal

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

func (*ChannelSquare) XXX_DiscardUnknown

func (m *ChannelSquare) XXX_DiscardUnknown()

func (*ChannelSquare) XXX_Marshal

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

func (*ChannelSquare) XXX_Merge

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

func (*ChannelSquare) XXX_Size

func (m *ChannelSquare) XXX_Size() int

func (*ChannelSquare) XXX_Unmarshal

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

type ChannelSquareReply

type ChannelSquareReply struct {
	Squares              []*ChannelSquare `protobuf:"bytes,1,rep,name=squares" json:"squares,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ChannelSquareReply) Descriptor

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

func (*ChannelSquareReply) GetSquares

func (m *ChannelSquareReply) GetSquares() []*ChannelSquare

func (*ChannelSquareReply) Marshal

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

func (*ChannelSquareReply) MarshalTo

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

func (*ChannelSquareReply) ProtoMessage

func (*ChannelSquareReply) ProtoMessage()

func (*ChannelSquareReply) Reset

func (m *ChannelSquareReply) Reset()

func (*ChannelSquareReply) Size

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

func (*ChannelSquareReply) String

func (m *ChannelSquareReply) String() string

func (*ChannelSquareReply) Unmarshal

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

func (*ChannelSquareReply) XXX_DiscardUnknown

func (m *ChannelSquareReply) XXX_DiscardUnknown()

func (*ChannelSquareReply) XXX_Marshal

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

func (*ChannelSquareReply) XXX_Merge

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

func (*ChannelSquareReply) XXX_Size

func (m *ChannelSquareReply) XXX_Size() int

func (*ChannelSquareReply) XXX_Unmarshal

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

type ChannelSquareReq

type ChannelSquareReq struct {
	Mid                  int64    `protobuf:"varint,1,opt,name=mid,proto3" json:"mid,omitempty"`
	TagNumber            int32    `protobuf:"varint,2,opt,name=tag_number,json=tagNumber,proto3" json:"tag_number,omitempty"`
	ResourceNumber       int32    `protobuf:"varint,3,opt,name=resource_number,json=resourceNumber,proto3" json:"resource_number,omitempty"`
	Type                 int32    `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	Buvid                string   `protobuf:"bytes,5,opt,name=buvid,proto3" json:"buvid,omitempty"`
	Build                int32    `protobuf:"varint,6,opt,name=build,proto3" json:"build,omitempty"`
	LoginEvent           int32    `protobuf:"varint,7,opt,name=login_event,json=loginEvent,proto3" json:"login_event,omitempty"`
	DisplayId            int32    `protobuf:"varint,8,opt,name=display_id,json=displayId,proto3" json:"display_id,omitempty"`
	Plat                 int32    `protobuf:"varint,9,opt,name=plat,proto3" json:"plat,omitempty"`
	From                 int32    `protobuf:"varint,10,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChannelSquareReq) Descriptor

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

func (*ChannelSquareReq) GetBuild

func (m *ChannelSquareReq) GetBuild() int32

func (*ChannelSquareReq) GetBuvid

func (m *ChannelSquareReq) GetBuvid() string

func (*ChannelSquareReq) GetDisplayId

func (m *ChannelSquareReq) GetDisplayId() int32

func (*ChannelSquareReq) GetFrom

func (m *ChannelSquareReq) GetFrom() int32

func (*ChannelSquareReq) GetLoginEvent

func (m *ChannelSquareReq) GetLoginEvent() int32

func (*ChannelSquareReq) GetMid

func (m *ChannelSquareReq) GetMid() int64

func (*ChannelSquareReq) GetPlat

func (m *ChannelSquareReq) GetPlat() int32

func (*ChannelSquareReq) GetResourceNumber

func (m *ChannelSquareReq) GetResourceNumber() int32

func (*ChannelSquareReq) GetTagNumber

func (m *ChannelSquareReq) GetTagNumber() int32

func (*ChannelSquareReq) GetType

func (m *ChannelSquareReq) GetType() int32

func (*ChannelSquareReq) Marshal

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

func (*ChannelSquareReq) MarshalTo

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

func (*ChannelSquareReq) ProtoMessage

func (*ChannelSquareReq) ProtoMessage()

func (*ChannelSquareReq) Reset

func (m *ChannelSquareReq) Reset()

func (*ChannelSquareReq) Size

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

func (*ChannelSquareReq) String

func (m *ChannelSquareReq) String() string

func (*ChannelSquareReq) Unmarshal

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

func (*ChannelSquareReq) XXX_DiscardUnknown

func (m *ChannelSquareReq) XXX_DiscardUnknown()

func (*ChannelSquareReq) XXX_Marshal

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

func (*ChannelSquareReq) XXX_Merge

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

func (*ChannelSquareReq) XXX_Size

func (m *ChannelSquareReq) XXX_Size() int

func (*ChannelSquareReq) XXX_Unmarshal

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

type ChannelSynonym

type ChannelSynonym struct {
	Id                   int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	Alias                string                      `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias"`
	Ctime                go_common_library_time.Time `protobuf:"varint,4,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,5,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*ChannelSynonym) Descriptor

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

func (*ChannelSynonym) GetAlias

func (m *ChannelSynonym) GetAlias() string

func (*ChannelSynonym) GetCtime

func (*ChannelSynonym) GetId

func (m *ChannelSynonym) GetId() int64

func (*ChannelSynonym) GetMtime

func (*ChannelSynonym) GetName

func (m *ChannelSynonym) GetName() string

func (*ChannelSynonym) Marshal

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

func (*ChannelSynonym) MarshalTo

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

func (*ChannelSynonym) ProtoMessage

func (*ChannelSynonym) ProtoMessage()

func (*ChannelSynonym) Reset

func (m *ChannelSynonym) Reset()

func (*ChannelSynonym) Size

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

func (*ChannelSynonym) String

func (m *ChannelSynonym) String() string

func (*ChannelSynonym) Unmarshal

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

func (*ChannelSynonym) XXX_DiscardUnknown

func (m *ChannelSynonym) XXX_DiscardUnknown()

func (*ChannelSynonym) XXX_Marshal

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

func (*ChannelSynonym) XXX_Merge

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

func (*ChannelSynonym) XXX_Size

func (m *ChannelSynonym) XXX_Size() int

func (*ChannelSynonym) XXX_Unmarshal

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

type ChannelsReply

type ChannelsReply struct {
	Channels             []*Channel `protobuf:"bytes,1,rep,name=channels" json:"channels,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ChannelsReply) Descriptor

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

func (*ChannelsReply) GetChannels

func (m *ChannelsReply) GetChannels() []*Channel

func (*ChannelsReply) Marshal

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

func (*ChannelsReply) MarshalTo

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

func (*ChannelsReply) ProtoMessage

func (*ChannelsReply) ProtoMessage()

func (*ChannelsReply) Reset

func (m *ChannelsReply) Reset()

func (*ChannelsReply) Size

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

func (*ChannelsReply) String

func (m *ChannelsReply) String() string

func (*ChannelsReply) Unmarshal

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

func (*ChannelsReply) XXX_DiscardUnknown

func (m *ChannelsReply) XXX_DiscardUnknown()

func (*ChannelsReply) XXX_Marshal

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

func (*ChannelsReply) XXX_Merge

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

func (*ChannelsReply) XXX_Size

func (m *ChannelsReply) XXX_Size() int

func (*ChannelsReply) XXX_Unmarshal

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

type Tag

type Tag struct {
	Id                   int64                       `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
	Name                 string                      `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	Type                 int32                       `protobuf:"varint,3,opt,name=type,proto3" json:"type"`
	Cover                string                      `protobuf:"bytes,4,opt,name=cover,proto3" json:"cover"`
	HeadCover            string                      `protobuf:"bytes,5,opt,name=head_cover,json=headCover,proto3" json:"head_cover"`
	Content              string                      `protobuf:"bytes,6,opt,name=content,proto3" json:"content"`
	ShortContent         string                      `protobuf:"bytes,7,opt,name=short_content,json=shortContent,proto3" json:"short_content"`
	Verify               int32                       `protobuf:"varint,8,opt,name=verify,proto3" json:"-"`
	Attention            int32                       `protobuf:"varint,10,opt,name=attention,proto3" json:"attention"`
	State                int32                       `protobuf:"varint,11,opt,name=state,proto3" json:"-"`
	Sub                  int64                       `protobuf:"varint,12,opt,name=sub,proto3" json:"sub"`
	Bind                 int64                       `protobuf:"varint,13,opt,name=bind,proto3" json:"bind"`
	Likes                int64                       `protobuf:"varint,14,opt,name=likes,proto3" json:"likes"`
	Hates                int64                       `protobuf:"varint,15,opt,name=hates,proto3" json:"hates"`
	Liked                int32                       `protobuf:"varint,16,opt,name=liked,proto3" json:"liked"`
	Hated                int32                       `protobuf:"varint,17,opt,name=hated,proto3" json:"hated"`
	Ctime                go_common_library_time.Time `protobuf:"varint,18,opt,name=ctime,proto3,casttype=go-common/library/time.Time" json:"ctime"`
	Mtime                go_common_library_time.Time `protobuf:"varint,19,opt,name=mtime,proto3,casttype=go-common/library/time.Time" json:"-"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*Tag) Descriptor

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

func (*Tag) GetAttention

func (m *Tag) GetAttention() int32

func (*Tag) GetBind

func (m *Tag) GetBind() int64

func (*Tag) GetContent

func (m *Tag) GetContent() string

func (*Tag) GetCover

func (m *Tag) GetCover() string

func (*Tag) GetCtime

func (m *Tag) GetCtime() go_common_library_time.Time

func (*Tag) GetHated

func (m *Tag) GetHated() int32

func (*Tag) GetHates

func (m *Tag) GetHates() int64

func (*Tag) GetHeadCover

func (m *Tag) GetHeadCover() string

func (*Tag) GetId

func (m *Tag) GetId() int64

func (*Tag) GetLiked

func (m *Tag) GetLiked() int32

func (*Tag) GetLikes

func (m *Tag) GetLikes() int64

func (*Tag) GetMtime

func (m *Tag) GetMtime() go_common_library_time.Time

func (*Tag) GetName

func (m *Tag) GetName() string

func (*Tag) GetShortContent

func (m *Tag) GetShortContent() string

func (*Tag) GetState

func (m *Tag) GetState() int32

func (*Tag) GetSub

func (m *Tag) GetSub() int64

func (*Tag) GetType

func (m *Tag) GetType() int32

func (*Tag) GetVerify

func (m *Tag) GetVerify() int32

func (*Tag) Marshal

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

func (*Tag) MarshalTo

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

func (*Tag) ProtoMessage

func (*Tag) ProtoMessage()

func (*Tag) Reset

func (m *Tag) Reset()

func (*Tag) Size

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

func (*Tag) String

func (m *Tag) String() string

func (*Tag) Unmarshal

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

func (*Tag) XXX_DiscardUnknown

func (m *Tag) XXX_DiscardUnknown()

func (*Tag) XXX_Marshal

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

func (*Tag) XXX_Merge

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

func (*Tag) XXX_Size

func (m *Tag) XXX_Size() int

func (*Tag) XXX_Unmarshal

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

type TagByNameReq

type TagByNameReq struct {
	Tname                string   `protobuf:"bytes,1,opt,name=tname,proto3" json:"tname,omitempty"`
	Mid                  int64    `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagByNameReq) Descriptor

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

func (*TagByNameReq) GetMid

func (m *TagByNameReq) GetMid() int64

func (*TagByNameReq) GetTname

func (m *TagByNameReq) GetTname() string

func (*TagByNameReq) Marshal

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

func (*TagByNameReq) MarshalTo

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

func (*TagByNameReq) ProtoMessage

func (*TagByNameReq) ProtoMessage()

func (*TagByNameReq) Reset

func (m *TagByNameReq) Reset()

func (*TagByNameReq) Size

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

func (*TagByNameReq) String

func (m *TagByNameReq) String() string

func (*TagByNameReq) Unmarshal

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

func (*TagByNameReq) XXX_DiscardUnknown

func (m *TagByNameReq) XXX_DiscardUnknown()

func (*TagByNameReq) XXX_Marshal

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

func (*TagByNameReq) XXX_Merge

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

func (*TagByNameReq) XXX_Size

func (m *TagByNameReq) XXX_Size() int

func (*TagByNameReq) XXX_Unmarshal

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

type TagByNamesReq

type TagByNamesReq struct {
	Tnames               []string `protobuf:"bytes,1,rep,name=tnames" json:"tnames,omitempty"`
	Mid                  int64    `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagByNamesReq) Descriptor

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

func (*TagByNamesReq) GetMid

func (m *TagByNamesReq) GetMid() int64

func (*TagByNamesReq) GetTnames

func (m *TagByNamesReq) GetTnames() []string

func (*TagByNamesReq) Marshal

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

func (*TagByNamesReq) MarshalTo

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

func (*TagByNamesReq) ProtoMessage

func (*TagByNamesReq) ProtoMessage()

func (*TagByNamesReq) Reset

func (m *TagByNamesReq) Reset()

func (*TagByNamesReq) Size

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

func (*TagByNamesReq) String

func (m *TagByNamesReq) String() string

func (*TagByNamesReq) Unmarshal

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

func (*TagByNamesReq) XXX_DiscardUnknown

func (m *TagByNamesReq) XXX_DiscardUnknown()

func (*TagByNamesReq) XXX_Marshal

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

func (*TagByNamesReq) XXX_Merge

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

func (*TagByNamesReq) XXX_Size

func (m *TagByNamesReq) XXX_Size() int

func (*TagByNamesReq) XXX_Unmarshal

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

type TagRPCClient

type TagRPCClient interface {
	// Tag get tag info by tag id.
	Tag(ctx context.Context, in *TagReq, opts ...grpc.CallOption) (*TagReply, error)
	// TagByName get tag info by tag name.
	TagByName(ctx context.Context, in *TagByNameReq, opts ...grpc.CallOption) (*TagReply, error)
	// Tags get tags info by tag ids.
	Tags(ctx context.Context, in *TagsReq, opts ...grpc.CallOption) (*TagsReply, error)
	// TagByNames get tags info by tag names.
	TagByNames(ctx context.Context, in *TagByNamesReq, opts ...grpc.CallOption) (*TagsReply, error)
	// Channel get a channel info, include tags, and channel synonyms.
	Channel(ctx context.Context, in *ChannelReq, opts ...grpc.CallOption) (*ChannelReply, error)
	// ChannelCategory get channels categories by from that international version or normal app version.
	ChannelCategory(ctx context.Context, in *ChannelCategoryReq, opts ...grpc.CallOption) (*ChannelCategoryReply, error)
	// ChanneList get channels by channel category id and the app version.
	ChanneList(ctx context.Context, in *ChanneListReq, opts ...grpc.CallOption) (*ChannelsReply, error)
	// ChannelRecommend get a recommend channel list by mid.
	ChannelRecommend(ctx context.Context, in *ChannelRecommendReq, opts ...grpc.CallOption) (*ChannelsReply, error)
	// ChannelDiscovery get a channel list by mid and channel state (3>2>1)
	ChannelDiscovery(ctx context.Context, in *ChannelDiscoveryReq, opts ...grpc.CallOption) (*ChannelsReply, error)
	// ChannelSquare get channel infos and archives.
	ChannelSquare(ctx context.Context, in *ChannelSquareReq, opts ...grpc.CallOption) (*ChannelSquareReply, error)
	// ChannelResources resource feed under channel.
	ChannelResources(ctx context.Context, in *ChannelResourcesReq, opts ...grpc.CallOption) (*ChannelResourcesReply, error)
	// ChannelCheckBack resource channel checkback.
	ChannelCheckBack(ctx context.Context, in *ChannelCheckBackReq, opts ...grpc.CallOption) (*ChannelCheckBackReply, error)
}

TagRPCClient is the client API for TagRPC 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) (TagRPCClient, error)

NewClient new grpc client

func NewTagRPCClient

func NewTagRPCClient(cc *grpc.ClientConn) TagRPCClient

type TagRPCServer

type TagRPCServer interface {
	// Tag get tag info by tag id.
	Tag(context.Context, *TagReq) (*TagReply, error)
	// TagByName get tag info by tag name.
	TagByName(context.Context, *TagByNameReq) (*TagReply, error)
	// Tags get tags info by tag ids.
	Tags(context.Context, *TagsReq) (*TagsReply, error)
	// TagByNames get tags info by tag names.
	TagByNames(context.Context, *TagByNamesReq) (*TagsReply, error)
	// Channel get a channel info, include tags, and channel synonyms.
	Channel(context.Context, *ChannelReq) (*ChannelReply, error)
	// ChannelCategory get channels categories by from that international version or normal app version.
	ChannelCategory(context.Context, *ChannelCategoryReq) (*ChannelCategoryReply, error)
	// ChanneList get channels by channel category id and the app version.
	ChanneList(context.Context, *ChanneListReq) (*ChannelsReply, error)
	// ChannelRecommend get a recommend channel list by mid.
	ChannelRecommend(context.Context, *ChannelRecommendReq) (*ChannelsReply, error)
	// ChannelDiscovery get a channel list by mid and channel state (3>2>1)
	ChannelDiscovery(context.Context, *ChannelDiscoveryReq) (*ChannelsReply, error)
	// ChannelSquare get channel infos and archives.
	ChannelSquare(context.Context, *ChannelSquareReq) (*ChannelSquareReply, error)
	// ChannelResources resource feed under channel.
	ChannelResources(context.Context, *ChannelResourcesReq) (*ChannelResourcesReply, error)
	// ChannelCheckBack resource channel checkback.
	ChannelCheckBack(context.Context, *ChannelCheckBackReq) (*ChannelCheckBackReply, error)
}

TagRPCServer is the server API for TagRPC service.

type TagReply

type TagReply struct {
	Tag                  *Tag     `protobuf:"bytes,1,opt,name=tag" json:"tag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagReply) Descriptor

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

func (*TagReply) GetTag

func (m *TagReply) GetTag() *Tag

func (*TagReply) Marshal

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

func (*TagReply) MarshalTo

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

func (*TagReply) ProtoMessage

func (*TagReply) ProtoMessage()

func (*TagReply) Reset

func (m *TagReply) Reset()

func (*TagReply) Size

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

func (*TagReply) String

func (m *TagReply) String() string

func (*TagReply) Unmarshal

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

func (*TagReply) XXX_DiscardUnknown

func (m *TagReply) XXX_DiscardUnknown()

func (*TagReply) XXX_Marshal

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

func (*TagReply) XXX_Merge

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

func (*TagReply) XXX_Size

func (m *TagReply) XXX_Size() int

func (*TagReply) XXX_Unmarshal

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

type TagReq

type TagReq struct {
	Tid                  int64    `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
	Mid                  int64    `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagReq) Descriptor

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

func (*TagReq) GetMid

func (m *TagReq) GetMid() int64

func (*TagReq) GetTid

func (m *TagReq) GetTid() int64

func (*TagReq) Marshal

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

func (*TagReq) MarshalTo

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

func (*TagReq) ProtoMessage

func (*TagReq) ProtoMessage()

func (*TagReq) Reset

func (m *TagReq) Reset()

func (*TagReq) Size

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

func (*TagReq) String

func (m *TagReq) String() string

func (*TagReq) Unmarshal

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

func (*TagReq) XXX_DiscardUnknown

func (m *TagReq) XXX_DiscardUnknown()

func (*TagReq) XXX_Marshal

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

func (*TagReq) XXX_Merge

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

func (*TagReq) XXX_Size

func (m *TagReq) XXX_Size() int

func (*TagReq) XXX_Unmarshal

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

type TagsReply

type TagsReply struct {
	Tags                 map[int64]*Tag `` /* 136-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*TagsReply) Descriptor

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

func (*TagsReply) GetTags

func (m *TagsReply) GetTags() map[int64]*Tag

func (*TagsReply) Marshal

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

func (*TagsReply) MarshalTo

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

func (*TagsReply) ProtoMessage

func (*TagsReply) ProtoMessage()

func (*TagsReply) Reset

func (m *TagsReply) Reset()

func (*TagsReply) Size

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

func (*TagsReply) String

func (m *TagsReply) String() string

func (*TagsReply) Unmarshal

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

func (*TagsReply) XXX_DiscardUnknown

func (m *TagsReply) XXX_DiscardUnknown()

func (*TagsReply) XXX_Marshal

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

func (*TagsReply) XXX_Merge

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

func (*TagsReply) XXX_Size

func (m *TagsReply) XXX_Size() int

func (*TagsReply) XXX_Unmarshal

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

type TagsReq

type TagsReq struct {
	Tids                 []int64  `protobuf:"varint,1,rep,packed,name=tids" json:"tids,omitempty"`
	Mid                  int64    `protobuf:"varint,2,opt,name=mid,proto3" json:"mid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TagsReq) Descriptor

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

func (*TagsReq) GetMid

func (m *TagsReq) GetMid() int64

func (*TagsReq) GetTids

func (m *TagsReq) GetTids() []int64

func (*TagsReq) Marshal

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

func (*TagsReq) MarshalTo

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

func (*TagsReq) ProtoMessage

func (*TagsReq) ProtoMessage()

func (*TagsReq) Reset

func (m *TagsReq) Reset()

func (*TagsReq) Size

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

func (*TagsReq) String

func (m *TagsReq) String() string

func (*TagsReq) Unmarshal

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

func (*TagsReq) XXX_DiscardUnknown

func (m *TagsReq) XXX_DiscardUnknown()

func (*TagsReq) XXX_Marshal

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

func (*TagsReq) XXX_Merge

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

func (*TagsReq) XXX_Size

func (m *TagsReq) XXX_Size() int

func (*TagsReq) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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