components

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	// Topic name indicating where message should be routed.
	Topic *string `json:"topic,omitempty"`
	// A string containing the message payload.
	Payload *string `json:"payload,omitempty"`
}

func (*Message) GetPayload

func (o *Message) GetPayload() *string

func (*Message) GetTopic

func (o *Message) GetTopic() *string

type PublishResult

type PublishResult struct {
	// Globally-unique message ID.
	ID *string `json:"id,omitempty"`
	// RFC3339 timestamp indicating when event was accepted by server.
	PublishedAt *string `json:"published_at,omitempty"`
}

func (*PublishResult) GetID

func (o *PublishResult) GetID() *string

func (*PublishResult) GetPublishedAt

func (o *PublishResult) GetPublishedAt() *string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL