config

package
v0.0.0-...-328bdad Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: BSL-1.0 Imports: 3 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 {
	Host             string
	Port             int
	PostgresHost     string
	PostgresPort     int
	PostgresUser     string
	PostgresDB       string
	PostgresPassword string

	AccessSigningKey  string
	RefreshSigningKey string

	CasbinModelConfigPath string
	CasbinModelPath       string

	Environment string

	AccessKeyExpireDays  int
	RefreshKeyExpireDays int
}

func Get

func Get() *Config

Get gives instance of Config struct with configuration values

Jump to

Keyboard shortcuts

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