Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunClient ¶
type AliyunClient struct {
// contains filtered or unexported fields
}
func NewAliyunClient ¶
func NewAliyunClient(c AliyunConf) *AliyunClient
type AliyunConf ¶
type BaiduClient ¶
type BaiduClient struct {
// contains filtered or unexported fields
}
func NewBaiduClient ¶
func NewBaiduClient(conf BaiduConf) *BaiduClient
type OcrServiceProvider ¶
type OcrServiceProvider struct {
// contains filtered or unexported fields
}
func (*OcrServiceProvider) Boot ¶
func (i *OcrServiceProvider) Boot()
func (*OcrServiceProvider) Conf ¶ added in v1.3.0
func (i *OcrServiceProvider) Conf() map[string]string
func (*OcrServiceProvider) Description ¶ added in v1.3.0
func (i *OcrServiceProvider) Description() string
func (*OcrServiceProvider) Register ¶
func (i *OcrServiceProvider) Register()
type Options ¶
type Options struct {
Provider string `json:"provider"`
Baidu BaiduConf `json:"baidu"`
Aliyun AliyunConf `json:"aliyun"`
Tencent TencentConf `json:"tencent"`
}
type TencentClient ¶
type TencentClient struct {
// contains filtered or unexported fields
}
func NewTencentClient ¶
func NewTencentClient(c TencentConf) *TencentClient
Click to show internal directories.
Click to hide internal directories.