config

package
v0.0.0-...-0651e20 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.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 CrabConfig

type CrabConfig struct {
	*LogConfig
	WebServerPort string
}

func GetCrabConfig

func GetCrabConfig() (*CrabConfig, error)

type LogConfig

type LogConfig struct {
	LogLevel log.Level
}

type MysqlConfig

type MysqlConfig struct {
	User       string
	Host       string
	PassWord   string
	Port       string
	DBName     string
	ConnParams string
}

func GetMysqlConfig

func GetMysqlConfig() (*MysqlConfig, error)

func (*MysqlConfig) GetConnString

func (smc *MysqlConfig) GetConnString() string

Jump to

Keyboard shortcuts

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