chore(*): gofmt everything

This commit is contained in:
Brandon Philips
2014-02-01 22:56:20 -08:00
parent 0566bf2d5d
commit ea8a353545
33 changed files with 67 additions and 83 deletions

View File

@@ -25,12 +25,12 @@ const retryInterval = 10
const ThresholdMonitorTimeout = 5 * time.Second
type PeerServerConfig struct {
Name string
Scheme string
URL string
SnapshotCount int
MaxClusterSize int
RetryTimes int
Name string
Scheme string
URL string
SnapshotCount int
MaxClusterSize int
RetryTimes int
}
type PeerServer struct {
@@ -65,11 +65,11 @@ type snapshotConf struct {
func NewPeerServer(psConfig PeerServerConfig, registry *Registry, store store.Store, mb *metrics.Bucket, followersStats *raftFollowersStats, serverStats *raftServerStats) *PeerServer {
s := &PeerServer{
Config: psConfig,
registry: registry,
store: store,
Config: psConfig,
registry: registry,
store: store,
followersStats: followersStats,
serverStats: serverStats,
serverStats: serverStats,
timeoutThresholdChan: make(chan interface{}, 1),