images

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

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

func Init

func Init(logger *slog.Logger, basePath string) *Store

func (*Store) Copy

func (s *Store) Copy(from, to uuid.UUID) error

func (*Store) Image

func (s *Store) Image(id uuid.UUID) (io.ReadCloser, error)

func (*Store) StoreFromData

func (s *Store) StoreFromData(id uuid.UUID, data []byte) error

func (*Store) StoreFromURL

func (s *Store) StoreFromURL(id uuid.UUID, url string) error

Jump to

Keyboard shortcuts

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