config

package
v0.0.0-...-9fdab00 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2022 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 ControllerConfig

type ControllerConfig struct {
	ModelConfig *ModelConfig
	Host        string
	Port        string
}

func CreateControllerConfig

func CreateControllerConfig(reader config_reader.ConfigReader) *ControllerConfig

type DbConfig

type DbConfig struct {
	URL             string
	MaxIdleConn     int
	MaxOpenConn     int
	ConnMaxLifetime time.Duration
}

func CreateDbConfig

func CreateDbConfig(reader config_reader.ConfigReader) *DbConfig

type ModelConfig

type ModelConfig struct {
	DbConfig    *DbConfig
	TokenConfig *token_manager.TokenConfig
}

func CreateModelConfig

func CreateModelConfig(reader config_reader.ConfigReader) *ModelConfig

Jump to

Keyboard shortcuts

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