• v1.1.0 05af3dc825

    fun: add BindRoute for custom HTTP routes (GET/POST, form-data callbacks)

    chiyi released this 2026-08-20 02:17:56 +00:00 | 7 commits to main since this release

    • BindRoute(method, path, handler) with exact-match routing dispatched before /cell RPC
    • RouteCtx merges query args and form-urlencoded POST args for callback scenarios (e.g. epay notify)
    • handler returns error -> unified Result error response; nil -> full control via fasthttp.RequestCtx (plain-text 'success' replies)
    • /cell reserved; duplicate/invalid registration panics at startup; all existing tests pass
    Downloads