import { Http } from 'farrow-http'
import { DenoService } from from 'farrow-deno-api'
...
const entries = {
getCount,
setCount,
triggerError,
}
const CounterService = DenoService({
entries,
})
const http = Http()
const server = http.server()
http.route('/counter').use(CounterService)
http.listen(3000)