Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State uint8
State is the confirmation state of an entity.
const ( // Undefined is the default confirmation state. Undefined State = iota // Rejected is the state for rejected entities. Rejected // Pending is the state for pending entities. Pending // Accepted is the state for accepted entities. Accepted // NotConflicting is the state for a conflict, whose all conflicting conflicts are orphaned and rejected. NotConflicting // Confirmed is the state for confirmed entities. Confirmed )
func (State) IsAccepted ¶
IsAccepted returns true if the state is Accepted or Confirmed.
func (State) IsConfirmed ¶
IsConfirmed returns true if the state is Confirmed.
func (State) IsRejected ¶
IsRejected returns true if the state is Rejected.
Click to show internal directories.
Click to hide internal directories.