Versions in this module Expand all Collapse all v0 v0.3.0 May 24, 2018 Changes in this version + const FileURLPrefix + type Module struct + Config *config.Module + DB *db.Module + Logger *logger.Module + Router *router.Module + func (m *Module) Delete(uuid string) error + func (m *Module) Get(filename string) (io.ReadCloser, error) + func (m *Module) GetWithTransform(filename string, optStr string) (io.ReadCloser, error) + func (m *Module) Init(c *service.Config) + func (m *Module) URLForFile(file *models.File) string + func (m *Module) Upload(filename string, wr io.Reader) (*models.File, error) + type Store interface + Delete func(uuid string) error + Get func(uuid string) (io.ReadCloser, error) + Upload func(uuid string, r io.Reader) error