Documentation
¶
Index ¶
- Variables
- type DataStore
- func (d *DataStore) Delete(r *http.Request, key string) error
- func (d *DataStore) Get(r *http.Request, key string) (string, error)
- func (d *DataStore) GetMap(r *http.Request, key string) (map[string]string, error)
- func (d *DataStore) Keys() []string
- func (d *DataStore) Set(r *http.Request, key, value string) error
- func (d *DataStore) SetCache(r *http.Request, key, value string) error
- func (d *DataStore) SetCacheMap(r *http.Request, key string, data map[string]string) error
- func (d *DataStore) SetMap(r *http.Request, key string, data map[string]string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // NotMatchKey はキーにマッチする値が見つからなかった場合のエラーです。 NotMatchKey error )
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore struct {
// contains filtered or unexported fields
}
DataStore はデータを管理します。
func NewDataStore ¶
NewDataStore は DataStore を生成します。
func (*DataStore) SetCacheMap ¶
SetCacheMap はキーに対するマップを記録します。
Click to show internal directories.
Click to hide internal directories.