Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bootstrap ¶
type Bootstrap interface { Initialized(cfgFile string) AddService(service ...OptionService) GetRegistryRest() *restRegistry.ServiceRegistry RunServices() Shutdown() }
func NewBootstrap ¶
func NewBootstrap() Bootstrap
type OptionService ¶
type OptionService func(b *bootstrap)
func NewServiceMariaDB ¶
func NewServiceMariaDB(param mariaDataStore.OptMaria) OptionService
func NewServiceMongoDB ¶
func NewServiceMongoDB(param mongoDataStore.OptMongo) OptionService
func NewServicePgSQL ¶
func NewServicePgSQL(param pgDataStore.OptPgsql) OptionService
func NewServiceRest ¶
func NewServiceRest(param rest.Options) OptionService
type OptionsService ¶
type OptionsService []OptionService
func (*OptionsService) Add ¶
func (o *OptionsService) Add(option ...OptionService)
Click to show internal directories.
Click to hide internal directories.