config

package
v0.0.0-...-38b3521 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: MIT Imports: 8 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 {
	Constants
	Psql PsqlInstance
	Log  *logrus.Logger
}
var ServiceConfig Config

func NewServiceConfig

func NewServiceConfig() (*Config, error)

type Constants

type Constants struct {
	Port            string
	LogLevel        string
	DatabaseURL     string
	ServiceName     string
	ReleaseDate     string
	ReleaseSlug     string
	ReleaseVersion  string
	HashSecret      string
	MetadataKeyList string
	MetadataHashKey string
	TwitchClientId  string
	TwitchSecret    string
}

type PsqlInstance

type PsqlInstance struct {
	DB *gorm.DB
}

Jump to

Keyboard shortcuts

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