betterttv

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: 13 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 EmoteAPIResponse

type EmoteAPIResponse struct {
	ID             string       `json:"id"`
	Code           string       `json:"code"`
	ImageType      string       `json:"imageType"`
	CreatedAt      time.Time    `json:"createdAt"`
	UpdatedAt      time.Time    `json:"updatedAt"`
	Global         bool         `json:"global"`
	Live           bool         `json:"live"`
	Sharing        bool         `json:"sharing"`
	ApprovalStatus string       `json:"approvalStatus"`
	User           EmoteAPIUser `json:"user"`
}

type EmoteAPIUser

type EmoteAPIUser struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	DisplayName string `json:"displayName"`
	ProviderID  string `json:"providerId"`
}

type TooltipData

type TooltipData struct {
	Code     string
	Type     string
	Uploader string
}

Jump to

Keyboard shortcuts

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