api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextApi

type ContextApi struct {
	// contains filtered or unexported fields
}

func NewContextApi

func NewContextApi(ctx *model.Context) *ContextApi

func (*ContextApi) RegisterMqttApi

func (ctx *ContextApi) RegisterMqttApi(msgTransport *fimpgo.MqttTransport)

type ContextExtRecord

type ContextExtRecord struct {
	FlowId string              `json:"flow_id"`
	Rec    model.ContextRecord `json:"rec"`
}

type FlowApi

type FlowApi struct {
	// contains filtered or unexported fields
}

func NewFlowApi

func NewFlowApi(flowManager *flow.Manager, config *tpflow.Configs) *FlowApi

func (*FlowApi) RegisterMqttApi

func (ctx *FlowApi) RegisterMqttApi(msgTransport *fimpgo.MqttTransport)

type ImportFlowFromUrlRequest

type ImportFlowFromUrlRequest struct {
	Url   string
	Token string
}

type RegistryApi

type RegistryApi struct {
	// contains filtered or unexported fields
}

func NewRegistryApi

func NewRegistryApi(ctx storage.RegistryStorage) *RegistryApi

func (*RegistryApi) RegisterMqttApi

func (api *RegistryApi) RegisterMqttApi(msgTransport *fimpgo.MqttTransport)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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