filestore

package
v0.0.0-...-3a5708c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package filestore implements the storage via filesystem. Provided features are reading and writing content, creating and deleting files as well as realization of access control.

It is important to note, that the error handling is implemented using a saved error value. As soon as an error occured, all functions get no-ops. This way, implementation gets a lot easier and more readable. However, callers and developers always have to ensure to correctly check for errors, as the type system won't ensure this anymore.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(contentRoot gopath.GoPath, authenticator authenticator.Authenticator) store.Store

New initializes a zeroe'd instance ready to use.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL