tra

package
v0.0.0-...-47a16c3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

tra

trasrv

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(localDir, localAddr, remoteDir, remoteAddr string) error

func StartSrv

func StartSrv(port string) error

Types

type TraSrv

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

func (*TraSrv) GetDb

func (t *TraSrv) GetDb(args *int, reply *db.TraDb) error

func (*TraSrv) InitDb

func (t *TraSrv) InitDb(dir *string, reply *int) error

func (*TraSrv) PutDb

func (t *TraSrv) PutDb(args *db.TraDb, reply *int) error

func (*TraSrv) PutDir

func (t *TraSrv) PutDir(dir *db.FileData, args *int) error

func (*TraSrv) PutFile

func (t *TraSrv) PutFile(data *db.FileData, args *int) error

func (*TraSrv) RemoveDir

func (t *TraSrv) RemoveDir(dir *db.FileData, args *int) error

func (*TraSrv) RemoveFile

func (t *TraSrv) RemoveFile(filename *string, reply *int) error

func (*TraSrv) ShowConflict

func (t *TraSrv) ShowConflict(filename *string, reply *int) error

func (*TraSrv) StopSrv

func (t *TraSrv) StopSrv(arg *string, reply *int) error

Jump to

Keyboard shortcuts

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