Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { FileHandler func(http.ResponseWriter, *http.Request) // contains filtered or unexported fields }
File struct
func (*File) Init ¶
func (f *File) Init(meta *server.Meta, fileService *services.FileService)
Init method
func (File) ServeHTTP ¶
func (f File) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP checks if is valid method
func (File) ValidateRequest ¶
ValidateRequest checks if request is valid
Click to show internal directories.
Click to hide internal directories.