boltdb

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoltDB

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

func Open

func Open(path string) (*BoltDB, error)

func (*BoltDB) AgentSources

func (db *BoltDB) AgentSources() storage.AgentSources

func (*BoltDB) Auth

func (db *BoltDB) Auth() storage.Auth

func (*BoltDB) Backup

func (db *BoltDB) Backup(w io.Writer) error

func (*BoltDB) Close

func (db *BoltDB) Close() error

func (*BoltDB) Servers

func (db *BoltDB) Servers() storage.Servers

func (*BoltDB) Users

func (db *BoltDB) Users() storage.Users

Directories

Path Synopsis
Package dump reads/writes awg-admin's boltdb as a portable JSON snapshot of every bucket's raw key/value pairs — the format shared by the in-app backup (Service.Backup / the desktop "Backup" button / the standalone GET /backup) and the standalone awg-migrate CLI, so a backup taken from one can be restored with the other.
Package dump reads/writes awg-admin's boltdb as a portable JSON snapshot of every bucket's raw key/value pairs — the format shared by the in-app backup (Service.Backup / the desktop "Backup" button / the standalone GET /backup) and the standalone awg-migrate CLI, so a backup taken from one can be restored with the other.

Jump to

Keyboard shortcuts

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