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.
Click to show internal directories.
Click to hide internal directories.