Categorygithub.com/OSMeteor/enigma-go
modulepackage
1.0.1
Repository: https://github.com/osmeteor/enigma-go.git
Documentation: pkg.go.dev

# README

CircleCI Go Report Card Latest Version

enigma-go is a library that helps you communicate with a Qlik Associative Engine. Examples of use may be building your own analytics tools, back-end services, or other tools communicating with a Qlik Associative Engine. As an example Qlik Core provides an easy way to get started.



Installation

go get -u github.com/qlik-oss/enigma-go

Getting started

Connecting to a Qlik Associative Engine (e.g Qlik Core) and interacting with a document/app involves at least the following steps:

  1. Create and set up a Dialer object with TLS configuration, etc.

  2. Open a WebSocket to the Qlik Associative Engine using the Dial function in the Dialer.

  3. Open or create a document/app using openDoc or createApp.

Refer to the examples section for more information.

Schemas

enigma-go includes generated API code that is based on the latest available Qlik Associative Engine schema. When a new schema is available, a new version of enigma-go will be made available.

Release

To release a new version of enigma-go you have to be on the master branch. From there you can run the release.sh script. The usage is:

./release.sh <major|minor|patch>

where the argument specifies what should be bumped. The release-script does a couple of things.

  1. Creates a new version based on previous version-tag (if any, otherwise 0.0.0) and suffixes it with the QIX schema version as metadata. For example bumping minor when there are no previous tags will result in the version 0.1.0+12.429.0.
  2. Generates a new API specification using the new version.
  3. Adds the resulting api-spec.json file to a commit with the message Release: <version> for QIX schema version <qix_version>.
  4. Creates a tag containing the version with the same message as in step 3.
  5. Afterwards, adds another commit bumping the api-spec.json to latest again.

After the script has run, check the results. If everything looks good run:

git push --follow-tags

to push the tag and commit to master. The release-script also checks if the local repo is in a pristine state: no untracked files or uncommitted change and, you have to be up-to-date with the latest changes on master.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewMockSocket creates a new MockSocket instance.
WithMetricsCollector provides a new context with the a MetricsCollector that records performance metrics for invocations.

# Constants

Version of the schema used to generate the enigma.go QIX API.

# Structs

Deprecated: This will be removed in a future version.
No description provided by the author
No description provided by the author
Lists the app objects.
Defines the list of objects in an app.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Defines the range of the bookmark fields that are returned.
Lists the bookmarks.
Defines the list of bookmarks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Lists the children of a generic object.
Defines the list of children of a generic object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Lists the dimensions.
Defines the lists of dimensions.
No description provided by the author
No description provided by the author
Parameters for a reload.
The result and path to script log for a reload.
No description provided by the author
No description provided by the author
Renders the embedded snapshot in an object.
Defines the embedded snapshot in a generic object.
No description provided by the author
Obsolete, use qrs API's to fetch extensions.
Obsolete, use qrs API's to fetch extensions.
This class describes all the methods that apply at field level.
Sets the formatting of a field.
No description provided by the author
No description provided by the author
No description provided by the author
Lists the fields present in the data model viewer.
Defines the fields to show.
No description provided by the author
No description provided by the author
No description provided by the author
FileType: Recognized file formats are: • CSV for Delimited • FIX for Fixed Record • DIF for Data Interchange Format • EXCELBIFF_ for Microsoft Excel (XLS) • EXCELOOXML_ for Microsoft Excel (XLSX) • HTML for HTML • QVD for QVD file • XML for XML • QVX for QVX file • JSON for JSON format • KML for KML file.
No description provided by the author
No description provided by the author
No description provided by the author
This class describes all the methods that apply at bookmark level.
No description provided by the author
Is the layout for GenericBookmarkProperties.
No description provided by the author
This class describes all the methods that apply at dimension level.
No description provided by the author
Is the layout for GenericDimensionProperties.
No description provided by the author
This class describes all the methods that apply at measure level.
Is the layout for GenericMeasureProperties.
No description provided by the author
This class describes all the methods that apply at generic object level.
No description provided by the author
Is the layout for GenericObjectProperties.
No description provided by the author
This class describes all the methods that apply at generic variable level.
Is the layout for GenericVariableProperties.
No description provided by the author
No description provided by the author
Renders the properties of a hypercube.
Defines the properties of a hypercube.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Contains JSON to be excluded from validation.
Meta data about the selection in a field.
No description provided by the author
Renders the properties of a list object.
Defines the properties of a list object.
No description provided by the author
Lists the measures.
Defines the list of measures.
Lists the media files.
Defines the list of media files.
In addition, this structure can return dynamic properties.
No description provided by the author
No description provided by the author
Qlik Sense Desktop: In Qlik Sense Desktop, this structure can contain dynamic properties.
Qlik Sense Desktop: In Qlik Sense Desktop, this structure can contain dynamic properties.
Layout for NxAttrDimDef.
Layout for NxAttrDimDef.
No description provided by the author
Layout for NxAttrExprDef.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Either qDef or qLibraryId must be set, but not both.
No description provided by the author
No description provided by the author
NxDerivedFieldsdata: +------------------------+--------------------------------+------------------------+ | NAME | DESCRIPTION | TYPE | +------------------------+--------------------------------+------------------------+ | qDerivedDefinitionName | Name of the derived | String | | | definition.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Information about the library measure.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Either qDef or qLibraryId must be set, but not both.
Layout for NxInlineMeasureDef.
Layout for NxMetaDef.
Used to collect meta data.
No description provided by the author
No description provided by the author
No description provided by the author
Defines an area of the tree to be fetched.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This struct is deprecated (not recommended to use).
No description provided by the author
Specifies all the paging filters needed to define the tree to be fetched.
Stability: experimental.
Stability: experimental.
Stability: experimental.
Represents a dimension in the tree.
Stability: experimental.
Represents a measure.
No description provided by the author
No description provided by the author
Deprecated: This will be removed in a future version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: This will be removed in a future version.
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: This will be removed in a future version.
Deprecated: This will be removed in a future version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: This will be removed in a future version.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: This will be removed in a future version.
No description provided by the author
Indicates which selections are currently applied.
To display the current selections.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
In addition, this structure can return dynamic properties.
In addition, this structure can return dynamic properties.
In addition, this structure can contain dynamic properties.
No description provided by the author
Properties: Abbreviated syntax: "qStringExpression":"=<expression>" Extended object syntax: "qStringExpression":{"qExpr":"=<expression>"} Where: • < expression > is a string The "=" sign in the string expression is not mandatory.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Renders the properties of a TreeData object.
Defines the properties of a TreeData object.
Displays information about the number of possible undos and redos.
Defines if an object should contain information on the number of possible undo and redo.
No description provided by the author
Properties: Abbreviated syntax: "qValueExpression":"=<expression>" Extended object syntax: "qValueExpression":{"qExpr":"=<expression>"} Where: • < expression > is a string.
This class describes all the methods that apply at variable level.
Lists the variables in an app.
Defines the list of variables in an app.

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
Float64 is an enigma-go equivalent of float64 which adds support for the Qlik Associative Engine specific way of marshalling and unmarshalling "Infinity", "-Infinity" and "NaN" as json strings.It can always safely be typecasted to plain float64 including these special cases.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author