entity

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2026 License: MIT Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 {
	jwt.RegisteredClaims

	Name  string `json:"name"`
	Admin bool   `json:"admin"`
}

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