...

Package tester

import "github.com/gin-contrib/sessions/tester"
Overview
Index

Overview ▾

Package tester is a package to test each packages of session stores, such as cookie, redis, memcached, mongo, memstore. You can use this to test your own session stores.

func Clear

func Clear(t *testing.T, newStore storeFactory)

func DeleteKey

func DeleteKey(t *testing.T, newStore storeFactory)

func Flashes

func Flashes(t *testing.T, newStore storeFactory)

func GetSet

func GetSet(t *testing.T, newStore storeFactory)

func Many

func Many(t *testing.T, newStore storeFactory)

func Options

func Options(t *testing.T, newStore storeFactory)