usecase

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogicCoreUsecase

type LogicCoreUsecase interface {
	SetLogicChain(r *model.RingRequest) error
	RemoveLogicChain(lname string) error
	RemoveLogicChainsBySID(sid string) error
	GetAllLogics() ([]model.Ring, error)
}

type MetaDataUsecase

type MetaDataUsecase interface {
	SetMetaInfo(mi adapter.MetaInfo)
	NewNode(key string, n *model.Node) (*model.Node, error)
	NewSensor(key string, s *model.Sensor) (*model.Sensor, error)
	DeleteNode(key string) error
	DeleteSensor(key string) error
}

type WebsocketUsecase

type WebsocketUsecase interface {
	broadcast.Broadcaster
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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