config

package
v0.0.0-...-4f6455c Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 1 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 {
	Server Server
	Store  Store
}

Config

func New

func New() (*Config, error)

New - contructor

type Server

type Server struct {
	Host string `envconfig:"SERVER_HOST" required:"true"`
}

Server

type Store

type Store struct {
	Url string `envconfig:"STORE_URL" required:"true"`
}

Store

Jump to

Keyboard shortcuts

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