rpc

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCServer

type RPCServer struct {
	// same as server host
	Host string
	// defaults to 4004
	Port string
}

func NewRPCServer

func NewRPCServer(host, port string) *RPCServer

func (*RPCServer) Run

func (r *RPCServer) Run() error

func (*RPCServer) SetMaintenanceMode

func (r *RPCServer) SetMaintenanceMode(on bool, resp *string) error

Jump to

Keyboard shortcuts

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