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.
Click to show internal directories.
Click to hide internal directories.