Documentation ¶
Index ¶
Constants ¶
View Source
const ( //NotFoundError not found error NotFoundError = cacheError("key not found") //NilValueError nil pointer given NilValueError = cacheError("value pointer shouldn`t be nil") //CloseError cache is closed CloseError = cacheError("cache has been closed") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestItem ¶
type TestItem struct { ID string N uint32 Stat uint32 Published bool Deprecated *bool System uint32 Subsystem uint32 ParentID string Name string Name2 string Description string Description2 string CreatedBy uint32 UpdatedBy *uint32 List1 []uint32 List2 []uint32 }
TestItem some test type to test cache in different package
type TestValue ¶
type TestValue struct { ID string N uint32 Stat uint32 Published bool Deprecated *bool System uint32 Subsystem uint32 ParentID string Name string Name2 string Description string Description2 string CreatedBy uint32 UpdatedBy *uint32 List1 []uint32 List2 []uint32 Items []TestItem }
TestValue some test type
Click to show internal directories.
Click to hide internal directories.