rpc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2025 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