rpc

package
v1.0.1-rc.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 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 {
	krpc.CLIConfig
	EnableAdmin bool
}

func ReadCLIConfig

func ReadCLIConfig(ctx *cli.Context) CLIConfig

func (*CLIConfig) ToServiceCLIConfig

func (c *CLIConfig) ToServiceCLIConfig() krpc.CLIConfig

Jump to

Keyboard shortcuts

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