Documentation ¶
Index ¶
- func Close(fd *os.File) error
- func CopyReader(dst io.Writer, src io.Reader) (int64, error)
- func Create(name string) (*os.File, error)
- func EnsureDir(fp string) error
- func EnsureDirRW(dataDir string) error
- func NewUUID() uuid.UUID
- func OpenFile(name string, flag int, perm os.FileMode) (*os.File, error)
- func ReadDir(dir string) ([]string, error)
- func Remove(name string) error
- func TemporaryDir(dir string) (string, error)
- func TimeTrack(start time.Time) string
- func Workers(workers, jobs int) int
- func WriteFile(name string, data []byte, perm os.FileMode) error
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDirRW ¶
EnsureDirRW ensure the datadir and make sure it's rw-able
func TemporaryDir ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.