Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller consists instance for a type of data
func (*Controller) Content ¶
func (c *Controller) Content() []*Zone
Content returns the content from its cache
func (*Controller) Status ¶
func (c *Controller) Status(_ string) *status.Status
Status gives status.Status of current controller with the cache status
func (*Controller) Zone ¶
func (c *Controller) Zone(zoneID string) (result *Zone)
Zone returns the Zone found with specified zoneID
type Zone ¶
type Zone struct { ZoneID string `json:"zoneId,omitempty"` Type string `json:"type,omitempty"` Existence models.Existence `json:"existence"` ZoneNameI18N map[string]string `json:"zoneName_i18n,omitempty"` }
Zone specifies data structure for the zone data type
func (Zone) MarshalJSON ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.