Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Boot ¶
func Boot( loadEnvFunc LoadEnvFunc, newConfigFunc NewConfigFunc, registrarCenter RegisterExecutor, )
Types ¶
type Config ¶
func NewConfigWithCommand ¶
func NewConfigWithCommand() *Config
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
type LoadEnvFunc ¶
type LoadEnvFunc func()
type NewConfigFunc ¶
type NewConfigFunc func() *Config
type RegisterExecutor ¶
type RegisterExecutor interface { BeforeExecute() Execute() AfterExecute() }
type RegistrarCenter ¶
type RegistrarCenter struct {
// contains filtered or unexported fields
}
func NewRegistrarCenter ¶
func NewRegistrarCenter(registrars []Registrar) *RegistrarCenter
func (*RegistrarCenter) Execute ¶
func (r *RegistrarCenter) Execute()
func (*RegistrarCenter) GetRegistrars ¶
func (r *RegistrarCenter) GetRegistrars() []Registrar
Click to show internal directories.
Click to hide internal directories.