Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CartService ¶
type CartService struct { Store *securecookie.SecureCookie Secure bool }
CartService ...
func (*CartService) Get ¶
func (s *CartService) Get(w http.ResponseWriter, r *http.Request) (*shopy.Cart, error)
Get ...
func (*CartService) Save ¶
func (s *CartService) Save(w http.ResponseWriter, c *shopy.Cart) error
Save ...
type SessionService ¶
type SessionService struct { Store *securecookie.SecureCookie UserService shopy.UserService Secure bool }
SessionService ...
func (*SessionService) Get ¶
func (s *SessionService) Get(w http.ResponseWriter, r *http.Request) (*shopy.Session, error)
Get ...
func (*SessionService) Reset ¶
func (s *SessionService) Reset(w http.ResponseWriter) error
Reset ...
func (*SessionService) Save ¶
func (s *SessionService) Save(w http.ResponseWriter, sess *shopy.Session) error
Save ...
Click to show internal directories.
Click to hide internal directories.