Versions in this module Expand all Collapse all v0 v0.1.2 Feb 13, 2023 v0.1.1 Feb 5, 2023 Changes in this version + func Get(h Handler) fasthttp.RequestHandler + type RequestCtx struct + Arena *fastjson.Arena + Ctx *fasthttp.RequestCtx + Error any + Method []byte + Params *fastjson.Value + Result any + func (p *RequestCtx) ParamsUnmarshal(v any) error v0.1.0 Jan 30, 2023 Changes in this version + func Rpc(h Handler) fasthttp.RequestHandler + type Context struct + Arena *fastjson.Arena + Ctx *fasthttp.RequestCtx + Error any + Method []byte + Params *fastjson.Value + Result any + type Error struct + Code int + Data interface{} + Message string + func NewError(code int, message string) *Error + func (p *Error) Error() string + type Handler func(ctx *Context) + type ServerMap struct + func (p *ServerMap) Handler(ctx *fasthttp.RequestCtx) + func (p *ServerMap) Register(rcvr any) error + func (p *ServerMap) RegisterHandler(method string, handler Handler) + func (p *ServerMap) RegisterName(name string, rcvr any) error