encrypt

package module
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 13 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

type Listener added in v0.1.2

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

func NewListener added in v0.1.2

func NewListener(conf *tls.Config, tcpListener net.Listener) (*Listener, error)

func (*Listener) Accept added in v0.1.2

func (ln *Listener) Accept() (net.Conn, error)

func (*Listener) Addr added in v0.1.2

func (ln *Listener) Addr() net.Addr

func (*Listener) Close added in v0.1.2

func (ln *Listener) Close() error

Jump to

Keyboard shortcuts

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