config

package
v0.0.0-...-0a492bd Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *config

func InitializeConfig

func InitializeConfig(path string)

Types

type ServerConfig

type ServerConfig struct {
	Port                    int `toml:"port"`
	ShutdownTimeoutInSecond int `toml:"shutdown_timeout_in_second"`
}

Jump to

Keyboard shortcuts

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