wile

package module
v0.0.0-...-a51408d Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptingCache

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

func NewEncryptingCache

func NewEncryptingCache(impl autocert.Cache, key []byte) (*EncryptingCache, error)

func (*EncryptingCache) Delete

func (e *EncryptingCache) Delete(ctx context.Context, key string) error

func (*EncryptingCache) Get

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

func (*EncryptingCache) Put

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

type EtcdCache

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

func NewEtcdCache

func NewEtcdCache(etcd *clientv3.Client, etcdPrefix string) *EtcdCache

func (*EtcdCache) Delete

func (e *EtcdCache) Delete(ctx context.Context, key string) error

func (*EtcdCache) Get

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

func (*EtcdCache) Put

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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