QueuedMessage

package
v0.0.0-...-cc4d653 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 3 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QueuedMessage

type QueuedMessage struct {
	MessageId string
	DeviceId  string
	Payload   interface{}
}

func (*QueuedMessage) GetPayloadAsJSON

func (c *QueuedMessage) GetPayloadAsJSON() []byte

func (*QueuedMessage) Marshal

func (c *QueuedMessage) Marshal() []byte

func (*QueuedMessage) MarshalPretty

func (c *QueuedMessage) MarshalPretty() []byte

func (*QueuedMessage) UnmarshalJSON

func (j *QueuedMessage) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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