Skip to content

Commit e22281f

Browse files
committed
remove log websocket
1 parent f939e32 commit e22281f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

main.go

-10
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,6 @@ var homeTemplate = template.Must(template.New("home").Parse(homeTemplateHTML))
9999
//go:embed home.html
100100
var homeTemplateHTML string
101101

102-
// FIXME; the loggerWS is useind in the multiwrite in the hub
103-
// type logWriter struct{}
104-
105-
// func (u *logWriter) Write(p []byte) (n int, err error) {
106-
// h.broadcastSys <- p
107-
// return len(p), nil
108-
// }
109-
110-
// var loggerWs logWriter
111-
112102
func homeHandler(c *gin.Context) {
113103
homeTemplate.Execute(c.Writer, c.Request.Host)
114104
}

0 commit comments

Comments
 (0)