9e40141cbc
* port changes * Merge remote-tracking branch 'upstream/master' * Merge remote-tracking branch 'upstream/master' * Restructure + additional interface * Add NewOverlayClient * added test for interface * PR comments addressed * lint issue * added generated protobuf * fixed merge conflicts * adding comments * PR comments addressed
13 lines
287 B
Go
13 lines
287 B
Go
// Copyright (C) 2018 Storj Labs, Inc.
|
|
// See LICENSE for copying information.
|
|
|
|
package overlay
|
|
|
|
// NodeID is the unique identifer of a Node in the overlay network
|
|
type NodeID string
|
|
|
|
// String transforms the nodeID to a string type
|
|
func (n NodeID) String() string {
|
|
return string(n)
|
|
}
|