Documentation ¶
Index ¶
- func NodeURLSplit(s string) (node string, url string)
- type NodeID
- func (u NodeID) Compare(u2 NodeID) int
- func (u NodeID) Equal(u2 NodeID) bool
- func (u *NodeID) EqualTo(i interface{}) bool
- func (u NodeID) Marshal() ([]byte, error)
- func (u NodeID) MarshalJSON() ([]byte, error)
- func (u *NodeID) MarshalTo(data []byte) (int, error)
- func (u *NodeID) Nil() bool
- func (u *NodeID) Size() int
- func (u *NodeID) Unmarshal(data []byte) error
- func (u *NodeID) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NodeURLSplit ¶
we can't import this from util
Types ¶
type NodeID ¶
func NewNodeIDFromBinary ¶
func NewNodeIDFromURL ¶
func (NodeID) MarshalJSON ¶
func (*NodeID) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.