Documentation ¶
Index ¶
- type Event
- func (e Event) GetAtType() string
- func (e Event) GetDescription() string
- func (e Event) GetEnum() []EventEnumElem
- func (e Event) GetLinks() []EventLinksElem
- func (e Event) GetMaximum() float64
- func (e Event) GetMinimum() float64
- func (e Event) GetName() string
- func (e Event) GetTitle() string
- func (e Event) GetType() string
- func (e Event) ToMessage() messages.Event
- type EventDescription
- type EventEnumElem
- type EventLinksElem
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) GetDescription ¶
func (Event) GetEnum ¶
func (e Event) GetEnum() []EventEnumElem
func (Event) GetLinks ¶
func (e Event) GetLinks() []EventLinksElem
func (Event) GetMaximum ¶
func (Event) GetMinimum ¶
type EventDescription ¶
type EventDescription struct { }
type EventEnumElem ¶
type EventEnumElem struct { }
type EventLinksElem ¶
type EventLinksElem struct { }
Click to show internal directories.
Click to hide internal directories.