Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrapper ¶
type Bootstrapper struct {
// contains filtered or unexported fields
}
Bootstrapper is a component for precreation core contracts types and RootDomain instance
func NewBootstrapper ¶
func NewBootstrapper(cfg configuration.Bootstrap) (*Bootstrapper, error)
NewBootstrapper creates new Bootstrapper
func (*Bootstrapper) GetRootDomainRef ¶
func (b *Bootstrapper) GetRootDomainRef() *core.RecordRef
GetRootDomainRef returns reference to RootDomain instance
func (*Bootstrapper) Info ¶ added in v0.6.0
func (b *Bootstrapper) Info() ([]byte, error)
Info returns json with references for info api endpoint
func (*Bootstrapper) Start ¶
func (b *Bootstrapper) Start(c core.Components) error
Start creates types and RootDomain instance
func (*Bootstrapper) Stop ¶
func (b *Bootstrapper) Stop() error
Stop implements core.Component method
Click to show internal directories.
Click to hide internal directories.