Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type API ¶
func NewApi ¶
func NewApi( store Store, entityChangeListener chan<- entityservice.ChangeEntityMessage, metricMetaUpdater metrics.MetaUpdater, logger zerolog.Logger, ) API
type EditRequest ¶
type EditRequest struct { ID string `json:"-"` Description string `json:"description" binding:"max=255"` Enabled *bool `json:"enabled" binding:"required"` Category string `json:"category"` ImpactLevel int64 `json:"impact_level" binding:"required,min=1,max=10"` Infos []entity.InfoRequest `json:"infos" binding:"dive"` SliAvailState *int64 `json:"sli_avail_state" binding:"required,min=0,max=3"` Coordinates *types.Coordinates `json:"coordinates"` Author string `json:"author" swaggerignore:"true"` }
type Entity ¶
Click to show internal directories.
Click to hide internal directories.