Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + var HistoryCache = tmap.NewSafeMap() + func AddItem(key string, val *cmodel.GraphItem) + func GetAllItems(key string) []*cmodel.GraphItem + func GetLastItem(key string) *cmodel.GraphItem + type GraphItemMap struct + A []map[string]*SafeLinkedList + Size int + var GraphItems *GraphItemMap + func (this *GraphItemMap) Back(key string) *cmodel.GraphItem + func (this *GraphItemMap) FetchAll(key string) ([]*cmodel.GraphItem, uint32) + func (this *GraphItemMap) First(key string) *cmodel.GraphItem + func (this *GraphItemMap) Get(key string) (*SafeLinkedList, bool) + func (this *GraphItemMap) GetFlag(key string) (uint32, error) + func (this *GraphItemMap) Getitems(idx int) map[string]*SafeLinkedList + func (this *GraphItemMap) ItemCnt(key string) int + func (this *GraphItemMap) KeysByIndex(idx int) []string + func (this *GraphItemMap) Len() int + func (this *GraphItemMap) PopAll(key string) []*cmodel.GraphItem + func (this *GraphItemMap) PushAll(key string, items []*cmodel.GraphItem) error + func (this *GraphItemMap) PushFront(key string, item *cmodel.GraphItem, md5 string, cfg *g.GlobalConfig) + func (this *GraphItemMap) Remove(key string) bool + func (this *GraphItemMap) Set(key string, val *SafeLinkedList) + func (this *GraphItemMap) SetFlag(key string, flag uint32) error + type SafeLinkedList struct + Flag uint32 + L *list.List + func NewSafeLinkedList() *SafeLinkedList + func (this *SafeLinkedList) Back() *list.Element + func (this *SafeLinkedList) FetchAll() ([]*cmodel.GraphItem, uint32) + func (this *SafeLinkedList) Front() *list.Element + func (this *SafeLinkedList) Len() int + func (this *SafeLinkedList) PopAll() []*cmodel.GraphItem + func (this *SafeLinkedList) PopBack() *list.Element + func (this *SafeLinkedList) PushAll(items []*cmodel.GraphItem) + func (this *SafeLinkedList) PushFront(v interface{}) *list.Element