Documentation
¶
Index ¶
- func Decrypt(encryptBs []byte, keyStr string) ([]byte, error)
- func DownloadFile(ctx context.Context, url string) ([]byte, error)
- func DownloadFileToStream(ctx context.Context, url string) (io.ReadCloser, error)
- func Prettify(i interface{}) string
- func TsToTime(ts string) (time.Time, error)
- type DecryptErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶ added in v1.1.21
Types ¶
type DecryptErr ¶
type DecryptErr struct {
Message string
}
func (DecryptErr) Error ¶
func (e DecryptErr) Error() string
Click to show internal directories.
Click to hide internal directories.