actor

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ImageRotateRight is rotate image 90 degree right
	ImageRotateRight = "right"
	// ImageRotateLeft is rotate image 90 degree left
	ImageRotateLeft = "left"
	// ImageRotateUpsidedown is rotate image upside down
	ImageRotateUpsidedown = "upsidedown"
	// ImageRotateAutoVertical is rotate image auto vertical
	ImageRotateAutoVertical = "autovertical"
	// ImageRotateAutoHorizontal is rotate image auto horizontal
	ImageRotateAutoHorizontal = "autohorizontal"
)
View Source
const TokenExpired = 60

TokenExpired is token's expired

Variables

View Source
var TokenSecret = os.Getenv("TOKEN_SECRET")

TokenSecret define token secrets

Functions

This section is empty.

Types

type CachedContentOperator

type CachedContentOperator struct {
	repository.CachedContentRepository
}

CachedContentOperator struct

func NewCachedContentOperator

func NewCachedContentOperator() *CachedContentOperator

NewCachedContentOperator creates a new CachedContentRepository

type ImageOperator

type ImageOperator struct {
	repository.ImageObjectRepository
}

ImageOperator struct

func NewImageOperator

func NewImageOperator(ctx context.Context, contenttype string, option ImageOperatorOption) *ImageOperator

NewImageOperator creates a new ImageObjectRepository

type ImageOperatorOption

type ImageOperatorOption entity.ImageObjectOption

ImageOperatorOption is Option of ImageOperator struct

type JwtOperator

type JwtOperator struct {
	repository.JwtClaimsRepository
}

JwtOperator struct

func NewJwtOperator

func NewJwtOperator(ctx context.Context, username string, admin bool, expired time.Duration) *JwtOperator

NewJwtOperator creates a new JwtClaimsRepository

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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