saucenao

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

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

Go to latest
Published: Apr 11, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(settings map[string]interface{}) (func(core.Message) <-chan bool, time.Duration, []core.Opt)

Types

type Sauce

type Sauce struct {
	Header struct {
		UserID     string `json:"user_id"`
		ShortLimit string `json:"short_limit"`
		LongLimit  string `json:"long_limit"`
	} `json:"header"`
	Results []struct {
		Header struct {
			Similarity string `json:"similarity"`
			Thumbnail  string `json:"thumbnail"`
		} `json:"header"`
		Data struct {
			ExtUrls []string `json:"ext_urls"`
			Title   string   `json:"title"`
			Author  string   `json:"author_name"`
			PixivID int      `json:"pixiv_id"`
			MemName string   `json:"member_name"`
		} `json:"data"`
	} `json:"results"`
}

Jump to

Keyboard shortcuts

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