rpc

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler added in v0.3.0

func Handler(
	state *state.Service,
	share *share.Service,
	header *header.Service,
	serv *rpc.Server,
	daser *das.DASer,
)

Handler constructs a new RPC Handler from the given services.

func Server

func Server(cfg rpc.Config) func(lc fx.Lifecycle) *rpc.Server

Server constructs a new RPC Server from the given Config.

TODO(@renaynay/@Wondertan): this component is meant to be removed on implementation
 of https://github.com/celestiaorg/celestia-node/pull/506.

Types

This section is empty.

Jump to

Keyboard shortcuts

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