Documentation ¶
Index ¶
- func RegisterUploadServiceHandler(s server.Server, hdlr UploadServiceHandler, opts ...server.HandlerOption) error
- type ReqEntry
- func (*ReqEntry) Descriptor() ([]byte, []int)
- func (*ReqEntry) ProtoMessage()
- func (m *ReqEntry) Reset()
- func (m *ReqEntry) String() string
- func (m *ReqEntry) XXX_DiscardUnknown()
- func (m *ReqEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqEntry) XXX_Merge(src proto.Message)
- func (m *ReqEntry) XXX_Size() int
- func (m *ReqEntry) XXX_Unmarshal(b []byte) error
- type RespEntry
- func (*RespEntry) Descriptor() ([]byte, []int)
- func (m *RespEntry) GetCode() int32
- func (m *RespEntry) GetEntry() string
- func (m *RespEntry) GetMessage() string
- func (*RespEntry) ProtoMessage()
- func (m *RespEntry) Reset()
- func (m *RespEntry) String() string
- func (m *RespEntry) XXX_DiscardUnknown()
- func (m *RespEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RespEntry) XXX_Merge(src proto.Message)
- func (m *RespEntry) XXX_Size() int
- func (m *RespEntry) XXX_Unmarshal(b []byte) error
- type UploadService
- type UploadServiceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterUploadServiceHandler ¶
func RegisterUploadServiceHandler(s server.Server, hdlr UploadServiceHandler, opts ...server.HandlerOption) error
Types ¶
type ReqEntry ¶
type ReqEntry struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqEntry) Descriptor ¶
func (*ReqEntry) ProtoMessage ¶
func (*ReqEntry) ProtoMessage()
func (*ReqEntry) XXX_DiscardUnknown ¶
func (m *ReqEntry) XXX_DiscardUnknown()
func (*ReqEntry) XXX_Marshal ¶
func (*ReqEntry) XXX_Unmarshal ¶
type RespEntry ¶
type RespEntry struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` Entry string `protobuf:"bytes,3,opt,name=entry,proto3" json:"entry,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RespEntry) Descriptor ¶
func (*RespEntry) GetMessage ¶
func (*RespEntry) ProtoMessage ¶
func (*RespEntry) ProtoMessage()
func (*RespEntry) XXX_DiscardUnknown ¶
func (m *RespEntry) XXX_DiscardUnknown()
func (*RespEntry) XXX_Marshal ¶
func (*RespEntry) XXX_Unmarshal ¶
type UploadService ¶
type UploadService interface { // 获取上传入口地址 UploadEntry(ctx context.Context, in *ReqEntry, opts ...client.CallOption) (*RespEntry, error) }
func NewUploadService ¶
func NewUploadService(name string, c client.Client) UploadService
Click to show internal directories.
Click to hide internal directories.