Help us shape the future of Go! Take the 2026 Go Developer Survey

message

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 39 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,
	originatorList db.OriginatorLister,
	ledger ledger.ILedger,
) (*Service, error)

func (*Service) Close

func (s *Service) Close()

func (*Service) SubscribeTopics added in v1.2.0

SubscribeTopics implements the per-topic cursor subscribe API.

type ValidatedBytesWithTopic added in v1.0.0

type ValidatedBytesWithTopic struct {
	EnvelopeBytes []byte
	TopicBytes    []byte
	RetentionDays uint32
	PayerAddress  common.Address
	BaseFee       currency.PicoDollar
	CongestionFee currency.PicoDollar
}

Jump to

Keyboard shortcuts

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