Discover Packages
github.com/KIRAKIRA-DOUGA/KIRAKIRA-golang-backend/video_service
internal
config
package
Version:
v0.0.0-...-831c856
Opens a new window with list of versions in this module.
Published: Sep 4, 2023
License: BSD-2-Clause
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
func New() (*config, error )
type PostgresInfo struct {
Hostname string `env:"pgs_host,required"`
Port int `env:"pgs_port,required"`
Username string `env:"pgs_user"`
Password string `env:"pgs_pass"`
Db string `env:"pgs_db,required"`
}
type RedisInfo struct {
Hostname string `env:"redis_host,required"`
Port int `env:"redis_port,required"`
Password string `env:"redis_pass,required"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.