datasafe

package
v0.0.0-...-825cbf4 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package datasafe contains some datasafes for WriterGo!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

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

func (*File) FlushAndClose

func (f *File) FlushAndClose()

func (*File) IsPermanent

func (*File) IsPermanent() bool

func (*File) LoadConfig

func (f *File) LoadConfig(data []byte) error

func (*File) LoadWriter

func (f *File) LoadWriter(key string) (string, error)

func (*File) SaveWriter

func (f *File) SaveWriter(key, data string) error

type Nil

type Nil struct{}

func (*Nil) FlushAndClose

func (*Nil) FlushAndClose()

func (*Nil) IsPermanent

func (*Nil) IsPermanent() bool

func (*Nil) LoadConfig

func (*Nil) LoadConfig(data []byte) error

func (*Nil) LoadWriter

func (*Nil) LoadWriter(key string) (string, error)

func (*Nil) SaveWriter

func (*Nil) SaveWriter(key, data string) error

Jump to

Keyboard shortcuts

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