Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Environment string `yaml:"environment"` Logger logger.Config Pactus pactus.Config Polygon polygon.Config Database database.Config HTTPServer http.Config }
func LoadConfig ¶
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error represents an error in loading or validating config.
type InvalidEnvironmentError ¶
type InvalidEnvironmentError struct {
Environment string
}
func (InvalidEnvironmentError) Error ¶
func (e InvalidEnvironmentError) Error() string
Click to show internal directories.
Click to hide internal directories.