rpc

package
v0.0.0-...-23d24bf Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnableAdminFlagName = "rpc.enable-admin"
)

Variables

This section is empty.

Functions

func CLIFlags

func CLIFlags(envPrefix string) []cli.Flag

func NewAdminAPI

func NewAdminAPI(dr batcherClient) *adminAPI

Types

type CLIConfig

type CLIConfig struct {
	ptrpc.CLIConfig
	EnableAdmin bool
}

func ReadCLIConfig

func ReadCLIConfig(ctx *cli.Context) CLIConfig

Jump to

Keyboard shortcuts

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