Documentation ¶
Index ¶
Constants ¶
View Source
const NotificationID = "notification"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type InstructionNotification ¶
type InstructionNotification struct { Rate *bool `json:"rate" bson:"rate" binding:"required"` RateFrequency datetime.DurationWithUnit `json:"rate_frequency" bson:"rate_frequency" binding:"required"` }
type Notification ¶
type Notification struct {
Instruction InstructionNotification `json:"instruction" bson:"instruction"`
}
type Store ¶
type Store interface { Get(ctx context.Context) (Notification, error) Update(ctx context.Context, request Notification) (Notification, error) }
Click to show internal directories.
Click to hide internal directories.