mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 11:20:27 -06:00
29687903f8
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
13 lines
321 B
Go
13 lines
321 B
Go
package models
|
|
|
|
type Licensing interface {
|
|
// HasValidLicense is true if a valid license exists
|
|
HasValidLicense() bool
|
|
|
|
// HasLicense is true if there is a license provided
|
|
HasLicense() bool
|
|
|
|
// Expiry returns the unix epoch timestamp when the license expires, or 0 if no valid license is provided
|
|
Expiry() int64
|
|
}
|