Documentation
¶
Index ¶
- func WithStage(stage string) rest.Option
- type API
- type Client
- func (c *Client) DeleteInitiatedNotification(ctx context.Context, externalID string) error
- func (c *Client) GetInitiatedNotification(ctx context.Context, externalID string) (models.InitiatedNotification, error)
- func (c *Client) GetNotificationType(ctx context.Context, name string) (models.NotificationType, error)
- func (c *Client) GetNotificationTypes(ctx context.Context) ([]models.NotificationType, error)
- func (c *Client) PostInitiatedNotification(ctx context.Context, initialNotification models.InitiatedNotification) (string, error)
- type ProblemDecoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API interface {
GetNotificationType(context.Context, string) (models.NotificationType, error)
GetNotificationTypes(context.Context) ([]models.NotificationType, error)
PostInitiatedNotification(context.Context, models.InitiatedNotification) (string, error)
GetInitiatedNotification(context.Context, string) (models.InitiatedNotification, error)
DeleteInitiatedNotification(context.Context, string) error
}
type Client ¶
func (*Client) DeleteInitiatedNotification ¶
func (*Client) GetInitiatedNotification ¶
func (*Client) GetNotificationType ¶
func (*Client) GetNotificationTypes ¶
func (*Client) PostInitiatedNotification ¶
Click to show internal directories.
Click to hide internal directories.