package
2.1.3-rc0
Repository: https://github.com/iotexproject/iotex-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

NewChainListener returns a new blockchain chainListener.
NewGRPCBlockListener returns a new gRPC block listener.
NewGRPCLogListener returns a new log listener.
NewGRPCServer creates a new grpc server.
NewHTTPServer creates a new http server.
NewReadCache returns a new read cache.
NewServerV2 creates a new server with coreService and GRPC Server.
NewWeb3BlockListener returns a new websocket block listener.
NewWeb3Handler creates a handle to process web3 requests.
NewWeb3LogListener returns a new websocket block listener.
NewWebsocketHandler creates a new websocket handler.
RecoveryInterceptor handles panic to a custom error.
No description provided by the author
WithAPIStats is the option to return RPC stats through API.
WithBroadcastOutbound is the option to broadcast msg outbound.
WithNativeElection is the option to return native election data through API.
No description provided by the author

# Variables

DefaultConfig is the default config.
ErrNotFound indicates the record isn't found.

# Structs

Config is the api service config.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerV2 provides api for user to interact with blockchain data.
No description provided by the author
WebsocketHandler handles requests from websocket protocol.

# Interfaces

No description provided by the author
StreamBlocksServer defines the interface of a rpc stream server.
No description provided by the author

# Type aliases

BroadcastOutbound sends a broadcast message to the whole network.
Option is the option to override the api config.