licensing

package
v1.6.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseManager

type LicenseManager struct {
	// contains filtered or unexported fields
}

LicenseManager handles license management and validation for the node

func NewLicenseManager

func NewLicenseManager(config *types.License) (*LicenseManager, error)

NewLicenseManager creates and initializes a new LicenseManager

func (*LicenseManager) License

func (l *LicenseManager) License() *license.LicenseClaims

License validates the current license token and returns the license claims and if it is expired

Jump to

Keyboard shortcuts

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