licensing

package
v0.0.0-...-34a2968 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSSLicensingService

type OSSLicensingService struct {
	Cfg          *setting.Cfg        `inject:""`
	HooksService *hooks.HooksService `inject:""`
}

func (*OSSLicensingService) Edition

func (*OSSLicensingService) Edition() string

func (*OSSLicensingService) Expiry

func (*OSSLicensingService) Expiry() int64

func (*OSSLicensingService) HasLicense

func (*OSSLicensingService) HasLicense() bool

func (*OSSLicensingService) HasValidLicense

func (*OSSLicensingService) HasValidLicense() bool

func (*OSSLicensingService) Init

func (l *OSSLicensingService) Init() error

func (*OSSLicensingService) LicenseURL

func (l *OSSLicensingService) LicenseURL(user *models.SignedInUser) string

func (*OSSLicensingService) StateInfo

func (*OSSLicensingService) StateInfo() string

func (*OSSLicensingService) TokenRaw

func (*OSSLicensingService) TokenRaw() string

Jump to

Keyboard shortcuts

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