Documentation
¶
Index ¶
- func DecrptogDES(src, key, iv []byte) []byte
- func DownWebImage(url, dir string) (string, error)
- func EncyptogDES(src, key, iv []byte) []byte
- func GenerateHexString(len int8) string
- func IsFileOrDirExist(addr string) bool
- func TryDecrptogDES(src, key, iv []byte) (dst []byte, err error)
- func WriteToFile(fileName string, content string) error
- type MySet
- type MySync
- type Seter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownWebImage ¶
DownWebImage 下载网络图片,返回图片路径, 支持不带文件后缀的路径。
func GenerateHexString ¶
GenerateHexString 随机生成指定位数(必须是偶数)的HexString
func TryDecrptogDES ¶ added in v1.3.1
TryDecrptogDES 不直接Panic
func WriteToFile ¶
WriteToFile 覆盖式写入文件,如果文件不存在则创建写入
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.