go run pkg/cmd/cluster/main.go
go run pkg/cmd/cluster/main.go --getErrors
go build -o ./bin/cluster pkg/cmd/cluster/*.go
go test -benchmem -bench=. test/benchmark_test.go
BenchmarkSendMessageForRoleGenerator-8 30000 47023 ns/op 240 B/op 7 allocs/op
BenchmarkGetMessageForRoleHandler-8 20000 54696 ns/op 516 B/op 15 allocs/op
BenchmarkCheckServerRole-8 20000 92195 ns/op 392 B/op 13 allocs/op
BenchmarkGetRedisConn-8 1000000000 2.53 ns/op 0 B/op 0 allocs/op