receiver

package
v0.0.0-...-691d4ba Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2015 License: Apache-2.0, MIT Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Call(serviceMethod string, args interface{}, reply interface{}) error
	Go(serviceMethod string, args interface{}, reply interface{}, done chan *rpc.Call) *rpc.Call
}

type Receiver

type Receiver interface {
	io.WriteCloser
	SaveChunk(rolling uint32, strong, data []byte) error
	Signatures() (signatures.Signatures, error)
}

func NewReceiver

func NewReceiver(fileName string, client Client) (Receiver, error)

Registers object on the server side and creates a necessary file tree if this is a new file

func NewSecondaryReceiver

func NewSecondaryReceiver(receiver Receiver, streamIndex int) Receiver

Jump to

Keyboard shortcuts

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