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/
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)
}
- Dependencies:
go mod download
- Code formatting:
gofmt -s -w .