wkfscache

package module
v0.0.0-...-573c67f Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2017 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache string

func (Cache) Delete

func (d Cache) Delete(ctx context.Context, name string) error

Delete removes the specified file name.

func (Cache) Get

func (d Cache) Get(ctx context.Context, name string) ([]byte, error)

Get reads a certificate data from the specified file name.

func (Cache) Put

func (d Cache) Put(ctx context.Context, name string, data []byte) error

Put writes the certificate data to the specified file name. The file will be created with 0600 permissions.

Jump to

Keyboard shortcuts

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