Skip to content

Commit

Permalink
Add comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Feb 24, 2022
1 parent 2daf1e1 commit dfbd00f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/util/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,19 @@ package util
type Role int

const (
// RoleOwner is the owner of the cluster.
RoleOwner Role = iota
// RoleProcessor is the processor of the cluster.
RoleProcessor
// RoleClient is the client.
RoleClient
// RoleRedoLogApplier is the redo log applier.
RoleRedoLogApplier
// RoleKafkaConsumer is the kafka consumer.
RoleKafkaConsumer
// RoleTester for test.
RoleTester
// RoleUnknown is the unknown role.
RoleUnknown
)

Expand Down

0 comments on commit dfbd00f

Please sign in to comment.