Documentation
¶
Index ¶
Constants ¶
View Source
const ( // LighthouseStateOn captures enum value "on" LighthouseStateOn string = "on" // LighthouseStateOff captures enum value "off" LighthouseStateOff string = "off" // LighthouseStateBooting captures enum value "booting" LighthouseStateBooting string = "booting" // LighthouseStateUnknown captures enum value "unknown" LighthouseStateUnknown string = "unknown" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
// message
Message string `json:"message,omitempty"`
}
Error error
swagger:model error
func (*Error) ContextValidate ¶
ContextValidate validates this error based on context it is used
func (*Error) MarshalBinary ¶
MarshalBinary interface implementation
func (*Error) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Lighthouse ¶
type Lighthouse struct {
// MAC Address
Address string `json:"address,omitempty"`
// Human readable name
Name string `json:"name,omitempty"`
// What state the lighthouse is currently in
// Enum: [on off booting unknown]
State string `json:"state,omitempty"`
}
Lighthouse lighthouse
swagger:model lighthouse
func (*Lighthouse) ContextValidate ¶
ContextValidate validates this lighthouse based on context it is used
func (*Lighthouse) MarshalBinary ¶
func (m *Lighthouse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Lighthouse) UnmarshalBinary ¶
func (m *Lighthouse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Click to show internal directories.
Click to hide internal directories.