cfg

package
v0.0.0-...-65b7641 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBName    = "profile"
	StatsName = "statsProfile"

	PublicHTTP  = "public"
	PrivateHTTP = "private"
	V1          = "1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Logger      *logger.Config
	DB          *pq.Config
	PublicHTTP  *echo.Config
	PrivateHTTP *echo.Config
	Stats       *garage.Config
}

func Get

func Get(ctx context.Context) *Config

func NewConfig

func NewConfig() *Config

Jump to

Keyboard shortcuts

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