api

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2019 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 ContextApi

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

func NewContextApi

func NewContextApi(ctx *model.Context, echo *echo.Echo) *ContextApi

func (*ContextApi) RegisterMqttApi

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

func (*ContextApi) RegisterRestApi

func (ctx *ContextApi) RegisterRestApi()

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, echo *echo.Echo, config *tpflow.Configs) *FlowApi

func (*FlowApi) RegisterMqttApi

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

func (*FlowApi) RegisterRestApi

func (ctx *FlowApi) RegisterRestApi()

type ImportFlowFromUrlRequest

type ImportFlowFromUrlRequest struct {
	Url   string
	Token string
}

type RegistryApi

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

func NewRegistryApi

func NewRegistryApi(ctx *registry.ThingRegistryStore, echo *echo.Echo) *RegistryApi

func (*RegistryApi) RegisterMqttApi

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

func (*RegistryApi) RegisterRestApi

func (api *RegistryApi) RegisterRestApi()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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