config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ENV

type ENV struct {
	PostgresURI  string        `envconfig:"PG_URI"`
	MySQLURI     string        `envconfig:"MYSQL_URI"`
	RabbitMQURI  string        `envconfig:"RABBITMQ_URI"`
	SQSURI       string        `envconfig:"SQS_URI"`
	MineInterval time.Duration `envconfig:"MINE_INTERVAL"`
}

ENV maps the Env vars.

func Process

func Process() (ENV, error)

Process loads Environment vars into ENV.

Jump to

Keyboard shortcuts

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