license

package
v0.38.0-rc7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsEE

func IsEE() bool

IsEE returns true if a license is detected.

func RequireLicense

func RequireLicense(resource string)

RequireLicense panics if no licenseKey or an invalid licenseKey is used.

func SetLicenseAndKey

func SetLicenseAndKey(newLicenseKey, newPublicKey string)

SetLicenseAndKey populates the license key and public key used for EE license checks. This is primarily useful for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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