Versions in this module Expand all Collapse all v1 v1.0.1 May 9, 2019 v1.0.0 Oct 3, 2017 Changes in this version + type Logger interface + Log func(v ...interface{}) + Logf func(s string, v ...interface{}) + type LoggerAdapter struct + func (a *LoggerAdapter) Log(v ...interface{}) + func (a *LoggerAdapter) Logf(s string, v ...interface{}) + type TransportHooks interface + PostRPC func(src, target string, r *raft.RPC, result *raft.RPCResponse) error + PreAppendEntries func(src, target string, r *raft.AppendEntriesRequest) (*raft.AppendEntriesResponse, error) + PreRPC func(src, target string, r *raft.RPC) error + PreRequestVote func(src, target string, r *raft.RequestVoteRequest) (*raft.RequestVoteResponse, error)