configs

package
v0.0.0-...-0686fb6 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 7 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 {
	AppPort string

	DBHost       string
	DBPort       string
	DBName       string
	DBUser       string
	DBPassword   string
	DBConnection *gorm.DB

	JWTConfig
}
var AppConfig Config

func (*Config) Setup

func (c *Config) Setup() (err error)

type JWTConfig

type JWTConfig struct {
	JWTSignatureKey     string
	JWTPublicKey        string
	JWTExpirationSecond time.Duration
}

Jump to

Keyboard shortcuts

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