Versions in this module Expand all Collapse all v0 v0.1.0 Jul 2, 2019 Changes in this version + func NewP2PClient4EOS(name string, chainID string, startBlock uint32, peers []string, ...) *p2pEOSClient + func NewP2PClient4EOSForce(name string, chainID string, startBlock uint32, peers []string, ...) *p2pEOSForceClient + func NewP2PClient4Forceio(name string, chainID string, startBlock uint32, peers []string, ...) *p2pForceioClient + type ClientInterface interface + CloseConnection func() error + IsClosed func() bool + RegHandler func(handler types.P2PHandler) + SetReadTimeout func(readTimeout time.Duration) + Start func() error + Type func() types.ClientType + func NewP2PClient(typ types.ClientType, params P2PInitParams) ClientInterface + type P2PInitParams struct + ClientID string + Logger *zap.Logger + Name string + Peers []string + StartBlockNum uint32