Documentation ¶
Index ¶
- Constants
- func CompressImageByTinify(ctx context.Context, c *app.RequestContext)
- func DecodeDocFromImage(ctx context.Context, c *app.RequestContext)
- func DecodeDocOrImageFromImage(ctx context.Context, c *app.RequestContext)
- func DecodeImageFromImage(ctx context.Context, c *app.RequestContext)
- func EncodeDocFromImage(ctx context.Context, c *app.RequestContext)
- func EncodeImageFromImage(ctx context.Context, c *app.RequestContext)
- func GetApiStatistic(ctx context.Context, c *app.RequestContext)
- func GetSysMonitor(ctx context.Context, c *app.RequestContext)
- func Ping(ctx context.Context, c *app.RequestContext)
- func ReceiveDrift(ctx context.Context, c *app.RequestContext)
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 ReceiveDrift ¶
func ReceiveDrift(ctx context.Context, c *app.RequestContext)
ReceiveDrift 接收一封未知的漂流信
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.