Versions in this module Expand all Collapse all v0 v0.2.0 Sep 6, 2022 GO-2025-3583 GO-2025-3583: Nethermind Juno Potential Denial of Service (DoS) via Integer Overflow in github.com/NethermindEth/juno Changes in this version + var ErrAlreadyExists = errors.New("already exists") + var ErrInvalidFunc = errors.New("invalid function") + type JsonRpc struct + func NewJsonRpc() *JsonRpc + func (s *JsonRpc) Call(request []byte) json.RawMessage + func (s *JsonRpc) RegisterFunc(name string, handler any, paramNames ...string) error + type RpcError struct + Code int64 + Data any + Message string + func NewInternalError(message string) *RpcError + func (err *RpcError) Error() string