cache

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 7 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 non-vtuber cache.

func New

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

New to create new non-vtuber cache.

func (*Cache) Create

func (c *Cache) Create(ctx context.Context, id int64) (int, error)

Create to create new non-vtuber.

func (*Cache) GetAllIDs

func (c *Cache) GetAllIDs(ctx context.Context) (data []int64, code int, err error)

GetAllIDs to get all ids.

Jump to

Keyboard shortcuts

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