Documentation ¶
Index ¶
- type Body
- type Client
- type ConceptChanges
- type ConceptEvent
- type ConceptUpdate
- type ConcordanceEvent
- type Event
- type Message
- type NotificationClient
- func (c *NotificationClient) Healthcheck() fthealth.Check
- func (c *NotificationClient) ListenAndServeQueue(ctx context.Context) []ConceptUpdate
- func (c *NotificationClient) RemoveMessageFromQueue(ctx context.Context, receiptHandle *string) error
- func (c *NotificationClient) SendEvents(ctx context.Context, messages []Event) error
- type Record
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type ConceptChanges ¶
type ConceptChanges struct { ChangedRecords []Event `json:"events"` UpdatedIds []string `json:"updatedIDs"` }
Events
type ConceptEvent ¶
type ConceptEvent struct {
Type string `json:"eventType"`
}
type ConceptUpdate ¶
type ConcordanceEvent ¶
type NotificationClient ¶
type NotificationClient struct {
// contains filtered or unexported fields
}
func (*NotificationClient) Healthcheck ¶
func (c *NotificationClient) Healthcheck() fthealth.Check
func (*NotificationClient) ListenAndServeQueue ¶
func (c *NotificationClient) ListenAndServeQueue(ctx context.Context) []ConceptUpdate
func (*NotificationClient) RemoveMessageFromQueue ¶
func (c *NotificationClient) RemoveMessageFromQueue(ctx context.Context, receiptHandle *string) error
func (*NotificationClient) SendEvents ¶
func (c *NotificationClient) SendEvents(ctx context.Context, messages []Event) error
Click to show internal directories.
Click to hide internal directories.