Discover Packages
github.com/vpbuyanov/syncplay
internal
config
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 12, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Config struct {
Postgres Postgres `yaml:"postgres"`
Server Server `yaml:"server"`
}
type Postgres struct {
Host string `yaml:"host"`
User string `yaml:"user"`
Password string `yaml:"password"`
DBName string `yaml:"dbname"`
Port int `yaml:"port"`
}
type Server struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
TimeOut time .Duration `yaml:"timeout"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.