film

package
v0.0.0-...-2e53e79 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyExists = errors.New("film already exists")
	ErrNoScore       = errors.New("film has no score from the user")
)
View Source
var ErrNotFound = errors.New("doc not found")

Functions

func New

func New(kinopoisk kinopoisk, cache cacheService, storage storageService) *service

func NewCache

func NewCache(defaultExpiration, cleanupInterval time.Duration) *cache

func NewStorage

func NewStorage(client *firestore.Client) *storage

Types

This section is empty.

Jump to

Keyboard shortcuts

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