vidcache

package
v0.0.0-...-1b9946f Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrVideoNotCached = errors.New("video not cached")

Functions

This section is empty.

Types

type VidCache

type VidCache interface {
	Has(ctx context.Context, videoID string) (bool, error)
	Get(ctx context.Context, videoID string, w io.Writer) error
	Set(videoID string, r io.Reader) error
	Del(videoID string) error
	List(ctx context.Context, marker string) (videoIDs []string, isTruncated bool, nextMarker string, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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