Documentation ¶
Index ¶
- type MemoryStore
- func (s *MemoryStore) Del(id string) bool
- func (s *MemoryStore) Get(id string, clear bool) (value interface{}, err error)
- func (s *MemoryStore) GetString(id string) (value string, err error)
- func (s *MemoryStore) GetUint(id string) (value uint, err error)
- func (s *MemoryStore) Set(id string, value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStore ¶ added in v2.1.5
memoryStore is an internal store for captcha ids and their values.
func (*MemoryStore) Del ¶ added in v2.1.5
func (s *MemoryStore) Del(id string) bool
func (*MemoryStore) Get ¶ added in v2.1.5
func (s *MemoryStore) Get(id string, clear bool) (value interface{}, err error)
func (*MemoryStore) GetString ¶ added in v2.1.5
func (s *MemoryStore) GetString(id string) (value string, err error)
func (*MemoryStore) GetUint ¶ added in v2.1.5
func (s *MemoryStore) GetUint(id string) (value uint, err error)
func (*MemoryStore) Set ¶ added in v2.1.5
func (s *MemoryStore) Set(id string, value interface{})
Click to show internal directories.
Click to hide internal directories.