image

package
v0.0.0-...-55a90a5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PNG   = "png"
	JPEG  = "jpeg"
	GIF   = "gif"
	SVG   = "svg"
	WEBP  = "webp"
	AVIF  = "avif"
	OTHER = "other"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IMAGEFormat

type IMAGEFormat string

type Image

type Image struct {
	gorm.Model
	URL       string      `json:"url"`
	Type      IMAGEFormat `json:"type"`
	Size      int         `json:"size"`
	StatRefer uint        `json:"-"`
}

func Check

func Check(domain string) ([]Image, error)

Jump to

Keyboard shortcuts

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