Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store hset
sess id key value
map[string]map[string]string
func NewStore ¶
func NewStore(client redis.Cmdable, opts ...StoreOption) *Store
type StoreOption ¶
type StoreOption func(store *Store)
Store option 模式
func StoreWithPrefix ¶
func StoreWithPrefix(prefix string) StoreOption
Click to show internal directories.
Click to hide internal directories.