more updates

Former-commit-id: 8c19eda25f60e0fc5587dde8c19a8428befc3e0d
This commit is contained in:
Henrique Dias
2017-06-19 18:23:57 +01:00
parent 8d4981fcb8
commit bd7184d5df
16 changed files with 79 additions and 83 deletions

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 {