booru

package
v1.2.17 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() static.Extractor

New returns a booru.io extractor.

Types

type Entity

type Entity struct {
	Key         string `json:"key"`
	ContentType string `json:"contentType"`
	Attributes  struct {
		Width  int `json:"width"`
		Height int `json:"height"`
	} `json:"attributes"`
	Tags       map[string]int    `json:"tags"`
	Transforms map[string]string `json:"transforms"`
}

Entity JSON type

type EntitySlice

type EntitySlice struct {
	Data   []Entity `json:"data"`
	Cursor string   `json:"cursor"`
}

EntitySlice JSON type

Jump to

Keyboard shortcuts

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