Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CookieStore ¶ added in v2.1.0
type CookieStore struct {
CookieName string
DomainName string
Cookies []*http.Cookie
CookieToSet *http.Cookie
// contains filtered or unexported fields
}
func NewCookieStore ¶ added in v2.1.0
func NewCookieStore(hashKey, blockKey, domainName, cookieName string, isSecure bool) *CookieStore
func (*CookieStore) Delete ¶ added in v2.1.0
func (s *CookieStore) Delete(state string) error
type GocialStore ¶
type GocialStore interface {
Save(state string, gocial []byte) error
Get(state string) ([]byte, error)
Delete(state string) error
}
func NewMemoryStore ¶
func NewMemoryStore() GocialStore
NewMemoryStore returns a poitner of memory Gocial instance store
Click to show internal directories.
Click to hide internal directories.