Versions in this module Expand all Collapse all v0 v0.9.1 Aug 17, 2016 v0.9.0 Jul 19, 2016 Changes in this version + func InMemoryStorageCreator(caURL *url.URL) (caddytls.Storage, error) + type InMemoryStorage struct + LastUserEmail string + Sites map[string]*caddytls.SiteData + Users map[string]*caddytls.UserData + func NewInMemoryStorage() *InMemoryStorage + func (s *InMemoryStorage) Clear() + func (s *InMemoryStorage) DeleteSite(domain string) error + func (s *InMemoryStorage) LoadSite(domain string) (*caddytls.SiteData, error) + func (s *InMemoryStorage) LoadUser(email string) (*caddytls.UserData, error) + func (s *InMemoryStorage) LockRegister(domain string) (bool, error) + func (s *InMemoryStorage) MostRecentUserEmail() string + func (s *InMemoryStorage) SiteExists(domain string) bool + func (s *InMemoryStorage) StoreSite(domain string, data *caddytls.SiteData) error + func (s *InMemoryStorage) StoreUser(email string, data *caddytls.UserData) error + func (s *InMemoryStorage) UnlockRegister(domain string) error + type StorageTest struct + AfterUserEmailStore func(email string) error + PostTest func() + PreTest func() error + func (s *StorageTest) AllFuncs() []TestFunc + func (s *StorageTest) Test(t *testing.T, eagerFail bool) + func (s *StorageTest) TestAll(eagerFail bool) (errs []error) + func (s *StorageTest) TestMostRecentUserEmail() error + func (s *StorageTest) TestSite() error + func (s *StorageTest) TestSiteExists() error + func (s *StorageTest) TestUser() error + type TestFunc struct + Fn func() error + Name string