configs

package
v0.0.0-...-db524d0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitConfig

func InitConfig() (DbConnection, APIServerInfo, string)

InitConfig get configuration for project

Types

type APIServerInfo

type APIServerInfo struct {
	Hostname string
	Port     string
}

APIServerInfo information on API server

type DbConnection

type DbConnection struct {
	User     string
	Database string
	Password string
	Host     string
	Port     string
}

DbConnection information to connect to DB

Jump to

Keyboard shortcuts

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