Versions in this module Expand all Collapse all v0 v0.4.1 Jul 9, 2019 v0.4.0 Jun 20, 2019 Changes in this version + const ASCDIRECT + const DESCDIRECT + const PAGENUM + const PAGESIZE + const SORTDIRECT + const SORTKEY + func GetPageValues(metaSlice []interface{}, pageNum, pageSize int, less func(i, j int) bool) []interface + func IsDESC(str string) bool + func ValidateFilter(pageFilter *PageFilter, sortKeyMap map[string]bool) error + type PageFilter struct + PageNum int + PageSize int + SortDirect string + SortKey []string + func ParseFilter(req *http.Request, sortKeyMap map[string]bool) (pageFilter *PageFilter, err error) + type Store struct + func NewStore() *Store + func (s *Store) Delete(key string) error + func (s *Store) Get(key string) (interface{}, error) + func (s *Store) List() []interface{} + func (s *Store) Put(key string, value interface{}) error