Discover Packages
github.com/horahoradev/horahora/video_service
internal
config
package
Version:
v0.0.0-...-514e0f0
Opens a new window with list of versions in this module.
Published: Nov 14, 2023
License: MIT
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.