constants

package
v1.8.12 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package constants contains variables that are set via ldflags during build.

Index

Constants

View Source
const VendorName = "protonmail"

Variables

View Source
var (
	// Version of the build.
	Version = ""

	// Revision is current hash of the build.
	Revision = ""

	// BuildTime stamp of the build.
	BuildTime = ""

	// DSNSentry client keys to be able to report crashes to Sentry.
	DSNSentry = ""

	// BuildVersion is derived from LongVersion and BuildTime.
	BuildVersion = fmt.Sprintf("%v (%v) %v", Version, Revision, BuildTime)
)

nolint[gochecknoglobals]

View Source
var (
	// UpdateCheckInterval defines how often we check for new version
	UpdateCheckInterval = time.Hour //nolint[gochecknoglobals]
)

nolint[gochecknoglobals]

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