This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remplace int64 by time.Time and time.Duration
Signed-off-by: Yoan Blanc <yoan.blanc@exoscale.ch>
- Loading branch information
Yoan Blanc
committed
Apr 10, 2018
1 parent
f3dff43
commit 3cc97ba
Showing
5 changed files
with
31 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package exoip | ||
|
||
//go:generate stringer -type=State | ||
|
||
// State represents the state : backup, master | ||
type State int | ||
|
||
const ( | ||
// StateBackup represents the backup state | ||
StateBackup State = iota | ||
// StateMaster represents the master state | ||
StateMaster | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters