Skip to content

breakbit/scaleway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scaleway

Build Status Coverage Status Go Report Card

scaleway is a Go client library for accessing the Scaleway API.

This library is written only with the Go standard library, no package dependencies.

Install

go get github.com/breakbit/scaleway

Usage

import "github.com/breakbit/scaleway"

Construct a new Scaleway client, then use the various services on the client to access differents parts of the Scaleway API. For example:

// Create a client
client := scaleway.NewClient(nil)

// Create credentials structure
credentials := scaleway.NewCredentials("[email protected]", "foobar")

// Create new token
token, _, _ := client.Tokens.Create(credentials, true)

// Use this token
client.AuthToken = token.ID

About

Go library for accessing the Scaleway API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published