Documentation
¶
Index ¶
- type PostgresStorage
- func (PostgresStorage) CaddyModule() caddy.ModuleInfo
- func (s *PostgresStorage) CertMagicStorage() (certmagic.Storage, error)
- func (s *PostgresStorage) Cleanup() error
- func (s *PostgresStorage) Delete(ctx context.Context, key string) error
- func (s *PostgresStorage) Exists(ctx context.Context, key string) bool
- func (s *PostgresStorage) List(ctx context.Context, path string, recursive bool) ([]string, error)
- func (s *PostgresStorage) Load(ctx context.Context, key string) ([]byte, error)
- func (s *PostgresStorage) Lock(ctx context.Context, name string) error
- func (s *PostgresStorage) Provision(ctx caddy.Context) error
- func (s *PostgresStorage) Stat(ctx context.Context, key string) (certmagic.KeyInfo, error)
- func (s *PostgresStorage) Store(ctx context.Context, key string, value []byte) error
- func (s *PostgresStorage) Unlock(ctx context.Context, name string) error
- func (s *PostgresStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresStorage ¶
type PostgresStorage struct { Dsn string `json:"dsn,omitempty"` DebugLocks bool `json:"debug_locks,omitempty"` // contains filtered or unexported fields }
func NewPostgresStorage ¶
func NewPostgresStorage() *PostgresStorage
func (PostgresStorage) CaddyModule ¶
func (PostgresStorage) CaddyModule() caddy.ModuleInfo
func (*PostgresStorage) CertMagicStorage ¶
func (s *PostgresStorage) CertMagicStorage() (certmagic.Storage, error)
func (*PostgresStorage) Cleanup ¶
func (s *PostgresStorage) Cleanup() error
func (*PostgresStorage) Delete ¶
func (s *PostgresStorage) Delete(ctx context.Context, key string) error
func (*PostgresStorage) Exists ¶
func (s *PostgresStorage) Exists(ctx context.Context, key string) bool
func (*PostgresStorage) Lock ¶
func (s *PostgresStorage) Lock(ctx context.Context, name string) error
func (*PostgresStorage) Provision ¶
func (s *PostgresStorage) Provision(ctx caddy.Context) error
func (*PostgresStorage) Unlock ¶
func (s *PostgresStorage) Unlock(ctx context.Context, name string) error
func (*PostgresStorage) UnmarshalCaddyfile ¶
func (s *PostgresStorage) UnmarshalCaddyfile(d *caddyfile.Dispenser) error
Click to show internal directories.
Click to hide internal directories.