github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/worker/raft/rafttransport/doc.go (about)

     1  // Copyright 2018 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  // Package rafttransport provides a manifold and worker that manages
     5  // an apiserver-based raft.Transport. The Worker type, returned by
     6  // NewWorker, implements raft.Transport.
     7  //
     8  // The rafttransport worker installs an HTTP handler into the provided
     9  // apiserverhttp.Mux at a configured path. The worker watches the
    10  // central hub for notification of API server addresses, and uses this
    11  // for dialing connections to those API servers.
    12  
    13  package rafttransport