Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Specification ¶
type Specification struct { Debug bool `default:"true"` ServerPort int `default:"5051"` DbUsername string `required:"true"` DbPassword string `required:"true"` DbHost string `required:"true"` DbPort string `required:"true"` DbDefaultName string `required:"true"` }
func Load ¶
func Load() *Specification
func (*Specification) GetDbDefaultName ¶
func (s *Specification) GetDbDefaultName() string
func (*Specification) GetDbHost ¶
func (s *Specification) GetDbHost() string
func (*Specification) GetDbPassword ¶
func (s *Specification) GetDbPassword() string
func (*Specification) GetDbPort ¶
func (s *Specification) GetDbPort() string
func (*Specification) GetDbUsername ¶
func (s *Specification) GetDbUsername() string
Click to show internal directories.
Click to hide internal directories.