package
1.4.9
Repository: https://github.com/codzart/go-ethereum.git
Documentation: pkg.go.dev

# Functions

CreateIPCListener creates an listener, on Unix platforms this is a unix socket, on Windows this is a named pipe.
NewHexNumber creates a new hex number instance which will serialize the given val with `%#x` on marshal.
NewHTTPClient create a new RPC clients that connection to a geth RPC server over HTTP.
NewHTTPServer creates a new HTTP RPC server around an API provider.
NewInProcRPCClient creates an in-process buffer stream attachment to a given RPC server.
NewIPCClient create a new IPC client that will connect on the given endpoint.
NewJSONCodec creates a new RPC server codec with support for JSON-RPC 2.0.
NewServer will create a new server instance with no registered handlers.
NewWSClientj creates a new RPC client that communicates with a RPC server that is listening on the given endpoint using JSON encoding.
NewWSServer creates a new websocket RPC server around an API provider.
NotifierFromContext returns the Notifier value stored in ctx, if any.
SupportedModules returns the collection of API's that the RPC server offers on which the given client connects.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OptionMethodInvocation is an indication that the codec supports RPC method calls.
support pub sub.
No description provided by the author

# Variables

ErrNotificationNotFound is returned when the notification for the given id is not found.
ErrNotificationsUnsupported is returned when the connection doesn't support notifications.

# Structs

API describes the set of methods offered over the RPC interface.
JSON-RPC error object.
JSON-RPC error response.
JSON-RPC request.
JSON-RPC response.
RPCService gives meta information about the server.
Server represents a RPC server.

# Interfaces

Client defines the interface for go client that wants to connect to a geth RPC endpoint.
A Notifier type describes the interface for objects that can send create subscriptions.
RPCError implements RPC error, is add support for error codec over regular go errors.
ServerCodec implements reading, parsing and writing RPC messages for the server side of a RPC session.
Subscription defines the interface for objects that can notify subscribers.

# Type aliases

No description provided by the author
CodecOption specifies which type of messages this codec supports.
HexNumber serializes a number to hex format using the "%#x" format.
UnsubscribeCallback defines a callback that is called when a subcription ends.