config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVarPrefix = "MYAPP"

Variables

View Source
var AbsoluteAssetsPath string

AbsoluteAssetsPath must be set when UseStaticFiles is set to false

View Source
var CertDir string

CertDir defines where to put certificate files

View Source
var CertFile string

CertFile filepath to certificate

View Source
var GracefulShutdownPeriod time.Duration

GracefulShutdownPeriod seconds to wait for api server to shutdown while shutting down the service

View Source
var IdleTimeout time.Duration

IdleTimeout used as http server config

View Source
var KeyFile string

KeyFile filepath to certificate key

View Source
var ReadTimeout time.Duration

ReadTimeout used as http server config

View Source
var ServerAddressBindTLS string

ServerAddressBindTLS defines the network interface to bind the https listener to

View Source
var ServerPortTLS string

ServerPortTLS for secure API like hooks or REST access

View Source
var UseStaticFiles bool

UseStaticFiles may be set to false during development to not use static assets

View Source
var WriteTimeout time.Duration

WriteTimeout used as http server config

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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