Documentation
¶
Index ¶
- type Controller
- func (c *Controller) CreateUpload(ctx http.Context) error
- func (c *Controller) Delete(ctx http.Context) error
- func (c *Controller) DeleteUpload(ctx http.Context) error
- func (c *Controller) Get(ctx http.Context) error
- func (c *Controller) GetUpload(ctx http.Context) error
- func (c *Controller) PutUpload(ctx http.Context) error
- func (c *Controller) Upload(ctx http.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController(log *logrus.Logger, cfg *config.Config, fs *file_system.FS, manager *upload.Manager) *Controller
func (*Controller) CreateUpload ¶
func (c *Controller) CreateUpload(ctx http.Context) error
func (*Controller) DeleteUpload ¶
func (c *Controller) DeleteUpload(ctx http.Context) error
Click to show internal directories.
Click to hide internal directories.