11 lines
376 B
Go
11 lines
376 B
Go
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)
|
|
}
|