package
1.5.5
Repository: https://github.com/nolash/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.
Dial creates a new client for the given URL.
DialContext creates a new RPC client, just like Dial.
DialHTTP creates a new RPC clients that connection to an RPC server over HTTP.
NewInProcClient attaches an in-process connection to the given RPC server.
DialIPC create a new IPC client that connects to the given endpoint.
DialWebsocket creates a new RPC client that communicates with a JSON-RPC server that is listening on the given endpoint.
NewHexNumber creates a new hex number instance which will serialize the given val with `%#x` on marshal.
NewHTTPServer creates a new HTTP RPC server around an API provider.
NewID generates a identifier that can be used as an identifier in the RPC interface.
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.
NewWSServer creates a new websocket RPC server around an API provider.
NotifierFromContext returns the Notifier value stored in ctx, if any.

# 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
OptionMethodInvocation is an indication that the codec supports RPC method calls.
support pub sub.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
ErrNotificationsUnsupported is returned when the connection doesn't support notifications.
ErrNotificationNotFound is returned when the notification for the given id is not found.
No description provided by the author

# Structs

API describes the set of methods offered over the RPC interface.
BatchElem is an element in a batch request.
Client represents a connection to an RPC server.
A ClientSubscription represents a subscription established through EthSubscribe.
Notifier is tight to a RPC connection that supports subscriptions.
RPCService gives meta information about the server.
Server represents a RPC server.
a Subscription is created by a notifier and tight to that notifier.

# Interfaces

Error wraps RPC errors, which contain an error code in addition to the message.
ServerCodec implements reading, parsing and writing RPC messages for the server side of a RPC session.

# Type aliases

No description provided by the author
CodecOption specifies which type of messages this codec supports.
HexBytes JSON-encodes as hex with 0x prefix.
HexNumber serializes a number to hex format using the "%#x" format.
ID defines a psuedo random number that is used to identify RPC subscriptions.