util

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL