handler

package
v0.0.0-...-94f2022 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PRE_FILE           = "pre_file"
	COMPRESS_IMAGE_KEY = "compress_image"
)
View Source
const (
	CARRIER_FILE = "carrier_file"
	DATA_FILE    = "data_file"
	DATA_DOC     = "data_doc"

	SHARE_QUERY = "share"

	ENCODE_IMAGE_KEY       = "encode_image"
	ENCODE_DOC_KEY         = "encode_doc"
	DECODE_IMAGE_KEY       = "decode_image"
	DECODE_DOC_KEY         = "decode_doc"
	DECODE_INTELLIGENT_KEY = "decode_intelligent"
)

Variables

This section is empty.

Functions

func CompressImageByTinify

func CompressImageByTinify(ctx context.Context, c *app.RequestContext)

CompressImageByTinify 使用Tinify压缩图片

func DecodeDocFromImage

func DecodeDocFromImage(ctx context.Context, c *app.RequestContext)

DecodeDocFromImage 图片中解密文字

func DecodeDocOrImageFromImage

func DecodeDocOrImageFromImage(ctx context.Context, c *app.RequestContext)

DecodeDocOrImageFromImage 图片中智能解密图片或文字

func DecodeImageFromImage

func DecodeImageFromImage(ctx context.Context, c *app.RequestContext)

DecodeImageFromImage 图片中解密图片

func EncodeDocFromImage

func EncodeDocFromImage(ctx context.Context, c *app.RequestContext)

EncodeDocFromImage 图片中加密文字

func EncodeImageFromImage

func EncodeImageFromImage(ctx context.Context, c *app.RequestContext)

EncodeImageFromImage 图片中加密图片

func GetApiStatistic

func GetApiStatistic(ctx context.Context, c *app.RequestContext)

GetApiStatistic 获取API调用统计数据

func GetSysMonitor

func GetSysMonitor(ctx context.Context, c *app.RequestContext)

GetSysMonitor 获取系统性能监控

func Ping

func Ping(ctx context.Context, c *app.RequestContext)

Ping .

func ReceiveDrift

func ReceiveDrift(ctx context.Context, c *app.RequestContext)

ReceiveDrift 接收一封未知的漂流信

Types

This section is empty.

Jump to

Keyboard shortcuts

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