Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filer ¶
type Filer struct { Config *config.Config Log *logrus.Logger DB *sqlx.DB Gin *gin.Engine GQ *goqu.Database Filesystem filesystem.Filesystem Queue queue.Queue }
Filer is the implementation of the Oakmail's fileserver
func NewFiler ¶
func NewFiler( cfg *config.Config, log *logrus.Logger, db *sqlx.DB, gq *goqu.Database, fs filesystem.Filesystem, qu queue.Queue, ) *Filer
NewFiler creates a new filesystem server instance
func (*Filer) FetchResource ¶
FetchResource allows users to download any resource they own
Click to show internal directories.
Click to hide internal directories.