license

package
v1.74.2 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2025 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotImplemented = errors.New("not implemented")

Functions

This section is empty.

Types

type Manager

type Manager interface {
	ValidateLicense() error
	GetToken() (string, error)
	InstallationID() string
}

type NopLicenseManager

type NopLicenseManager struct {
}

NopLicenseManager is a No-Operation implementation of license manager i.e. does not actually check license restrictions

func (*NopLicenseManager) GetToken

func (n *NopLicenseManager) GetToken() (string, error)

func (*NopLicenseManager) InstallationID

func (n *NopLicenseManager) InstallationID() string

func (*NopLicenseManager) ValidateLicense

func (n *NopLicenseManager) ValidateLicense() error

Jump to

Keyboard shortcuts

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