bootstrap

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2018 License: Apache-2.0 Imports: 16 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.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

Jump to

Keyboard shortcuts

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