ytlinkprov

package
v0.0.0-...-92dddc7 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CacheLinkProv

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

func NewCachedLinkProvider

func NewCachedLinkProvider(expiration time.Duration) (*CacheLinkProv, error)
func (c *CacheLinkProv) GetLink(id string) (link string, err error)
type TimedLink struct {
	Link string
	Time time.Time
}

type YtLinkProvider

type YtLinkProvider interface {
	GetLink(id string) (link string, err error)
}

Jump to

Keyboard shortcuts

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