frankerfacez

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 FrankerFaceZEmoteAPIResponse

type FrankerFaceZEmoteAPIResponse struct {
	Height    int16            `json:"height"`
	Modifier  bool             `json:"modifier"`
	Status    int              `json:"status"`
	Width     int16            `json:"width"`
	Hidden    bool             `json:"hidden"`
	CreatedAt time.Time        `json:"created_at"`
	UpdatedAt time.Time        `json:"last_updated"`
	ID        int              `json:"id"`
	Name      string           `json:"name"`
	Public    bool             `json:"public"`
	Owner     FrankerFaceZUser `json:"owner"`

	URLs struct {
		Size1 string `json:"1"`
		Size2 string `json:"2"`
		Size4 string `json:"4"`
	} `json:"urls"`
}

type FrankerFaceZUser

type FrankerFaceZUser struct {
	DisplayName string `json:"display_name"`
	ID          int    `json:"_id"`
	Name        string `json:"name"`
}

type TooltipData

type TooltipData struct {
	Code     string
	Uploader string
}

Jump to

Keyboard shortcuts

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