message

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package message implements the replication API service.

Index

Constants

View Source
const (
	SubscribeWorkerPollTime = 100 * time.Millisecond
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	message_apiconnect.UnimplementedReplicationApiHandler
	// contains filtered or unexported fields
}

func NewReplicationAPIService added in v0.5.1

func NewReplicationAPIService(
	ctx context.Context,
	logger *zap.Logger,
	registrant *registrant.Registrant,
	registry registry.NodeRegistry,
	db *db.Handler,
	validationService mlsvalidate.MLSValidationService,
	updater metadata.CursorUpdater,
	feeCalculator fees.IFeeCalculator,
	options config.APIOptions,
	migrationEnabled bool,
	sleepOnFailureTime time.Duration,
) (*Service, error)

func (*Service) Close

func (s *Service) Close()

type ValidatedBytesWithTopic added in v1.0.0

type ValidatedBytesWithTopic struct {
	EnvelopeBytes []byte
	TopicBytes    []byte
	RetentionDays uint32
}

Jump to

Keyboard shortcuts

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