adding some server-side control handlers

This commit is contained in:
2024-12-01 21:47:11 +09:00
parent 18b3028a46
commit 8346011d27
6 changed files with 115 additions and 28 deletions

13
server-ctl.go Normal file
View File

@ -0,0 +1,13 @@
package hodu
import "net/http"
type server_ctl_client_conns struct {
s *Server
}
// ------------------------------------
func (ctl *server_ctl_client_conns) ServeHTTP(w http.ResponseWriter, req *http.Request) {
w.Write([]byte("hello"))
}