filesystem

package
v0.0.0-...-86283f3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiskUsage

func DiskUsage(path string) (all, free, used uint64, err error)

Types

type Store

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

func NewStore

func NewStore(directory string) (*Store, error)

func (*Store) DeleteKV

func (s *Store) DeleteKV(key string) error

func (*Store) GetKV

func (s *Store) GetKV(key string) ([]byte, error)

func (*Store) LockCert

func (s *Store) LockCert(domain string, timeout time.Duration) (bool, error)

func (*Store) SetKV

func (s *Store) SetKV(key string, value []byte, expiration time.Duration) error

func (*Store) UnlockCert

func (s *Store) UnlockCert(domain string) error

Jump to

Keyboard shortcuts

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