package
0.0.0-20190325070526-dc8d8d3de2bf
Repository: https://github.com/fearblackcat/swiftraft.git
Documentation: pkg.go.dev
# Functions
NewListener returns a listener for raft message transfer between peers.
NewRoundTripper returns a roundTripper used to send requests to rafthttp listener of remote peers.
# Constants
ConnReadTimeout and ConnWriteTimeout are the i/o timeout set on each connection rafthttp pkg creates.
No description provided by the author
RoundTripperNameRaftMessage is the name of round-tripper that sends all other Raft messages, other than "snap.Message".
RoundTripperNameSnapshot is the name of round-tripper that sends merged snapshot message.
# Variables
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
# Interfaces
Pausable is a testing interface for pausing transport traffic.
No description provided by the author
No description provided by the author
No description provided by the author