chore(gofmt): Run gofmt

This commit is contained in:
Brian Waldon
2014-01-18 10:10:06 -08:00
parent c0ff8f6026
commit 91fc6aabd2
3 changed files with 31 additions and 31 deletions

View File

@@ -40,19 +40,19 @@ type PeerServerConfig struct {
}
type PeerServer struct {
Config PeerServerConfig
raftServer raft.Server
server *Server
httpServer *http.Server
listener net.Listener
joinIndex uint64
tlsConf *TLSConfig
tlsInfo *TLSInfo
followersStats *raftFollowersStats
serverStats *raftServerStats
registry *Registry
store store.Store
snapConf *snapshotConf
Config PeerServerConfig
raftServer raft.Server
server *Server
httpServer *http.Server
listener net.Listener
joinIndex uint64
tlsConf *TLSConfig
tlsInfo *TLSInfo
followersStats *raftFollowersStats
serverStats *raftServerStats
registry *Registry
store store.Store
snapConf *snapshotConf
closeChan chan bool
timeoutThresholdChan chan interface{}

View File

@@ -57,12 +57,12 @@ func New(sConfig ServerConfig, tlsConf *TLSConfig, tlsInfo *TLSInfo, peerServer
TLSConfig: &tlsConf.Server,
Addr: sConfig.BindAddr,
},
store: store,
registry: registry,
tlsConf: tlsConf,
tlsInfo: tlsInfo,
peerServer: peerServer,
router: r,
store: store,
registry: registry,
tlsConf: tlsConf,
tlsInfo: tlsInfo,
peerServer: peerServer,
router: r,
corsMiddleware: cors,
metrics: mb,
}