Affected by GO-2022-1119
and 1 other vulnerabilities
GO-2022-1119: Tailscale daemon is vulnerable to information disclosure via CSRF in tailscale.com
GO-2022-1120: Tailscale Windows daemon is vulnerable to RCE via CSRF in tailscale.com
package
Version:
v1.28.0
Opens a new window with list of versions in this module.
Published: Jul 18, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package jsondb provides a trivial "database": a Go object saved to
disk as JSON.
type DB[T any] struct {
Data *T
}
DB is a database backed by a JSON file.
Open opens the database at path, creating it with a zero value if
necessary.
Save writes db.Data back to disk.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.