rest

package
v0.0.0-...-c42e73f Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetaInfoRequest

func MetaInfoRequest() (adapter.MetaInfo, error)

func RunServer

func RunServer(h *Handler) error

Types

type Handler

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

func (*Handler) DeleteLogicChain

func (h *Handler) DeleteLogicChain(c *gin.Context)

func (*Handler) DeleteLogicChains

func (h *Handler) DeleteLogicChains(c *gin.Context)

func (*Handler) DeleteNode

func (h *Handler) DeleteNode(c *gin.Context)

func (*Handler) DeleteSensor

func (h *Handler) DeleteSensor(c *gin.Context)

func (*Handler) GetAllLogic

func (h *Handler) GetAllLogic(c *gin.Context)

func (*Handler) NewLogicChain

func (h *Handler) NewLogicChain(c *gin.Context)

func (*Handler) NewNode

func (h *Handler) NewNode(c *gin.Context)

func (*Handler) NewSensor

func (h *Handler) NewSensor(c *gin.Context)

func (*Handler) NewWebSocket

func (h *Handler) NewWebSocket(c *gin.Context)

func (*Handler) SyncMetaInfo

func (h *Handler) SyncMetaInfo(c *gin.Context)

Jump to

Keyboard shortcuts

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