Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { Get(ck *http.Cookie, pointer interface{}) error Save(res http.ResponseWriter, ck *http.Cookie, data interface{}) error Delete(res http.ResponseWriter, ck *http.Cookie) }
Example (AssertCookieStore) ¶
var cs interface{} = cookiestore.New("") if _, ok := cs.(Store); ok { fmt.Println("ok") }
Output: ok
Click to show internal directories.
Click to hide internal directories.