config

package
v0.0.0-...-d34719b Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 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 AppConfig

type AppConfig struct {
	Token        string `envconfig:"TOKEN"`
	DatabasePath string `envconfig:"DATABASE_PATH"`
}

func NewAppConfig

func NewAppConfig() (*AppConfig, error)

func (*AppConfig) GetDatabasePath

func (c *AppConfig) GetDatabasePath() string

func (*AppConfig) GetToken

func (c *AppConfig) GetToken() string

Jump to

Keyboard shortcuts

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