Documentation ¶
Index ¶
- type MemoryStore
- func (m *MemoryStore) AddAccount(acct *core.Account) (int, error)
- func (m *MemoryStore) AddAuthorization(authz *core.Authorization) (int, error)
- func (m *MemoryStore) AddCertificate(cert *core.Certificate) (int, error)
- func (m *MemoryStore) AddChallenge(chal *core.Challenge) (int, error)
- func (m *MemoryStore) AddOrder(order *core.Order) (int, error)
- func (m *MemoryStore) GetAccountByID(id string) *core.Account
- func (m *MemoryStore) GetAuthorizationByID(id string) *core.Authorization
- func (m *MemoryStore) GetCertificateByID(id string) *core.Certificate
- func (m *MemoryStore) GetChallengeByID(id string) *core.Challenge
- func (m *MemoryStore) GetOrderByID(id string) *core.Order
- func (m *MemoryStore) UpdateAccountByID(id string, acct *core.Account) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryStore ¶
Pebble keeps all of its various objects (accounts, orders, etc) in-memory, not persisted anywhere. MemoryStore implements this in-memory "database"
func NewMemoryStore ¶
func NewMemoryStore() *MemoryStore
func (*MemoryStore) AddAccount ¶
func (m *MemoryStore) AddAccount(acct *core.Account) (int, error)
func (*MemoryStore) AddAuthorization ¶
func (m *MemoryStore) AddAuthorization(authz *core.Authorization) (int, error)
func (*MemoryStore) AddCertificate ¶
func (m *MemoryStore) AddCertificate(cert *core.Certificate) (int, error)
func (*MemoryStore) AddChallenge ¶
func (m *MemoryStore) AddChallenge(chal *core.Challenge) (int, error)
func (*MemoryStore) GetAccountByID ¶
func (m *MemoryStore) GetAccountByID(id string) *core.Account
func (*MemoryStore) GetAuthorizationByID ¶
func (m *MemoryStore) GetAuthorizationByID(id string) *core.Authorization
func (*MemoryStore) GetCertificateByID ¶
func (m *MemoryStore) GetCertificateByID(id string) *core.Certificate
func (*MemoryStore) GetChallengeByID ¶
func (m *MemoryStore) GetChallengeByID(id string) *core.Challenge
func (*MemoryStore) GetOrderByID ¶
func (m *MemoryStore) GetOrderByID(id string) *core.Order
func (*MemoryStore) UpdateAccountByID ¶
func (m *MemoryStore) UpdateAccountByID(id string, acct *core.Account) error
Click to show internal directories.
Click to hide internal directories.