Documentation
¶
Index ¶
Constants ¶
View Source
const ( MySQL = "mysql" MSSQL = "mssql" MongoDB = "mongodb" Posgres = "postgres" REST = "rest" FTP = "ftp" )
Variables ¶
This section is empty.
Functions ¶
func ExtensionAs ¶
func ExtensionAs[T any](c *BaseConfig) (T, error)
Types ¶
type BaseConfig ¶
type BaseConfig struct {
Svc service `yaml:"service"`
Srcs []source `yaml:"sources"`
Log logConfig `yaml:"logging,omitempty"`
Ext any `yaml:"extension,omitempty"`
}
BaseConfig implements boiler.Config
func Get ¶ added in v0.0.7
func Get() *BaseConfig
func (*BaseConfig) Extension ¶
func (bc *BaseConfig) Extension() any
func (*BaseConfig) LogConfig ¶
func (bc *BaseConfig) LogConfig() logConfig
func (*BaseConfig) Sources ¶
func (bc *BaseConfig) Sources() []boiler.IOWithAuth
Implement boiler.Config interface
func (*BaseConfig) Validate ¶ added in v0.0.7
func (bc *BaseConfig) Validate() error
type ConfigManager ¶ added in v0.0.7
type ConfigManager struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.