|
|
@ -102,7 +102,7 @@ func OsStart() { |
|
|
|
fileRouter.HandleFunc("/watch", files.WatchHandler).Methods(http.MethodGet) |
|
|
|
fileRouter.HandleFunc("/setfilepwd", files.HandleSetFilePwd).Methods(http.MethodGet) |
|
|
|
fileRouter.HandleFunc("/changefilepwd", files.HandleChangeFilePwd).Methods(http.MethodGet) |
|
|
|
fileRouter.HandleFunc("/changeisPwd", files.HandleSetIsPwd).Methods(http.MethodGet) |
|
|
|
fileRouter.HandleFunc("/changeispwd", files.HandleSetIsPwd).Methods(http.MethodGet) |
|
|
|
|
|
|
|
localchatRouter := router.PathPrefix("/localchat").Subrouter() |
|
|
|
localchatRouter.HandleFunc("/message", localchat.HandleMessage).Methods(http.MethodPost) |
|
|
|