db

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(filename string)

Types

type Filesystem

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

Filesystem .

func DefaultFilesystem

func DefaultFilesystem() *Filesystem

DefaultFilesystem .

func (*Filesystem) Get

func (f *Filesystem) Get(id string) (filename string, allowed bool)

Get os sys filename

func (*Filesystem) List

func (f *Filesystem) List() (names []string, e error)

List return all logs filename

func (*Filesystem) Stat

func (f *Filesystem) Stat() (stat os.FileInfo, e error)

Stat return root directory stat

Jump to

Keyboard shortcuts

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