keycode

package
v4.2.283+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Detail

type Detail struct {
	Keycode        string
	KeycodeType    string
	KeycodeVersion int32
	ApplyTime      *time.Time
	ExpireTime     *time.Time
	LicenseState   string
	Registered     bool
}

Detail includes keycode informations

func (Detail) Summary

func (d Detail) Summary() string

Summary returns keycode summary

type Interface

type Interface interface {
	SendKeycode(string) error
	SendSignatureData(string) error
	GetRegistrationData() (string, error)
	GetKeycodeDetail(string) (Detail, error)
	ListKeycodes() ([]Detail, error)
	DeleteKeycode(string) error
}

Interface defines keycode repository interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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