home: imp docs

This commit is contained in:
Stanislav Chzhen 2025-04-21 19:40:52 +03:00
parent 3fd4735a0d
commit 6468ceec82

View File

@ -460,7 +460,7 @@ func (clients *clientsContainer) handleFindClient(w http.ResponseWriter, r *http
// findClient returns available information about a client by params from the
// client's storage or access settings. idStr is the string representation of
// typed params. cj is guaranteed to be non-nil.
// typed params. params must not be nil. cj is guaranteed to be non-nil.
func (clients *clientsContainer) findClient(
idStr string,
params *client.FindParams,
@ -530,8 +530,8 @@ func (clients *clientsContainer) handleSearchClient(w http.ResponseWriter, r *ht
}
// findRuntime looks up the IP in runtime and temporary storages, like
// /etc/hosts tables, DHCP leases, or blocklists. cj is guaranteed to be
// non-nil.
// /etc/hosts tables, DHCP leases, or blocklists. params must not be nil. cj
// is guaranteed to be non-nil.
func (clients *clientsContainer) findRuntime(
idStr string,
params *client.FindParams,