storage

package
v0.0.0-...-c6f3b3a Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Unlicense Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Book

type Book struct {
	Title    string
	Author   string
	ImageURL string
}

type BooksStorage

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

func NewBooksStorage

func NewBooksStorage(client *s3.Client, bucket string) *BooksStorage

func (*BooksStorage) GetBook

func (s *BooksStorage) GetBook(title string) (*Book, error)

func (*BooksStorage) ListBooks

func (s *BooksStorage) ListBooks() ([]*Book, error)

Jump to

Keyboard shortcuts

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