Documentation ¶
Overview ¶
Package s3cache implements an autocert.Cache to store certificate data within an AWS S3 bucket.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct { // Prefix is used to prefix every objects key cached in s3. Prefix string // Logger is used for debug logging. Logger Logger // contains filtered or unexported fields }
Cache provides a s3 backend to the autocert cache.
func New ¶
New creates an s3 instance that can be used with autocert.Cache. It returns any errors that could happen while connecting to S3.
func NewWithProvider ¶
func NewWithProvider(p client.ConfigProvider, bucket string) (*Cache, error)
NewWithProvider creates a new s3 autocert.Cache from a client.ConfigProvider.
Click to show internal directories.
Click to hide internal directories.