cache

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 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 Cache

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

Cache contains functions for magazine cache.

func New

func New(cacher cache.Cacher, repo repository.Repository) *Cache

New to create new magazine cache.

func (*Cache) BatchUpdate

func (c *Cache) BatchUpdate(ctx context.Context, data []entity.Magazine) (int, error)

BatchUpdate to batch update.

Jump to

Keyboard shortcuts

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