event

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Payload

type Payload struct {
	Status Status
}

Payload is the payload we'll send once an event is published

type Status

type Status string

Status represents the various states of node

const (
	// AppTopicNode represents the topic we're gonna be publishing and subscribing on
	AppTopicNode = "Node"
	// StatusStarted is published once node is started
	StatusStarted Status = "Started"
	// StatusStopped is published once node is stopped
	StatusStopped Status = "Stopped"
)

Jump to

Keyboard shortcuts

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