Back to top
Vastuu Group

Go Library for connectors

Version: 1.0
Last updated: July 14, 2020
|
Reading time: 1 min

Get it now

Platform of Trust has got its first ever code library, thanks to our partner Holda Technologies Oy. Holda Technology has implemented Go library which aids to create connector component in Platform of Trust using the Go programming language

This includes associated middleware and request signing helper functions to the library.

Get the library by executing the following command in shell:

go get -u github.com/holdatech/gopot/v2

Usage

package main

import (
	"fmt"

	"github.com/holdatech/gopot/v2"
)

func main() {
	secret := []byte("secret123")

	payload := struct {
		Hello string `json:"hello"`
	}{
		Hello: "World",
	}

	signature, err := gopot.CreateSignature(payload, secret)
	if err != nil {
		panic(err)
	}

	fmt.Println(signature)
}

You can learn more about Go programming language from the official documentation.

Get Go Library Now

Something not working?

Identified an issue? Report it to GitHub
holda-developer-portal.png

Holda Technologies Oy builds develops great digital products that take your business to the next level

https://holda.fi/