Documentation ¶
Index ¶
- func DownloadMiddleware(db *gorm.DB, handler auth.AuthHandlerInterface) auth.AuthHandlerInterface
- func NewReader(wrapped io.Reader, rate float64, burst int64) io.ReadCloser
- func NewResponseWriter(wrapped io.Writer, rate float64, burst int64) http.ResponseWriter
- func UploadMiddleware(db *gorm.DB, handler auth.AuthHandlerInterface) auth.AuthHandlerInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadMiddleware ¶
func DownloadMiddleware(db *gorm.DB, handler auth.AuthHandlerInterface) auth.AuthHandlerInterface
func NewResponseWriter ¶
func UploadMiddleware ¶
func UploadMiddleware(db *gorm.DB, handler auth.AuthHandlerInterface) auth.AuthHandlerInterface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.