consts

package
v0.5.6 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package consts defines the constants used by the project

Index

Constants

View Source
const (
	// DefaultLogLevel is the default logging level selected without any option.
	DefaultLogLevel = log.NoticeLevel

	// DefaultSocketPath is the default socket path.
	DefaultSocketPath = "/run/authd.sock"

	// DefaultBrokersConfPath is the default configuration directory for the brokers.
	DefaultBrokersConfPath = "/etc/authd/brokers.d/"

	// OldDBDir is the directory where the database was stored by default before 0.3.7.
	OldDBDir = "/var/cache/authd/"

	// DefaultDatabaseDir is the default directory for the database.
	DefaultDatabaseDir = "/var/lib/authd/"

	// DefaultDatabaseFileName is the default file name for the database.
	DefaultDatabaseFileName = "authd.sqlite3"

	// ServiceName is the authd service name for health check purposes.
	ServiceName = "com.ubuntu.authd"
)

Variables

View Source
var (
	// Version is the version of the executable.
	Version = "Dev"
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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