sdk

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2019 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend added in v0.14.0

type Backend struct {
	Service *servicesdk.Backend
}

Backend handles all the backend functions.

func NewBackend added in v0.14.0

func NewBackend(appFactory *cosmos.AppFactory, c container.Container) *Backend

NewBackend creates a new backend and init the sub-backend modules.

type SDK

type SDK struct {
	Service   servicesdk.Service
	Instance  *instancesdk.Instance
	Execution *executionsdk.Execution
	Event     *eventsdk.Event
	Process   *processesdk.Process
	Account   *accountsdk.SDK
}

SDK exposes all functionalities of MESG Engine.

func New

func New(client *cosmos.Client, cdc *codec.Codec, kb *cosmos.Keybase, c container.Container, instanceDB database.InstanceDB, execDB database.ExecutionDB, processDB database.ProcessDB, engineName, port string) (*SDK, error)

New creates a new SDK with given options.

func NewDeprecated added in v0.14.0

func NewDeprecated(c container.Container, serviceDB *database.ServiceDB, instanceDB database.InstanceDB, execDB database.ExecutionDB, processDB database.ProcessDB, engineName, port string) *SDK

NewDeprecated creates a new SDK with given options.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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