Documentation ¶
Index ¶
Constants ¶
View Source
const ( AddrPrefix = "0lt" HexPrefix = "0x" )
Hex prefix
Variables ¶
View Source
var ErrParsingAddress = errors.New("failed to parse network address")
Functions ¶
func PrefixAddress ¶ added in v0.14.0
func TrimAddress ¶ added in v0.14.0
Types ¶
type PriorityQueue ¶ added in v0.10.4
type PriorityQueue []*Queued
A PriorityQueue implements heap.Interface and holds Items.
func (PriorityQueue) Len ¶ added in v0.10.4
func (vq PriorityQueue) Len() int
func (PriorityQueue) Less ¶ added in v0.10.4
func (vq PriorityQueue) Less(i, j int) bool
func (*PriorityQueue) Pop ¶ added in v0.10.4
func (vq *PriorityQueue) Pop() interface{}
func (*PriorityQueue) Push ¶ added in v0.10.4
func (vq *PriorityQueue) Push(x interface{})
func (PriorityQueue) Swap ¶ added in v0.10.4
func (vq PriorityQueue) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.