rpc

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Listener net.Listener

Listener is an instance of net.Listener used by the RPC server.

Functions

func Initialize

func Initialize() error

Initialize early initializes RPC server.

func Serve

func Serve()

Serve starts RPC server.

Types

type N

type N bool

N represents an instance of exported stuff with all RPC receiver functions.

func (N) DatabaseAction

func (N) DatabaseAction(args []string, reply *[]string) error

DatabaseAction performs a database action.

func (N) DatabaseActionHashmap

func (N) DatabaseActionHashmap(args []string, reply *[]map[string]string) error

DatabaseActionHashmap performs a database action with hashmaps.

func (N) Restart

func (N) Restart(_ []int, _ *int) error

Restart initiates a restart.

func (N) Shutdown

func (N) Shutdown(_ []int, _ *int) error

Shutdown initiates a shutdown.

func (N) Version

func (N) Version(_ []int, reply *[]string) error

Version returns version information.

Jump to

Keyboard shortcuts

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