rpcserver

package
v0.0.0-...-88c3b2e Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartRpcServer

func StartRpcServer(s *storage.Storage)

Types

type Storage

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

func (*Storage) Backup

func (r *Storage) Backup(args *string, reply *bool) error

func (*Storage) Check

func (r *Storage) Check(args *bool, reply *error) error

func (*Storage) FileList

func (r *Storage) FileList(prefix *string, reply *[]string) (err error)

func (*Storage) Ping

func (r *Storage) Ping(args *bool, reply *string) error

func (*Storage) Status

func (r *Storage) Status(args *bool, reply *stats.StatsInfo) error

func (*Storage) Version

func (r *Storage) Version(args *bool, reply *string) error

Jump to

Keyboard shortcuts

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