Documentation ¶
Index ¶
Constants ¶
View Source
const (
InitPlusLicenseCapabilityEx = "InitPlusLicenseCapabilityEx"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Capability ¶
type Capability struct { Provider CapabilityEx Config *Config *logger.Logger }
func (*Capability) GetConfigValidator ¶
func (cap *Capability) GetConfigValidator() (v validator.Validator)
func (*Capability) GetInitFuncName ¶
func (cap *Capability) GetInitFuncName() (name string)
func (*Capability) GetLicenseCapabilityEx ¶
func (cap *Capability) GetLicenseCapabilityEx() (capEx CapabilityEx)
func (*Capability) InitProvider ¶
func (cap *Capability) InitProvider(sym plugin.Symbol)
type CapabilityEx ¶
type CapabilityEx interface { SetLicenseInfoAvailableNotifier(notifyFn LicenseInfoAvailableNotifier) LicenseInfoAvailable() (avail bool) IsTrialMode() (isTrial bool) GetLicenseInfo() (licenseInfo *PlusLicenseInfo) GetMaxClients() (maxClients int) GetMaxUsers() (maxUsers int) }
type LicenseInfoAvailableNotifier ¶
type LicenseInfoAvailableNotifier func()
type PlusLicenseInfo ¶
Click to show internal directories.
Click to hide internal directories.