files

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2022 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFile

func NewFile(dirPath string, logger log.Logger) store.File

Types

type File

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

func (*File) Delete

func (f *File) Delete(id string) error

func (*File) InsertCERT

func (f *File) InsertCERT(id string, data []byte) error

func (*File) InsertCERTReenroll

func (f *File) InsertCERTReenroll(id string, data []byte) error

func (*File) InsertCSR

func (f *File) InsertCSR(id string, data []byte) error

func (*File) InsertKEY

func (f *File) InsertKEY(id string, data []byte) error

func (*File) SelectByID

func (f *File) SelectByID(id string) ([]byte, error)

Jump to

Keyboard shortcuts

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