index

package
v0.0.0-...-4a26633 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2018 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterIndexTable

type CharacterIndexTable struct {
	IndexTable map[string][]*list.Element
	Len        int
}

func NewCharacterIndexTable

func NewCharacterIndexTable() CharacterIndexTable

为每一个字符建立内存索引库

func (*CharacterIndexTable) Exsit

func (ct *CharacterIndexTable) Exsit(k string) (ok bool)

func (*CharacterIndexTable) ItemPop

func (ct *CharacterIndexTable) ItemPop(k string) (elem []*list.Element)

func (*CharacterIndexTable) ItemPush

func (ct *CharacterIndexTable) ItemPush(k string, v *list.Element)

type ContentCacheTable

type ContentCacheTable struct {
	Cache *list.List
}

建立内存缓存库

func NewContentCacheable

func NewContentCacheable() ContentCacheTable

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL