Documentation ¶
Overview ¶
Package api is a generated protocol buffer package.
It is generated from these files:
vmserver.proto
It has these top-level messages:
File UploadResponse
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBulkTestServer ¶
func RegisterBulkTestServer(s *grpc.Server, srv BulkTestServer)
Types ¶
type BulkTestClient ¶
type BulkTestClient interface {
UploadFiles(ctx context.Context, in *File, opts ...grpc.CallOption) (*UploadResponse, error)
}
func NewBulkTestClient ¶
func NewBulkTestClient(cc *grpc.ClientConn) BulkTestClient
type BulkTestServer ¶
type BulkTestServer interface {
UploadFiles(context.Context, *File) (*UploadResponse, error)
}
type File ¶
type File struct { Size int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` }
func (*File) Descriptor ¶
func (*File) ProtoMessage ¶
func (*File) ProtoMessage()
type UploadResponse ¶
type UploadResponse struct { }
func (*UploadResponse) Descriptor ¶
func (*UploadResponse) Descriptor() ([]byte, []int)
func (*UploadResponse) ProtoMessage ¶
func (*UploadResponse) ProtoMessage()
func (*UploadResponse) Reset ¶
func (m *UploadResponse) Reset()
func (*UploadResponse) String ¶
func (m *UploadResponse) String() string
Click to show internal directories.
Click to hide internal directories.