Documentation
¶
Overview ¶
Package customfields handles interacting with custom fields that you add to your licenses. These are miscellaneous fields not hard-coded by this app that are stored in the license file and are defined by a user for an app and values are chosen/provided when a license is created. These fields allow for storing data such as max user count, flags for enabling certain features, support information, or really anthing in the license file. The data stored in these fields is part of the signed data in the license so they cannot be editted by the end-user of your app for which the license is for.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteDefined ¶
func DeleteDefined(w http.ResponseWriter, r *http.Request)
DeleteDefined marks a custom field as inactive. The field will no longer be available when creating a license. The field will still be displayed when viewing already created licenses.
func GetDefined ¶
func GetDefined(w http.ResponseWriter, r *http.Request)
GetDefined returns the list of fields for an app. You can optionally filter by active fields only.
func GetResults ¶
func GetResults(w http.ResponseWriter, r *http.Request)
GetResults looks up the custom field values saved for a license.
Types ¶
This section is empty.