service

package
v0.0.0-...-9e351bc Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewImageService

func NewImageService(storage storage) *Service

func (*Service) Create

func (s *Service) Create(ctx context.Context, image *imagePkg.Image) error

func (*Service) Get

func (s *Service) Get(ctx context.Context, id imagePkg.ID) (*imagePkg.Image, error)

func (*Service) GetMany

func (s *Service) GetMany(ctx context.Context, ids []imagePkg.ID) ([]*imagePkg.Image, error)

Jump to

Keyboard shortcuts

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