config

package
v0.0.0-...-ae6e605 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JWTDuration

func JWTDuration() time.Duration

JWTDuration returns the duration a JSON Web Token will be valid from creation. A duration of 0 will be returned in the event of an error.

func JWTSignKey

func JWTSignKey() string

JWTSignKey returns a secret key to sign JSON Web Tokens.

func PostgresSourceName

func PostgresSourceName() string

PostgresSourceName returns a string containing connection info specific to a Postgres database.

func ServerAddress

func ServerAddress() string

ServerAddress returns a network address to listen for requests.

Types

This section is empty.

Jump to

Keyboard shortcuts

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