license

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: LGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilePath

func FilePath() (string, error)

func HandleGetFingerprint1

func HandleGetFingerprint1(w http.ResponseWriter, r *http.Request)

func HandleGetLicense1

func HandleGetLicense1(w http.ResponseWriter, r *http.Request)

func HandlePutLicense1

func HandlePutLicense1(w http.ResponseWriter, r *http.Request)

Types

type License added in v1.0.5

type License struct {
	Status        int    `json:"status"`
	Fingerprint   string `json:"fingerprint"`
	IsForever     bool   `json:"isForever"`
	ValidDatetime string `json:"validDatetime"`
	ValidDuration int    `json:"validDuration"`
}

func GetLicense added in v1.0.5

func GetLicense() (License, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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