more updates

This commit is contained in:
Henrique Dias
2017-06-19 18:23:57 +01:00
parent af4aaf07df
commit 8c19eda25f
16 changed files with 79 additions and 83 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func parseSearch(value string) *searchOptions {
}
// search ...
func (c *Config) search(w http.ResponseWriter, r *http.Request, u *User) (int, error) {
func (c *FileManager) search(w http.ResponseWriter, r *http.Request, u *User) (int, error) {
// Upgrades the connection to a websocket and checks for errors.
conn, err := upgrader.Upgrade(w, r, nil)
if err != nil {