rpcbs

package
v0.0.0-...-fa676ed Latest Latest
Warning

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

Go to latest
Published: May 13, 2016 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(args ...string) (*client, error)

func Serve

func Serve()

Types

type Params

type Params struct {
	DestFile      string
	FileSize      int64
	BlockSize     int
	Workers       int
	HashType      string
	ForceCreation bool
	Mode          string
}

type RWBridge

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

func (*RWBridge) Close

func (self *RWBridge) Close() error

func (*RWBridge) Read

func (self *RWBridge) Read(b []byte) (int, error)

func (*RWBridge) Write

func (self *RWBridge) Write(b []byte) (int, error)

type Server

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

func (*Server) Ping

func (self *Server) Ping(dummy int, reply *string) error

func (*Server) SetParams

func (self *Server) SetParams(params Params, _ *int) error

func (*Server) StartHashing

func (self *Server) StartHashing(_ int, _ *int) error

Jump to

Keyboard shortcuts

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