Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MsgAttributes ¶
type MsgAttributes struct { DelayInSeconds int MessageType string AggregationID string Original map[string]string }
func NewMsgAttributes ¶
func NewMsgAttributes(attributes map[string]string) (MsgAttributes, error)
func (MsgAttributes) GetAttributes ¶
func (m MsgAttributes) GetAttributes() map[string]string
type PublishResult ¶
type PublisherFactory ¶
type PublisherFactory interface {
NewPublisher(ctx context.Context, projectID string, topicID string) (Publisher, error)
}
func NewPublisherFactory ¶
func NewPublisherFactory() PublisherFactory
Click to show internal directories.
Click to hide internal directories.