api

package
v0.0.0-...-0cd89e8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2016 License: GPL-2.0 Imports: 5 Imported by: 0

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) Descriptor() ([]byte, []int)

func (*File) ProtoMessage

func (*File) ProtoMessage()

func (*File) Reset

func (m *File) Reset()

func (*File) String

func (m *File) String() string

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

Jump to

Keyboard shortcuts

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