rpc

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCDomains

type RPCDomains struct {
	TxPool *txpool.TxPool
}

type RPCServer

type RPCServer struct {
	Server     *rpc.Server
	Addr       string
	HttpServer *http.Server
}

func NewRPCServer

func NewRPCServer(addr string, domains *RPCDomains) *RPCServer

func (*RPCServer) ActivateModules

func (s *RPCServer) ActivateModules(domains *RPCDomains) error

func (*RPCServer) Start

func (s *RPCServer) Start(addr string)

Jump to

Keyboard shortcuts

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