replicator

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("replicator",
	fx.Provide(
		fx.Annotate(
			New,
			fx.As(new(replicator.Replicator)),
		),
	),
)

Functions

func New

func New(params Params, lc fx.Lifecycle) (*replicator.Service, error)

Types

type Params

type Params struct {
	fx.In

	Config       app.AppConfig
	ID           principal.Signer
	PDP          pdp.PDP `optional:"true"`
	Blobs        blobs.Blobs
	Claims       claims.Claims
	ReceiptStore receiptstore.ReceiptStore
	DB           *sql.DB `name:"replicator_db"`
}

Jump to

Keyboard shortcuts

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