rpc

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2026 License: Apache-2.0 Imports: 14 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 {
	// contains filtered or unexported fields
}

RPCServer manages the HTTP server for RPC requests. It delegates the actual RPC method implementations to an rpcProvider.

func NewRPCServer

func NewRPCServer(
	cfg *cmtcfg.RPCConfig,
	logger log.Logger,
) *RPCServer

NewRPCServer creates a new RPC server.

func (*RPCServer) Start

func (r *RPCServer) Start() error

Start starts the RPC server.

func (*RPCServer) Stop

func (r *RPCServer) Stop() error

Stop stops the RPC server gracefully.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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