Documentation ¶
Overview ¶
Package models provides the interfaces and types that various model packages will need to implement or use. These are exposed private types that can only be implemented by sub-packages of the models package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrPromiseTimeout is returned when the context on a Promise() call times out. ErrPromiseTimeout = fmt.Errorf("promise timeout") // ErrBatchSize is returned when the batch size is too large. ErrBatchSize = fmt.Errorf("batch size too large") )
Functions ¶
This section is empty.
Types ¶
type Event ¶
Event is the interface that is JSON encoded and sent over the wire. Notifications (which are wrappers) are converted to events.
type Notifications ¶
type Notifications = private.Notifications
Notifications is the interface that must be implemented by all notification types across models.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
private
Private provides private interfaces that are not meant to be used outside of the models package.
|
Private provides private interfaces that are not meant to be used outside of the models package. |
v3
|
|
schema/envelope
Package envelope provides the types and functions for sending events to the ARN service.
|
Package envelope provides the types and functions for sending events to the ARN service. |
schema/types
Package types provides the types used in the ARN service on the wire.
|
Package types provides the types used in the ARN service on the wire. |
Package version provides the schema version of the SDK.
|
Package version provides the schema version of the SDK. |
Click to show internal directories.
Click to hide internal directories.