version

package
v0.107.42 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package version contains AdGuard Home version information.

Index

Constants

View Source
const (
	ChannelDevelopment = "development"
	ChannelEdge        = "edge"
	ChannelBeta        = "beta"
	ChannelRelease     = "release"
)

Channel constants.

Variables

This section is empty.

Functions

func Channel

func Channel() (v string)

Channel returns the current AdGuard Home release channel.

func Full

func Full() (v string)

Full returns the full current version of AdGuard Home.

func GOARM

func GOARM() (v string)

GOARM returns the GOARM value used to build the current AdGuard Home release.

func GOMIPS

func GOMIPS() (v string)

GOMIPS returns the GOMIPS value used to build the current AdGuard Home release.

func Verbose added in v0.106.0

func Verbose() (v string)

Verbose returns formatted build information. Output example:

AdGuard Home
Version: v0.105.3
Channel: development
Go version: go1.15.3
Build time: 2021-03-30T16:26:08Z+0300
GOOS: darwin
GOARCH: amd64
Race: false
Main module:
        ...
Dependencies:
        ...

TODO(e.burkov): Make it write into passed io.Writer.

func Version

func Version() (v string)

Version returns the AdGuard Home build version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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