entity

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedContent

type CachedContent struct {
	ContentType  string
	LastModified string
	Content      []byte
}

CachedContent entity

type ImageObject

type ImageObject struct {
	Source      image.Image
	Dst         image.Image
	OriginX     int
	OriginY     int
	DstX        int
	DstY        int
	ImageName   string
	ContentType string
}

ImageObject entity

type ImageObjectOption

type ImageObjectOption struct {
	Width      int
	Height     int
	Quality    int
	Rotate     string
	Crop       [4]int
	Brightness int
	Contrast   int
	Gamma      float64
}

ImageObjectOption entity

type JwtClaims

type JwtClaims struct {
	Name  string `json:"name"`
	Admin bool   `json:"admin"`
	jwt.StandardClaims
}

JwtClaims entity

Jump to

Keyboard shortcuts

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