storj/pkg/overlay/node.go
Dennis Coyle 9e40141cbc
Coyle/kad client (#91)
* 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
2018-06-19 10:00:15 -04:00

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)
}