eventUsecase

package
v0.0.0-...-35ec728 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EventPath = [...]string{
	"/event/sink/delete",
	"/event/node/create",
	"/event/node/delete",
	"/event/sensor/delete",
	"/event/logic/create",
	"/event/logic/delete",
}

Functions

func NewEventUsecase

func NewEventUsecase(sir repository.SinkRepo, lsr repository.LogicServiceRepo) *eventUsecase

Types

type EVENT

type EVENT int
const (
	DeleteSink EVENT = iota
	CreateNode
	DeleteNode
	DeleteSensor
	CreateLogic
	DeleteLogic
)

Jump to

Keyboard shortcuts

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