Documentation
¶
Index ¶
- type GorillaAdapter
- func (ga *GorillaAdapter) GetFlashMessages(w http.ResponseWriter, r *http.Request) (string, string, error)
- func (ga *GorillaAdapter) SetErrorFlash(w http.ResponseWriter, r *http.Request, msg string) error
- func (ga *GorillaAdapter) SetSuccessFlash(w http.ResponseWriter, r *http.Request, msg string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GorillaAdapter ¶
type GorillaAdapter struct {
// contains filtered or unexported fields
}
func New ¶
func New(store sessions.Store) *GorillaAdapter
func (*GorillaAdapter) GetFlashMessages ¶
func (ga *GorillaAdapter) GetFlashMessages(w http.ResponseWriter, r *http.Request) (string, string, error)
func (*GorillaAdapter) SetErrorFlash ¶
func (ga *GorillaAdapter) SetErrorFlash(w http.ResponseWriter, r *http.Request, msg string) error
func (*GorillaAdapter) SetSuccessFlash ¶
func (ga *GorillaAdapter) SetSuccessFlash(w http.ResponseWriter, r *http.Request, msg string) error
Click to show internal directories.
Click to hide internal directories.