Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSessionIDFromResponse ¶
func DeleteSessionIDFromResponse(w http.ResponseWriter)
func GetSessionIDFromRequest ¶
func SetSessionIDToResponse ¶
func SetSessionIDToResponse(w http.ResponseWriter, id string)
Types ¶
type StoreOnMemory ¶
type StoreOnMemory struct {
// contains filtered or unexported fields
}
func NewStoreOnMemory ¶
func NewStoreOnMemory() *StoreOnMemory
func (*StoreOnMemory) Delete ¶
func (ss *StoreOnMemory) Delete(k string)
func (*StoreOnMemory) Get ¶
func (ss *StoreOnMemory) Get(k string) (interface{}, bool)
func (*StoreOnMemory) Set ¶
func (ss *StoreOnMemory) Set(k string, x interface{})
Click to show internal directories.
Click to hide internal directories.