summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/hashicorp/memberlist/conflict_delegate.go
blob: f52b136ebad5f6f7d80e864f27bd4dfd48e948a4 (plain)
1
2
3
4
5
6
7
8
9
10
package memberlist

// ConflictDelegate is a used to inform a client that
// a node has attempted to join which would result in a
// name conflict. This happens if two clients are configured
// with the same name but different addresses.
type ConflictDelegate interface {
	// NotifyConflict is invoked when a name conflict is detected
	NotifyConflict(existing, other *Node)
}