config

package
v0.0.0-...-f861859 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(configPath string)

Types

type Configuration

type Configuration struct {
	Server ServerConfiguration
}
var Config *Configuration

func GetConfig

func GetConfig() *Configuration

type ServerConfiguration

type ServerConfiguration struct {
	Port   string
	Secret string
	Mode   string
}

Jump to

Keyboard shortcuts

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