Documentation ¶ Index ¶ func ClearTgz() func ConvertToByte(src string, srcCode string, targetCode string) []byte func CopyFile(src, dst string) type Client func NewClient(url string) *Client func (c *Client) Get() *http.Response func (c *Client) Post() *http.Response Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ClearTgz ¶ added in v0.0.5 func ClearTgz() func ConvertToByte ¶ func ConvertToByte(src string, srcCode string, targetCode string) []byte src为要转换的字符串,srcCode为待转换的编码格式,targetCode为要转换的编码格式 func CopyFile ¶ func CopyFile(src, dst string) Types ¶ type Client ¶ type Client struct { Url string Params map[string]string Files map[string]string Header map[string]string } func NewClient ¶ func NewClient(url string) *Client func (*Client) Get ¶ added in v0.0.8 func (c *Client) Get() *http.Response func (*Client) Post ¶ func (c *Client) Post() *http.Response Source Files ¶ View all Source files clearTgz.go converStr.go copyFile.go post.go Click to show internal directories. Click to hide internal directories.