config

package
v0.0.0-...-cb07b45 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: MIT Imports: 4 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 {
	// ...
	PaymentProviderKey string `env:"PAYMENT_PROVIDER_KEY,required"`
	SupplyWalletKey    string `env:"SUPPLY_WALLET_KEY,required"`
	Chain              cw.ChainConfig
}

func NewConfig

func NewConfig(ctx context.Context, path, envpath string) (*Config, error)

func NewConfigWChain

func NewConfigWChain(ctx context.Context, envpath string, chain cw.ChainConfig) (*Config, error)

Jump to

Keyboard shortcuts

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