encrypt

package module
v0.0.0-...-45f8d40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2019 License: MIT Imports: 10 Imported by: 1

README

encrypt-autocert-cache

Encryption layer for cert cache for golang.org/x/crypto/acme/autocert

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptedCache

type EncryptedCache struct {
	// contains filtered or unexported fields
}

func NewEncryptedCache

func NewEncryptedCache(backendCache autocert.Cache, key []byte) (*EncryptedCache, error)

func (*EncryptedCache) Delete

func (c *EncryptedCache) Delete(ctx context.Context, key string) error

func (*EncryptedCache) Get

func (c *EncryptedCache) Get(ctx context.Context, key string) ([]byte, error)

func (*EncryptedCache) Put

func (c *EncryptedCache) Put(ctx context.Context, key string, data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL