Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggregateReference ¶
type AggregateReference struct {
Aggregate string `json:"aggregate"`
Domain string `json:"domain"`
Id string `json:"id"`
Parents []AggregateReferenceParentsItem `json:"parents,omitempty"`
}
func (*AggregateReference) Validate ¶
func (o *AggregateReference) Validate() error
type AggregateReferenceParentsItem ¶
type AggregateReferenceParentsItem struct {
Aggregate string `json:"aggregate"`
Domain string `json:"domain"`
Id string `json:"id"`
}
func (*AggregateReferenceParentsItem) Validate ¶
func (o *AggregateReferenceParentsItem) Validate() error
type Notification ¶
type Notification struct {
CreatedAt time.Time `json:"createdAt"`
Id string `json:"id"`
Read bool `json:"read"`
Reference AggregateReference `json:"reference"`
Severity NotificationSeverity `json:"severity"`
Type string `json:"type"`
}
func (*Notification) Validate ¶
func (o *Notification) Validate() error
type NotificationSeverity ¶
type NotificationSeverity string
const NotificationSeverityError NotificationSeverity = "error"
const NotificationSeverityInfo NotificationSeverity = "info"
const NotificationSeveritySuccess NotificationSeverity = "success"
const NotificationSeverityWarning NotificationSeverity = "warning"
func (NotificationSeverity) Validate ¶
func (e NotificationSeverity) Validate() error
type NotificationStatus ¶
type NotificationStatus string
const NotificationStatusRead NotificationStatus = "read"
func (NotificationStatus) Validate ¶
func (e NotificationStatus) Validate() error
Click to show internal directories.
Click to hide internal directories.