license

package
v0.0.0-...-e652847 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayLicenseOnStart

func DisplayLicenseOnStart() bool

DisplayLicenseOnStart display the license at program start returns true if the binary has a usage license

func License

func License() string

License returns the binary license if any

func SendExpirationError

func SendExpirationError(logger xbus.Logger)

SendExpirationError send an error to the logger if the license has expired

func SetupCmd

func SetupCmd(rootCmd *cobra.Command)

SetupCmd adds a 'license' command if applicable

func SetupLicenseWatcher

func SetupLicenseWatcher(logger xbus.Logger)

SetupLicenseWatcher spawn a routine that will emit an error every 15 minutes if the license has expired

Types

This section is empty.

Jump to

Keyboard shortcuts

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