types

package
v0.0.0-...-8cf2d00 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Date          string `json:"date"`
	Duration      int    `json:"duration"`
	DurationHuman string `json:"duration_human"`
	Filename      string `json:"filename"`
	HasImage      bool   `json:"has_image"`
	MessageId     int    `json:"message_id"`
	Performer     string `json:"performer"`
	Provider      string `json:"provider"`
	ShowId        string `json:"show_id"`
	Size          int    `json:"size"`
	SizeHuman     string `json:"size_human"`
	Title         string `json:"title"`
	URL           string `json:"url"`
}

type Person

type Person struct {
	IsGuest   bool    `json:"is_guest"`
	Name      string  `json:"name"`
	Character *string `json:"character"`
}

Performers []Person `json:"performers"`

type Printer

type Printer interface {
	Print(db []Entry) error
}

type Source

type Source interface {
	Read() []Entry
	Write([]Entry)
}

Jump to

Keyboard shortcuts

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