Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func (*Client) Translate ¶
func (comp *Client) Translate(ctx context.Context, param *request.RequestGeneralTrans) (*response.ResponseGeneralTrans, error)
type GeneralTrans ¶
type GeneralTrans struct {
*Client
}
func NewGeneralTrans ¶
func NewGeneralTrans(config *config.BaiduTranslateConfig) (*GeneralTrans, error)
Click to show internal directories.
Click to hide internal directories.