config

package
v0.0.0-...-1551971 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DataBase  database.DataBase `json:"database"`
	JWT       JWT               `json:"jwt"`
	StripeKey string            `json:"stripe"`
	Http      server.Http       `json:"http"`
}

func LoadConfig

func LoadConfig() (cfg Config)

type JWT

type JWT struct {
	Secret string `json:"secret"`
}

Jump to

Keyboard shortcuts

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