Home
Softono
balena-go

balena-go

Open source MIT Go
14
Stars
3
Forks
7
Issues
14
Watchers
4 weeks
Last Commit

About balena-go

The unofficial SDK to make balena powered Go applications.

Platforms

Web Self-hosted

Languages

Go

Links

Balena Go

PkgGoDev




Balena Go is a library for accessing the Balena API

Balena API docs can be found here



Install

go get go.einride.tech/balena

Usage

import "go.einride.tech/balena"

Authentication

An Authentication Token can be used to authenticate with the API

You can then use your token to create a new client:

package main

import (
    "context"
    "go.einride.tech/balena"
)

const (
    token = "mytoken"
)

func main() {
    // We supply a nil http client to make use of http.DefaultClient
    client := balena.New(nil, token)
}