Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAliyunRegion = "cn-shenzhen" FormatTypeText = "text" FormatTypeHTML = "html" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunClient ¶
func NewAliyunClient ¶
func NewAliyunClient(opts AliyunOptions) (*AliyunClient, error)
func (*AliyunClient) BatchTranslate ¶
func (c *AliyunClient) BatchTranslate(request *alimt.GetBatchTranslateRequest) (map[string]string, error)
api docs: https://next.api.aliyun.com/document/alimt/2018-10-12/GetBatchTranslate
func (*AliyunClient) ListSupportedLanguages ¶
func (c *AliyunClient) ListSupportedLanguages()
type AliyunOptions ¶
Click to show internal directories.
Click to hide internal directories.