app

package
v0.0.0-...-05b8940 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppName  string = "dcrextdata"
	AppMajor uint   = 0
	AppMinor uint   = 1
	AppPatch uint   = 1
)

These constants define the application version and follow the semantic versioning 2.0.0 spec (http://semver.org/).

Variables

View Source
var (

	// ShutdownOps holds function that must be ran before shutdown
	ShutdownOps []func()
)

go build -v -o dcrextdata -ldflags "-X github.com/raedahgroup/dcrextdata/version.appPreRelease= -X github.com/raedahgroup/dcrextdata/version.appBuild=`git rev-parse --short HEAD`"

Functions

func MarkBusyIfFree

func MarkBusyIfFree() bool

MarkBusyIfFree checks if the busy flag is false and set it to true

func ReleaseForNewModule

func ReleaseForNewModule()

ReleaseForNewModule sets the busy flag to false to alow other modules to start running

func Version

func Version() string

Version returns the application version as a properly formed string per the semantic versioning 2.0.0 spec (http://semver.org/).

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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