entity

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2024 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.RegisteredClaims
}

JwtClaims entity

type StorageObjectInfo added in v1.6.0

type StorageObjectInfo struct {
	ContentType   string `json:"content_type"`
	ContentLength int    `json:"content_length"`
}

StorageObjectInfo entity

Jump to

Keyboard shortcuts

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