io

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageClaim

type MessageClaim struct {
	SourceId      string `json:"source_id"`
	DestinationId string `json:"destination_id"`
}

func (MessageClaim) DestinationConsumerBucket

func (m MessageClaim) DestinationConsumerBucket(bucket string) string

func (*MessageClaim) SourceConsumerBucket

func (m *MessageClaim) SourceConsumerBucket(bucket string) string

type Publish

type Publish struct {
	Message string `json:"message"`
}

type RequestDeletePartitionMessage

type RequestDeletePartitionMessage struct {
	Subscriber  string
	PartitionId string
	MessageId   string
}

type ResponseMessage

type ResponseMessage struct {
	Id      string `json:"id"`
	Message string `json:"message"`
}

type ResponseMessages

type ResponseMessages []ResponseMessage

type Subscriber

type Subscriber struct {
	Name   string        `json:"name"`
	Option SubscriberOpt `json:"option"`
}

type SubscriberMessage

type SubscriberMessage struct {
	Name               string `json:"name"`
	UnpublishedMessage int    `json:"unpublished_message"`
	UnackedMessage     int    `json:"unacked_message"`
}

type SubscriberMessages

type SubscriberMessages []SubscriberMessage

type SubscriberOpt

type SubscriberOpt struct {
	MaxAttempts        int    `json:"max_attempts"`
	VisibilityDuration string `json:"visibility_duration"`
}

func (*SubscriberOpt) Marshal

func (s *SubscriberOpt) Marshal() []byte

type Subscribers

type Subscribers []Subscriber

func (Subscribers) Subscriber

func (subscriber Subscribers) Subscriber(topicId uuid.UUID) core.Subscribers

type Topic

type Topic struct {
	Name        string      `json:"name"`
	Subscribers Subscribers `json:"subscribers"`
}

func (Topic) Subscriber

func (t Topic) Subscriber(topicId uuid.UUID) core.Subscribers

func (Topic) Topic

func (t Topic) Topic() core.Topic

Jump to

Keyboard shortcuts

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