playback

package module
v0.0.0-...-ed1c85e Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: GPL-3.0 Imports: 19 Imported by: 2

README

Playback

WIP

Installation

From source:

go get github.com/wabarc/playback/cmd/playback

From gobinaries.com:

curl -sf https://gobinaries.com/wabarc/playback | sh

From releases

Usage

F.A.Q

GitHub rest API rate limit?

Set personal access token with PLAYBACK_GITHUB_PAT environment variable to increase rate limit.

Search from a specific GitHub repository?

Specify user/repo to PLAYBACK_GITHUB_REPO environment variable.

License

This software is released under the terms of the GNU General Public License v3.0. See the LICENSE file for details.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Functions

func Playback

func Playback(ctx context.Context, p Playbacker) string

Types

type Collect

type Collect struct {
	// Arc string // Archive slot name, see config/config.go
	Dst string // Archived destination URL
	Src string // Source URL

}

Collect represents a collections from the time capsules.

type GA

type GA struct {
	URL *url.URL
}

func (GA) Playback

func (g GA) Playback(ctx context.Context) string

type GC

type GC struct {
	URL *url.URL
}

Google Cache

func (GC) Playback

func (i GC) Playback(ctx context.Context) string

type IA

type IA struct {
	URL *url.URL
}

func (IA) Playback

func (i IA) Playback(ctx context.Context) string

type IP

type IP struct {
	URL *url.URL
}

IPFS

func (IP) Playback

func (i IP) Playback(ctx context.Context) string

type IS

type IS struct {
	URL *url.URL
}

func (IS) Playback

func (i IS) Playback(ctx context.Context) string

type PH

type PH struct {
	URL *url.URL
}

func (PH) Playback

func (i PH) Playback(ctx context.Context) string

type Playbacker

type Playbacker interface {
	Playback(ctx context.Context) string
}

Playbacker is the interface that wraps the basic Playback method.

Playback playback *url.URL from implementations from the Wayback Machine. It returns the result of string from the upstream service.

type TT

type TT struct {
	URL *url.URL
}

Time Travel, http://timetravel.mementoweb.org

func (TT) Playback

func (i TT) Playback(ctx context.Context) string

Directories

Path Synopsis
cmd
playback command

Jump to

Keyboard shortcuts

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