Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func New

func New() *Uploader

func (*Uploader) Add

func (hp *Uploader) Add(r io.Reader) string

func (*Uploader) Pull

func (hp *Uploader) Pull(stream upload.Upload_PullServer) error

func (*Uploader) Register

func (hp *Uploader) Register(server *grpc.Server)

Source Files