config

package
v0.0.0-...-335c537 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: Apache-2.0 Imports: 2 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 {
	HTTPAddr        string `envconfig:"HTTP_ADDR"`
	InfuraEndpoint  string `envconfig:"INFURA_ENDPOINT"`
	ContractAddress string `envconfig:"CONTRACT_ADDRESS"`
}

Config is a config :).

func Get

func Get() (*Config, error)

Get reads config from environment. Once.

Jump to

Keyboard shortcuts

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