google_license_manager

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2021 License: MIT Imports: 20 Imported by: 0

README

google-license-manager

Assign licenses for Google Workspace Subscriptions

Documents are available in Traditional Chinese

Simple startup program

package main

import "github.com/linuzilla/google-license-manager"

func main() {
	google_license_manager.Main()
}

Simple configuration (application.yml)

name: Google License Manager

# log-level: debug, notice, warning, error, fatal
log-level: notice
database-file: licenses-users.db

#  Google Product and SKU IDs
#  https://developers.google.com/admin-sdk/licensing/v1/how-tos/products
google:
  domain: "example.com"
  admin: "admin@example.com"
  customer-id: "customer-id
  product-id: "101037"
  product-sku-id: "1010370001"
  credential-file: credential.json
  scopes:
    - "https://www.googleapis.com/auth/apps.licensing"
    - "https://www.googleapis.com/auth/admin.directory.user.readonly"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

This section is empty.

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

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