aboutsummaryrefslogtreecommitdiff
path: root/cmd/resolver/resolver.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-04-21 01:39:56 +0700
committerShulhan <ms@kilabit.info>2022-04-21 01:39:56 +0700
commit26bbadb4ca1c38f2d34a722b0c7d9509135a7eb2 (patch)
treeb0c0a3d3f7d6314f3a9a2798557ce6a2fc683d22 /cmd/resolver/resolver.go
parentd99356259a60ac0e2c345e60b3a6c92c3fb9d764 (diff)
downloadrescached-26bbadb4ca1c38f2d34a722b0c7d9509135a7eb2.tar.xz
all: implement HTTP API to enable or disable hosts on block.d
The URL /api/block.d/enable activate the hosts in block.d, while The URL /api/block.d/disable deactivate the hosts in block.d. Both of this API accept single parameter "name" in the body as application/x-www-form-urlencoded.
Diffstat (limited to 'cmd/resolver/resolver.go')
0 files changed, 0 insertions, 0 deletions