tool

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: GPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64DecodeString

func Base64DecodeString(src string) (dst string, err error)

func ContainChineseChar

func ContainChineseChar(str string) bool

Types

type HttpClient

type HttpClient struct {
	*http.Client
}

func GetHttpClient

func GetHttpClient() *HttpClient

func (*HttpClient) Get

func (c *HttpClient) Get(url string) (resp *http.Response, err error)

func (*HttpClient) Post

func (c *HttpClient) Post(url string, body io.Reader) (resp *http.Response, err error)

type Options

type Options map[string]interface{}

Jump to

Keyboard shortcuts

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