pass a struct with the info
This commit is contained in:
12 files changed
+79
-70
No files matched your search
@@ -6,6 +6,12 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
type requestContext struct {
|
||||
User *User
|
||||
FileManager *FileManager
|
||||
Info *fileInfo
|
||||
}
|
||||
|
||||
// responseWriterNoBody is a wrapper used to suprress the body of the response
|
||||
// to a request. Mainly used for HEAD requests.
|
||||
type responseWriterNoBody struct {
|
||||
|
||||
Reference in new issue
Block a user