diff options
| author | Shulhan <ms@kilabit.info> | 2022-04-15 01:44:34 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-04-15 01:44:34 +0700 |
| commit | 86c787c31de4a1c21414ee8b710276f76896f272 (patch) | |
| tree | bd3fd8d604f024c9f4de45f1b625ef667ea0b0fd /lib/sql/sql.go | |
| parent | 9329196125feb616fc196a678d3a40940ce5ec85 (diff) | |
| download | pakakeh.go-86c787c31de4a1c21414ee8b710276f76896f272.tar.xz | |
lib/dns: refactor Server RemoveCachesByNames to return removed Answer
Previously, RemoveCachesByNames does not return anything, its only
print the domain name being removed if debugging level is set to >= 1.
This changes rewrite the RemoveCachesByNames to return list of Answer
being removed to allower the caller to inspect and/or print the Answer.
Diffstat (limited to 'lib/sql/sql.go')
0 files changed, 0 insertions, 0 deletions
