settings

package
v0.0.0-...-85a151d Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load()

Types

type AmqpSettings

type AmqpSettings struct {
	URL string
}
var Amqp AmqpSettings

type ApplicationSettings

type ApplicationSettings struct {
	Port string
}
var Application ApplicationSettings

type AuthSettings

type AuthSettings struct {
	JWTSecret  string
	RefreshTTL time.Duration
	TTL        time.Duration
}
var Auth AuthSettings

type DatabaseSettings

type DatabaseSettings struct {
	Username string
	Password string
	Name     string
	Host     string
	Port     string
	Type     string
	URI      string
}
var Database DatabaseSettings

Jump to

Keyboard shortcuts

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