implement /asn-org endpoint

This commit is contained in:
Alphakilo
2022-09-04 00:06:01 +02:00
parent ffa6674637
commit dcefd6f1c6
2 changed files with 11 additions and 0 deletions

View File

@ -94,6 +94,7 @@ func TestCLIHandlers(t *testing.T) {
{s.URL + "/city", "Bornyasherk\n", 200, "", ""},
{s.URL + "/foo", "404 page not found", 404, "", ""},
{s.URL + "/asn", "AS59795\n", 200, "", ""},
{s.URL + "/asn-org", "Hosting4Real\n", 200, "", ""},
}
for _, tt := range tests {