Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SortablePeerSlice ¶
type SortablePeerSlice []PeerMsg
func SortPeersForSession ¶
func SortPeersForSession(peers []peer.ID, sessionID string) SortablePeerSlice
func (SortablePeerSlice) GetPeerIDs ¶
func (sps SortablePeerSlice) GetPeerIDs() peer.IDSlice
func (SortablePeerSlice) Len ¶
func (sps SortablePeerSlice) Len() int
func (SortablePeerSlice) Less ¶
func (sps SortablePeerSlice) Less(i, j int) bool
func (SortablePeerSlice) Swap ¶
func (sps SortablePeerSlice) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.