configs

package
v0.0.0-...-12d4a3b Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Debug           bool
	Host            string
	Port            int
	SecretKey       string
	TokenExpireHour int
}

type Config

type Config struct {
	Mongo *Mongo
	App   *App
}

func NewConfig

func NewConfig() (*Config, error)

type Mongo

type Mongo struct {
	MongoUser string
	MongoPass string
	MongoHost string
	MongoPort int
	MongoDB   string
	UserColl  string
}

Jump to

Keyboard shortcuts

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