Documentation ¶
Overview ¶
Package eventbridge provides methods to interact with AWS Eventbridge service allowing user to publish events to Eventbridge
Index ¶
- type Client
- func (c *Client) Bind(message []byte, target interface{}) error
- func (c *Client) CommitOffset(pubsub.TopicPartition)
- func (c *Client) HealthCheck() types.Health
- func (c *Client) IsSet() bool
- func (c *Client) Ping() error
- func (c *Client) PublishEvent(detailType string, detail interface{}, _ map[string]string) error
- func (c *Client) PublishEventWithOptions(string, interface{}, map[string]string, *pubsub.PublishOptions) (err error)
- func (c *Client) Subscribe() (*pubsub.Message, error)
- func (c *Client) SubscribeWithCommit(pubsub.CommitFunc) (*pubsub.Message, error)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a client to interact with AWS EventBridge.
func (*Client) CommitOffset ¶
func (c *Client) CommitOffset(pubsub.TopicPartition)
CommitOffset not implemented for Eventbridge
func (*Client) HealthCheck ¶
HealthCheck checks eventbridge health.
func (*Client) PublishEvent ¶
PublishEvent publishes the event to eventbridge
func (*Client) PublishEventWithOptions ¶
func (c *Client) PublishEventWithOptions(string, interface{}, map[string]string, *pubsub.PublishOptions) (err error)
PublishEventWithOptions not implemented for Eventbridge
func (*Client) SubscribeWithCommit ¶
SubscribeWithCommit not implemented for Eventbridge
Click to show internal directories.
Click to hide internal directories.