Versions in this module Expand all Collapse all v0 v0.6.1 Oct 4, 2022 Changes in this version + var MemUser1 = gotuna.InMemoryUser + var MemUser2 = gotuna.InMemoryUser + func NewStubTemplatingEngine(template string) gotuna.TemplatingEngine + func NewUserRepositoryStub() gotuna.UserRepository + type FilesystemStub struct + func NewFileSystemStub(files map[string][]byte) *FilesystemStub + func (f *FilesystemStub) Open(name string) (fs.File, error) + type StoreSpy struct + GetCalls int + NewCalls int + SaveCalls int + Session *sessions.Session + func NewGorillaSessionStoreSpy(userID string) *StoreSpy + func (spy *StoreSpy) Get(r *http.Request, name string) (*sessions.Session, error) + func (spy *StoreSpy) New(r *http.Request, name string) (*sessions.Session, error) + func (spy *StoreSpy) Save(r *http.Request, w http.ResponseWriter, s *sessions.Session) error