livestreamfails

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg config.APIConfig) (resolvers []resolver.CustomURLManager)

Types

type LivestreamFailsThumbnailRequest

type LivestreamFailsThumbnailRequest struct {
	Input  string `json:"input"`
	Resize Resize `json:"resize"`
	Output Output `json:"output"`
}

type LivestreamfailsAPIResponse

type LivestreamfailsAPIResponse struct {
	Category struct {
		Label string `json:"label"`
	} `json:"category"`
	CreatedAt      time.Time `json:"createdAt"`
	ImageID        string    `json:"imageId"`
	IsNSFW         bool      `json:"isNSFW"`
	Label          string    `json:"label"`
	RedditScore    int       `json:"redditScore"`
	SourcePlatform string    `json:"sourcePlatform"`
	Streamer       struct {
		Label string `json:"label"`
	} `json:"streamer"`
}

type Output

type Output struct {
	Format string `json:"format"`
}

type Resize

type Resize struct {
	Width  int `json:"width"`
	Height int `json:"height"`
}

type TooltipData

type TooltipData struct {
	NSFW         bool
	Title        string
	Category     string
	RedditScore  string
	Platform     string
	StreamerName string
	CreationDate string
}

Jump to

Keyboard shortcuts

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