Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SupportedDrivers ¶
func SupportedDrivers() []string
SupportedDrivers returns a list of supported LND names
Types ¶
type IbNid ¶
IbNid is an Infiniband LND NID
type LoopbackNid ¶
type LoopbackNid struct{}
LoopbackNid is a Loopback LND NID. It will only ever be 0@lo.
func (*LoopbackNid) Address ¶
func (t *LoopbackNid) Address() interface{}
Address returns the underlying net.IP
func (*LoopbackNid) LNet ¶
func (t *LoopbackNid) LNet() string
LNet returns a string representation of the driver name and instance
type Nid ¶
type Nid struct {
// contains filtered or unexported fields
}
Nid is a container for RawNid and holds methods for serializing to/from JSON.
func NidFromString ¶
NidFromString takes a string representation of a Nid and returns an *Nid.
func (*Nid) Address ¶
func (nid *Nid) Address() interface{}
Address returns the underlying Nid address (e.g. a net.IP, string, etc.)
func (*Nid) MarshalJSON ¶
MarshalJSON implements json.Marshaler
func (*Nid) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler
type TCPNid ¶
TCPNid is a TCP LND NID
type TargetSpec ¶
type TargetSpec []NidList
TargetSpec is a list of NidLists -- any of the NIDs could be used to access this target on one of its servers
func (TargetSpec) String ¶
func (l TargetSpec) String() string