scsadapter

package module
v0.0.0-...-9de061c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL