filestorage

package
v0.0.0-...-bd184db Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File *os.File
View Source
var FileName = "data.dat"

Functions

func GetCach

func GetCach(typeName string) []string

func InserData

func InserData(data Filestorage)

func ListCach

func ListCach() map[string][]string

func NewFileStorage

func NewFileStorage()

func Run

func Run(stopCh <-chan struct{}) error

func WriteToData

func WriteToData(value Filestorage)

Types

type Filestorage

type Filestorage struct {
	TypeName string
	Data     []byte
}

Jump to

Keyboard shortcuts

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