Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
MockService is an autogenerated mock for the Service type.
func (*MockService) GetNotifications ¶
func (_m *MockService) GetNotifications(ctx context.Context) (notifications Notifications, err error)
GetNotifications provides a mock function.
type NoopLogger ¶
type NoopLogger = common.NoopLogger
NoopLogger is a logger that discards every log event.
type Notification ¶
type Notification struct { ID uint `json:"id"` Message string `json:"message"` Priority int8 `json:"priority"` }
Notification represents a single notification.
type Notifications ¶
type Notifications struct {
Messages []Notification `json:"messages"`
}
Notifications is the list of notifications active.
Click to show internal directories.
Click to hide internal directories.