gorillaadapter

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 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

Jump to

Keyboard shortcuts

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