Documentation ¶
Index ¶
- Variables
- func BuildAddr(host, port string) string
- func Copy(srcFile, dstFile string) error
- func CreateIfNotExits(fpath string) error
- func Die(args ...any)
- func FileExists(dpath, file string) bool
- func GeneratePreview(input []byte, filename string) ([]byte, error)
- func GenerateRandomString(n int) (string, error)
- func GetLocalIPs() []string
- type TempFile
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrDecoderNotFound = errors.New("image decoder not found")
Functions ¶
func CreateIfNotExits ¶
func FileExists ¶
func GenerateRandomString ¶
func GetLocalIPs ¶
func GetLocalIPs() []string
Types ¶
Click to show internal directories.
Click to hide internal directories.