config

package
v0.0.0-...-19239a5 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: EUPL-1.2 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Port               int
	Urls               Urls
	ClientBuildDir     string
	LogLevel           log.Level
	ServerReadTimeout  time.Duration
	ServerWriteTimeout time.Duration
	GracefulTimeout    time.Duration
}

func New

func New() *Configuration

type Urls

type Urls struct {
	ApiServer      string `json:"apiServerUrl"`
	UpvsLogin      string `json:"upvsLoginUrl"`
	LogoutCallback string `json:"logoutCallbackUrl"`
}

Jump to

Keyboard shortcuts

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