config

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2025 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCClientConfig added in v0.1.0

type RPCClientConfig struct {
	URL         string         `mapstructure:"URL"`
	Mode        RPCMode        `jsonschema:"enum=basic, enum=op" mapstructure:"Mode"`
	ExtraParams map[string]any `jsonschema:"omitempty" mapstructure:",remain"`
}

func (RPCClientConfig) GetString added in v0.1.0

func (c RPCClientConfig) GetString(key string) (string, error)

type RPCMode added in v0.1.0

type RPCMode string
var (
	RPCModeBasic RPCMode = "basic"
	RPCModeOp    RPCMode = "op"
)

Jump to

Keyboard shortcuts

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