config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RPCAddress      string           `yaml:"rpc_address,omitempty"`
	RPCTimeout      *time.Duration   `yaml:"rpc_timeout,omitempty"`
	CertificatePath string           `yaml:"certificate_path,omitempty"`
	MacaroonPath    string           `yaml:"macaroon_path,omitempty"`
	Policies        []*policy.Policy `yaml:"policies,omitempty"`
}

Config is acceptLND's configuration schema.

func Load

func Load(path string) (Config, error)

Load reads the configuration file and returns a new object.

Jump to

Keyboard shortcuts

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