events

package
v0.0.0-...-6312dd6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event struct {
	AtType      string           `json:"@type,omitempty"`
	Name        string           `json:"name,omitempty"`
	Title       string           `json:"title,omitempty"`
	Description string           `json:"description,omitempty"`
	Links       []EventLinksElem `json:"links,omitempty"`
	Type        string           `json:"type,omitempty"`
	Unit        string           `json:"unit,omitempty"`
	Minimum     float64          `json:"minimum,omitempty"`
	Maximum     float64          `json:"maximum,omitempty"`
	MultipleOf  float64          `json:"multipleOf,omitempty"`
	Enum        []EventEnumElem  `json:"enum,omitempty"`
}

func (Event) GetAtType

func (e Event) GetAtType() string

func (Event) GetDescription

func (e Event) GetDescription() string

func (Event) GetEnum

func (e Event) GetEnum() []EventEnumElem
func (e Event) GetLinks() []EventLinksElem

func (Event) GetMaximum

func (e Event) GetMaximum() float64

func (Event) GetMinimum

func (e Event) GetMinimum() float64

func (Event) GetName

func (e Event) GetName() string

func (Event) GetTitle

func (e Event) GetTitle() string

func (Event) GetType

func (e Event) GetType() string

func (Event) ToMessage

func (e Event) ToMessage() messages.Event

type EventDescription

type EventDescription struct {
}

type EventEnumElem

type EventEnumElem struct {
}

type EventLinksElem

type EventLinksElem struct {
}

Jump to

Keyboard shortcuts

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