Skip to content

topicuskeyhub/go-keyhub

Repository files navigation

Build GitHub release (latest SemVer) License

go-keyhub - Topicus KeyHub API Client

Caution

DEPRECATED: please note that this package github.com/topicuskeyhub/go-keyhub has become deprecated in favor of github.com/topicuskeyhub/sdk-go

For more info see: https://github.com/topicuskeyhub/sdk-go/

How to use

See the examples directory for more complete examples.

go.mod:

require (
  github.com/topicuskeyhub/go-keyhub v1.3.2
)
import "github.com/topicuskeyhub/go-keyhub"

client, err := keyhub.NewClient(http.DefaultClient, issuer, clientid, clientsecret)
if err != nil {
    log.Fatalln("ERROR", err)
}

How to develop

  • Dependencies: go mod download
  • Code formatting: gofmt -s -w .