diff options
Diffstat (limited to 'internal/quorum.go')
| -rw-r--r-- | internal/quorum.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/quorum.go b/internal/quorum.go new file mode 100644 index 0000000..528f460 --- /dev/null +++ b/internal/quorum.go @@ -0,0 +1,11 @@ +package internal + +import "time" + +type quorum struct { + ID string + Age time.Duration + Votes int +} + +type quorumMap map[string]quorum |
