config

package
v0.0.0-...-5e2de36 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API interface {
	DatabaseString() string
	HTTPAddress() string
	HTTPPort() int
	JWTSecret() string
	ServerReadTimeoutSeconds() int
	ServerWriteTimeoutSeconds() int
	SessionSecret() string
	TokenTimeout() time.Duration
	LoginPath() string
	RootPath() string
	LogFormat() string
}

func New

func New() API

Jump to

Keyboard shortcuts

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