Documentation ¶ Overview ¶ Package disk provides local disk storage. Index ¶ type Config func (config *Config) Open() (storage.Storage, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // Path is the base directory. Path string `mapstructure:"path"` // Mode is the default file mode. Defaults to 0755. Mode string `mapstructure:"mode"` } Config for local storage. func (*Config) Open ¶ func (config *Config) Open() (storage.Storage, error) Open a local file system storage. Source Files ¶ View all Source files config.go storage.go Click to show internal directories. Click to hide internal directories.