Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Directory is a directory with files Directory string }
Config is a file uploader configuration
func (*Config) CheckAndSetDefaults ¶
CheckAndSetDefaults checks and sets default values of file handler config
type Handler ¶
type Handler struct { // Config is a file sessions config Config // Entry is a file entry *log.Entry }
Handler uploads and downloads sessions archives by reading and writing files to directory, useful for NFS setups and tests
func NewHandler ¶
NewHandler returns new file sessions handler
Click to show internal directories.
Click to hide internal directories.