EYMINT
DocumentationAPI Reference
BlogDashboard
EYMINT
SectionsDocumentationAPI Reference
Go to Dashboard

For AI agents: the documentation index is at /llms.txt. Every docs page is also available as markdown by adding .md to its URL.

Getting Started

  • Keymint Documentation
  • Introduction
  • Getting Started
  • License Keys
  • Changelog

SDK References

  • Software Development Kits (SDKs)
  • Node.js SDK
  • Go SDK
  • Python SDK
  • C# SDK

Integration Guides

  • Integration Guides
  • Customer Portal for Vendors
  • Roles & Permissions
  • Radar Alert Destinations
  • Payment Provider Integrations
  • Stripe Subscription Licensing
  • Import Existing License Keys
  • Email Delivery
  • API Key Management
  • Webhook Deliveries
  • Analytics and Retention
  • Dashboard Workflows
  • Electron Licensing
  • PyQt Licensing
  • Tauri Licensing
  • Next.js SaaS Licensing

Licensing Guides

  • Licensing Concepts
  • Node-Locking & Machine Identifiers
  • Floating Licenses
  • Offline Verification
  • License Radar
  • Public Key Management and Rotation
  • Feature Flags
  • Webhooks & Events

Templates

  • Starter Templates
  • Electron License Starter
  • PyQt License Starter
  • Tauri License Starter
  • Next.js SaaS License Starter

Security & Trust

  • Security & Trust

Support

  • Frequently Asked Questions
  • Customer Portal
  • Using the Customer Portal
  • Workspace Settings and Roles

Legal

  • Privacy Policy
  • Subprocessors
  • Data Processing Agreement
  • Security Overview
  • Terms of Service
  • Service Level Agreement (SLA)
  • GDPR Compliance

Go SDK

Official Go SDK for Keymint. Add idiomatic software licensing, machine binding, and floating session heartbeats to your Go applications.

Installation

bash
go get github.com/keymint-dev/keymint-go

Quick Start

go
package main

import (
    "fmt"
    keymint "github.com/keymint-dev/keymint-go"
)

func main() {
    admin, err := keymint.New("YOUR_ADMIN_API_KEY", "")
    if err != nil {
        panic(err)
    }
    client, err := keymint.New("YOUR_CLIENT_API_KEY", "")
    if err != nil {
        panic(err)
    }

    // Create a key with allowed hosts (Node-locking)
    newKey, err := admin.CreateKey(keymint.CreateKeyParams{
        ProductID:    "YOUR_PRODUCT_ID",
        AllowedHosts: []string{"machine-a", "machine-b"},
    })

    // Activate a license
    result, err := client.ActivateKey(keymint.ActivateKeyParams{
        ProductID:  "YOUR_PRODUCT_ID",
        LicenseKey: "XXXXX-XXXXX-XXXXX-XXXXX",
        HostID:     keymint.String("machine-a"),
    })
    if err != nil {
        panic(err)
    }

    fmt.Println(result.Message) // "License valid"
}

Use client keys for activation/deactivation/floating sessions. Use admin keys for create/update/block/unblock/sign/delete and customer management. Use read-only or admin keys for detailed key lookup. Any key carrying the matching grant (license:activate, license:manage, license:sign, license:delete, license:read, customer:read/write) works on any scope — see key permissions in the dashboard.

Resources

  • GitHub Repository
  • API Reference

On this page

  • Installation
  • Quick Start
  • Resources