state

package
v0.0.0-...-5e1dec6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package state exists to provide a simple way of referring to the directory beneath which we store state:

1. The location of the configuration-file.

2. The location of the BoltDB database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Directory

func Directory() string

Directory returns the path to a directory which can be used for storing state.

NOTE: This directory might not necessarily exist, we're just returning the prefix directory that should/would be used for persistent files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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