Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchGet ¶
func BatchGet(h HashInterface, d map[string]string)
func BatchPut ¶
func BatchPut(h HashInterface, d map[string]string)
Types ¶
type HashInterface ¶
type LinkReHash ¶
func NewLinkReHash ¶
func NewLinkReHash(cap int) *LinkReHash
func (*LinkReHash) Get ¶
func (lh *LinkReHash) Get(key string) string
func (*LinkReHash) Put ¶
func (lh *LinkReHash) Put(key string, value string)
type OpenAddrHash ¶
type OpenAddrHash struct {
List []KeyValue
}
func NewOpenAddrHash ¶
func NewOpenAddrHash(cap int) *OpenAddrHash
func (*OpenAddrHash) Get ¶
func (h *OpenAddrHash) Get(key string) string
func (*OpenAddrHash) Put ¶
func (h *OpenAddrHash) Put(key string, value string)
Click to show internal directories.
Click to hide internal directories.