bizchesed

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(
	NewChesed,
	NewImageCache,
)

Functions

func NewImageCache

func NewImageCache(
	store libcache.Store,
) *libcache.Map[model.InternalID, modelchesed.Image]

Types

type Chesed

type Chesed struct {
	// contains filtered or unexported fields
}

func (*Chesed) DownloadImage added in v0.1.4

func (c *Chesed) DownloadImage(ctx context.Context, id model.InternalID) (string, *errors.Error)

func (*Chesed) ListImages added in v0.1.4

func (c *Chesed) ListImages(ctx context.Context, paging model.Paging) ([]model.InternalID, int64, *errors.Error)

func (*Chesed) ScanImage added in v0.1.4

func (c *Chesed) ScanImage(ctx context.Context) error

func (*Chesed) SearchImages added in v0.1.4

func (c *Chesed) SearchImages(ctx context.Context, paging model.Paging, query string) (
	[]model.InternalID, *errors.Error)

func (*Chesed) UploadImage

func (c *Chesed) UploadImage(ctx context.Context, image modelchesed.Image,
	metadata modelbinah.FileMetadata) (string, *errors.Error)

func (*Chesed) UploadImageCallback added in v0.1.4

func (c *Chesed) UploadImageCallback(ctx context.Context, id model.InternalID) error

Jump to

Keyboard shortcuts

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