blobs

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: Apache-2.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("blobs",
	fx.Provide(
		NewService,

		fx.Annotate(
			func(svc *blobs.BlobService) blobs.Blobs {
				return svc
			},
		),
		fx.Annotate(
			blobs.NewServer,
			fx.As(new(echofx.RouteRegistrar)),
			fx.ResultTags(`group:"route_registrar"`),
		),
	),
)

Functions

func NewService

func NewService(params NewServiceParams) (*blobs.BlobService, error)

Types

type NewServiceParams added in v0.2.3

type NewServiceParams struct {
	fx.In

	Cfg             app.AppConfig
	ID              principal.Signer
	PS              presigner.RequestPresigner
	BlobStore       blobstore.Blobstore
	AllocationStore allocationstore.AllocationStore
	AcceptanceStore acceptancestore.AcceptanceStore
}

Jump to

Keyboard shortcuts

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