Documentation
¶
Index ¶
Constants ¶
View Source
const (
// StoreName is the name of the cookie store.
StoreName = "edgeagent_wallet"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jar ¶
type Jar interface {
Set(k interface{}, v interface{})
Get(k interface{}) (interface{}, bool)
Delete(k interface{})
Save(*http.Request, http.ResponseWriter) error
}
Jar is a container of cookies from a Jars.
type Jars ¶
type Jars struct {
// contains filtered or unexported fields
}
Jars is a collection of cookie Jars.
type MockJar ¶
type MockJar struct {
Cookies map[interface{}]interface{}
SaveErr error
}
MockJar is a mock Jar.
Click to show internal directories.
Click to hide internal directories.