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
}
Click to show internal directories.
Click to hide internal directories.