Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBlockNotExists = errors.New("no such block in the work pool")
)
Functions ¶
This section is empty.
Types ¶
type ExpirableMap ¶
type ExpirableMap struct {
// contains filtered or unexported fields
}
func NewExpirableMap ¶
func (*ExpirableMap) Get ¶
func (m *ExpirableMap) Get(k string) (v interface{}, ok bool)
func (*ExpirableMap) Len ¶
func (m *ExpirableMap) Len() int
func (*ExpirableMap) Put ¶
func (m *ExpirableMap) Put(k string, v interface{})
Click to show internal directories.
Click to hide internal directories.