handler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinHandler

type GinHandler interface {
	Handle(*gin.Context)
}

GinHandler the handler interface of Gin

func NewDefaultHandler

func NewDefaultHandler(logger log.Logger) GinHandler

NewDefaultHandler create an instance of the defaultHandler

func NewFileApiHandler

func NewFileApiHandler(logger log.Logger, root http.FileSystem, chunkSize int64, checkpointCount int) GinHandler

NewFileApiHandler create an instance of the fileApiHandler

func NewLoginHandler

func NewLoginHandler(users []*auth.User, logger log.Logger) GinHandler

NewLoginHandler create an instance of the loginHandler

func NewManageHandler added in v0.3.3

func NewManageHandler(logger log.Logger) GinHandler

NewManageHandler create an instance of the manageHandler

func NewPushHandler added in v0.3.0

func NewPushHandler(logger log.Logger, source core.VFS, enableLogicallyDelete bool) GinHandler

NewPushHandler create an instance of the pushHandler

func NewReportHandler added in v0.4.0

func NewReportHandler(logger log.Logger) GinHandler

NewReportHandler create an instance of the reportHandler

Jump to

Keyboard shortcuts

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