Documentation ¶
Index ¶
- type ScsAdapter
- func (sa *ScsAdapter) GetFlashMessages(w http.ResponseWriter, r *http.Request) (e string, s string, err error)
- func (sa *ScsAdapter) SetErrorFlash(w http.ResponseWriter, r *http.Request, msg string) error
- func (sa *ScsAdapter) 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 ScsAdapter ¶
type ScsAdapter struct {
// contains filtered or unexported fields
}
func New ¶
func New(sessionManager *scs.SessionManager) *ScsAdapter
func (*ScsAdapter) GetFlashMessages ¶
func (sa *ScsAdapter) GetFlashMessages(w http.ResponseWriter, r *http.Request) (e string, s string, err error)
func (*ScsAdapter) SetErrorFlash ¶
func (sa *ScsAdapter) SetErrorFlash(w http.ResponseWriter, r *http.Request, msg string) error
func (*ScsAdapter) SetSuccessFlash ¶
func (sa *ScsAdapter) SetSuccessFlash(w http.ResponseWriter, r *http.Request, msg string) error
Click to show internal directories.
Click to hide internal directories.