Documentation
¶
Index ¶
- func AESCBCDecrypt(crypted, key, iv []byte) ([]byte, error)
- func AESCBCEncrypt(content, key, iv []byte) ([]byte, error)
- func HttpGet(url string, timeout int) ([]byte, error)
- func HttpPost(url string, data interface{}, contentType string, timeout int32) ([]byte, error)
- func HttpPut(url string, data interface{}, contentType string, timeout int32) ([]byte, error)
- func HttpRequest(method string, url string, data interface{}, contentType string, timeout int32) ([]byte, error)
- func HttpUpload(url string, values map[string]io.Reader, token string, filename string, ...) ([]byte, error)
- func JsonDecoder(payload []byte, v interface{}) error
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5Trimming(encrypt []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AESCBCDecrypt ¶
func AESCBCEncrypt ¶
func HttpRequest ¶
func HttpUpload ¶
func JsonDecoder ¶
func PKCS5Padding ¶
func PKCS5Trimming ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.