messaging

package
v0.0.88 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	STATUS_CREATED = "created"
	STATUS_BOOKED  = "booked"
	STATUS_SENT    = "sent"
	STATUS_OPEN    = "open"
	STATUS_FAILED  = "failed"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status struct {
	MessageID string    `json:"message_id"` // Message ID uuid (string)
	RequestID string    `json:"request_id"` // Requestor reference
	Status    string    `json:"status"`
	Reason    string    `json:"reason"`
	Requestor string    `json:"requestor"`
	Timestamp time.Time `json:"timestamp"` // Origin timestamp
}

func (Status) GetAttributes

func (status Status) GetAttributes() (map[string]string, error)

func (Status) GetData

func (status Status) GetData() ([]byte, error)

func (Status) GetId

func (status Status) GetId() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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