bootstrap

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

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.Configuration) (*Bootstrapper, error)

NewBootstrapper creates new Bootstrapper

func (*Bootstrapper) GetRootDomainRef

func (b *Bootstrapper) GetRootDomainRef() *core.RecordRef

GetRootDomainRef returns reference to RootDomain instance

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL