chore: fix function name in comment

This commit is contained in:
David Wood 2024-10-21 14:45:15 +08:00 committed by GitHub
parent 41cce62597
commit ac9e9f7282
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ func (clients *clientsContainer) findRuntime(ip netip.Addr, idStr string) (cj *c
return cj
}
// RegisterClientsHandlers registers HTTP handlers
// registerWebHandlers registers HTTP handlers
func (clients *clientsContainer) registerWebHandlers() {
httpRegister(http.MethodGet, "/control/clients", clients.handleGetClients)
httpRegister(http.MethodPost, "/control/clients/add", clients.handleAddClient)