package
0.0.0-20240806202947-369a1d73b513
Repository: https://github.com/overclock-validator/keep-core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
Package local provides a local, non-networked implementation of the interfaces defined by the net package.
Package retransmission implements a simple retransmission mechanism for network messages based on their sequence number.
No description provided by the author
Package watchtower continuously monitors firewall rules compliance of all connected peers, and disconnects peers which do not comply to the rules.

# Constants

BackoffRetransmissionStrategy is a retransmission strategy that retransmits the message with an exponentially increasing delay between subsequent retransmissions.
StandardRetransmissionStrategy is the default retransmission strategy that retransmit the message with a constant frequency.

# Interfaces

BroadcastChannel represents a named pubsub channel.
ConnectionManager is an interface which exposes peers a client is connected to, and their individual identities, so that a client may forcibly disconnect from any given connected peer.
Firewall represents a set of rules the remote peer has to conform to so that a connection with that peer can be approved.
Message represents a message exchanged within the network layer.
Provider represents an entity that can provide network access.
TaggedMarshaler is an interface that includes the proto.Marshaler interface, but also provides a string type for the marshalable object.
TaggedUnmarshaler is an interface that includes the proto.Unmarshaler interface, but also provides a string type for the unmarshalable object.
TransportIdentifier represents a protocol-level identifier.

# Type aliases

BroadcastChannelFilter represents a filter which determine if the incoming message should be processed by the receivers.
RetransmissionStrategy represents a specific retransmission strategy.