dto

package
v0.0.0-...-5c1c057 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	DataType    string `json:"dataType"`
	StringValue string `json:"stringValue"`
}

type Details

type Details struct {
	QueueID string         `json:"queue_id"`
	Message MessageDetails `json:"message"`
	Payload string         `json:"payload"`
}

type EventMetadata

type EventMetadata struct {
	EventID        string   `json:"event_id"`
	EventType      string   `json:"event_type"`
	CreatedAt      string   `json:"created_at"`
	CloudID        string   `json:"cloud_id"`
	FolderID       string   `json:"folder_id"`
	TracingContext struct{} `json:"tracing_context"`
}

type Message

type Message struct {
	EventMetadata EventMetadata `json:"event_metadata"`
	Details       Details       `json:"details"`
}

type MessageDetails

type MessageDetails struct {
	MessageID              string               `json:"message_id"`
	MD5OfBody              string               `json:"md5_of_body"`
	Body                   string               `json:"body"`
	Attributes             map[string]string    `json:"attributes"`
	MessageAttributes      map[string]Attribute `json:"message_attributes"`
	MD5OfMessageAttributes string               `json:"md5_of_message_attributes"`
}

type QueueEvent

type QueueEvent struct {
	Messages []Message `json:"messages"`
}

type SQSMessagePayload

type SQSMessagePayload struct {
	ChatID      int64  `json:"chat_id"`
	MessageBody string `json:"message_body"`
}

Jump to

Keyboard shortcuts

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