settings

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

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

func NewSettings

func NewSettings() Settings

NewSettings generates new settings with a new salt etc.

func NewSettingsFromReader

func NewSettingsFromReader(r io.ReadCloser) (Settings, error)

func (Settings) Salt

func (s Settings) Salt() []byte

func (Settings) Write

func (s Settings) Write(w io.Writer) error

Jump to

Keyboard shortcuts

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