Documentation ¶
Index ¶
- func RegisterMetaInfoServer(s *grpc.Server, srv MetaInfoServer)
- type MetaInfoClient
- type MetaInfoReply
- func (*MetaInfoReply) Descriptor() ([]byte, []int)
- func (m *MetaInfoReply) GetMetainfo() []byte
- func (*MetaInfoReply) ProtoMessage()
- func (m *MetaInfoReply) Reset()
- func (m *MetaInfoReply) String() string
- func (m *MetaInfoReply) XXX_DiscardUnknown()
- func (m *MetaInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MetaInfoReply) XXX_Merge(src proto.Message)
- func (m *MetaInfoReply) XXX_Size() int
- func (m *MetaInfoReply) XXX_Unmarshal(b []byte) error
- type MetaInfoRequest
- func (*MetaInfoRequest) Descriptor() ([]byte, []int)
- func (m *MetaInfoRequest) GetUrl() string
- func (*MetaInfoRequest) ProtoMessage()
- func (m *MetaInfoRequest) Reset()
- func (m *MetaInfoRequest) String() string
- func (m *MetaInfoRequest) XXX_DiscardUnknown()
- func (m *MetaInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *MetaInfoRequest) XXX_Merge(src proto.Message)
- func (m *MetaInfoRequest) XXX_Size() int
- func (m *MetaInfoRequest) XXX_Unmarshal(b []byte) error
- type MetaInfoServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetaInfoServer ¶
func RegisterMetaInfoServer(s *grpc.Server, srv MetaInfoServer)
Types ¶
type MetaInfoClient ¶
type MetaInfoClient interface { // Get metainfo GetMetaInfo(ctx context.Context, in *MetaInfoRequest, opts ...grpc.CallOption) (*MetaInfoReply, error) }
MetaInfoClient is the client API for MetaInfo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMetaInfoClient ¶
func NewMetaInfoClient(cc *grpc.ClientConn) MetaInfoClient
type MetaInfoReply ¶
type MetaInfoReply struct { Metainfo []byte `protobuf:"bytes,1,opt,name=metainfo,proto3" json:"metainfo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response message containing the metainfo bytes
func (*MetaInfoReply) Descriptor ¶
func (*MetaInfoReply) Descriptor() ([]byte, []int)
func (*MetaInfoReply) GetMetainfo ¶
func (m *MetaInfoReply) GetMetainfo() []byte
func (*MetaInfoReply) ProtoMessage ¶
func (*MetaInfoReply) ProtoMessage()
func (*MetaInfoReply) Reset ¶
func (m *MetaInfoReply) Reset()
func (*MetaInfoReply) String ¶
func (m *MetaInfoReply) String() string
func (*MetaInfoReply) XXX_DiscardUnknown ¶
func (m *MetaInfoReply) XXX_DiscardUnknown()
func (*MetaInfoReply) XXX_Marshal ¶
func (m *MetaInfoReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetaInfoReply) XXX_Merge ¶
func (dst *MetaInfoReply) XXX_Merge(src proto.Message)
func (*MetaInfoReply) XXX_Size ¶
func (m *MetaInfoReply) XXX_Size() int
func (*MetaInfoReply) XXX_Unmarshal ¶
func (m *MetaInfoReply) XXX_Unmarshal(b []byte) error
type MetaInfoRequest ¶
type MetaInfoRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The request message containing the source request
func (*MetaInfoRequest) Descriptor ¶
func (*MetaInfoRequest) Descriptor() ([]byte, []int)
func (*MetaInfoRequest) GetUrl ¶
func (m *MetaInfoRequest) GetUrl() string
func (*MetaInfoRequest) ProtoMessage ¶
func (*MetaInfoRequest) ProtoMessage()
func (*MetaInfoRequest) Reset ¶
func (m *MetaInfoRequest) Reset()
func (*MetaInfoRequest) String ¶
func (m *MetaInfoRequest) String() string
func (*MetaInfoRequest) XXX_DiscardUnknown ¶
func (m *MetaInfoRequest) XXX_DiscardUnknown()
func (*MetaInfoRequest) XXX_Marshal ¶
func (m *MetaInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MetaInfoRequest) XXX_Merge ¶
func (dst *MetaInfoRequest) XXX_Merge(src proto.Message)
func (*MetaInfoRequest) XXX_Size ¶
func (m *MetaInfoRequest) XXX_Size() int
func (*MetaInfoRequest) XXX_Unmarshal ¶
func (m *MetaInfoRequest) XXX_Unmarshal(b []byte) error
type MetaInfoServer ¶
type MetaInfoServer interface { // Get metainfo GetMetaInfo(context.Context, *MetaInfoRequest) (*MetaInfoReply, error) }
MetaInfoServer is the server API for MetaInfo service.
Click to show internal directories.
Click to hide internal directories.