s3Repository

package
v0.0.0-...-75eef08 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2025 License: MIT Imports: 5 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 New

func New(ctx context.Context, store *s3.Client) (*Service, error)

func (*Service) Delete

func (s *Service) Delete(ctx context.Context, linkURL string) error

func (*Service) Get

func (s *Service) Get(ctx context.Context, linkURL string) (*url.URL, error)

func (*Service) Put

func (s *Service) Put(ctx context.Context, linkURL string, screenshot []byte) error

Jump to

Keyboard shortcuts

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