Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNotificationsClient ¶
type MockNotificationsClient struct {
notifications.NotificationsClient
OnListNotifications []NotificationsOnList
}
func (MockNotificationsClient) List ¶
func (m MockNotificationsClient) List(_ context.Context, given *notifications.NotificationsFilter, _ ...grpc.CallOption) (*notifications.NotificationsList, error)
type MockNotificationsClients ¶
type MockNotificationsClients struct {
OnClose error
NotificationsClient MockNotificationsClient
}
func (MockNotificationsClients) Close ¶
func (m MockNotificationsClients) Close() error
func (MockNotificationsClients) Notifications ¶
func (m MockNotificationsClients) Notifications() notifications.NotificationsClient
type NotificationsOnList ¶
type NotificationsOnList struct {
Given *notifications.NotificationsFilter
List *notifications.NotificationsList
Error error
}
Click to show internal directories.
Click to hide internal directories.