Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend interface { Name() string List() ([]string, error) Read(id string) (io.ReadCloser, error) ReadMetadata(id string) (string, string, int64, time.Time, error) Write(id string, r io.ReadSeeker, filename string, mimetype string) (int64, error) Delete(id string) error Serve(w http.ResponseWriter, r *http.Request, id string, filename string, mimetype string, timestamp time.Time, attachment bool) error }
Click to show internal directories.
Click to hide internal directories.