Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 817 Bytes

File metadata and controls

42 lines (28 loc) · 817 Bytes

WIP http police api

Usage

Requirements

Setup

Cludflare setup

make create-db

Development

Commands

make dev     # run dev server
make build   # build Go Wasm binary
make deploy # deploy worker

if you change app directory, you should run make generate before make dev.

Testing dev server

  • Just send HTTP request using some tools like curl.
curl -X POST -H "Content-Type: application/json" -d '{"domain":"tsurutatakumi.info"}' http://localhost:8787

# However, it currently does not work well with workers
failed to check: operation not implemented