rpc

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstructModule

func ConstructModule(tp node.Type, cfg *rpcServ.Config) fx.Option

func Flags

func Flags() *flag.FlagSet

Flags gives a set of hardcoded node/rpc package flags.

func Handler

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

Handler constructs a new RPC Handler from the given services.

func ParseFlags

func ParseFlags(cmd *cobra.Command, cfg *rpc.Config)

ParseFlags parses RPC flags from the given cmd and saves them to the passed config.

Types

This section is empty.

Jump to

Keyboard shortcuts

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