config

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

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

Go to latest
Published: Jun 18, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppConfiguration

type AppConfiguration struct {
	Host          string
	Port          int
	LogLevel      string
	AccessLogFile string
	LogFolder     string
	LogFile       string
	Mode          string
}

type Configuration

type Configuration struct {
	AppConfig AppConfiguration
	Services  ServiceConfiguration
	DBConfig  DBConfiguration
	Oauth     OauthConfig
}

type DBConfiguration

type DBConfiguration struct {
	Dblog        bool
	MaxIdleConns int
	MaxOpenConns int
	Databasehost string
	Schemaname   string
	Username     string
	Password     string
	Drivername   string
}

type GoogleOauthConfig

type GoogleOauthConfig struct {
	ClientID     string
	ClientSecret string
	Redirect     string
}

type OauthConfig

type OauthConfig struct {
	Google GoogleOauthConfig
}

type ServiceConfiguration

type ServiceConfiguration struct {
	Metadata      ServiceDetails
	Dataingestion ServiceDetails
	Gamelogic     ServiceDetails
	Tokenxchange  ServiceDetails
	TerminalApp   ServiceDetails
}

type ServiceDetails

type ServiceDetails struct {
	Endpoint string
	Protocol string
	Headers  map[string]string
	Async    bool
}

Jump to

Keyboard shortcuts

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