Skip to content
Go library for accessing the Scaleway API
Go Makefile
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test-fixtures
.gitignore
.travis.yml
AUTHORS
LICENSE
Makefile
README.md
actions.go
actions_test.go
credential.go
credential_test.go
doc.go
images.go
images_test.go
ips.go
ips_test.go
organizations.go
organizations_test.go
scaleway.go
scaleway_test.go
servers.go
servers_test.go
snapshots.go
snapshots_test.go
tokens.go
tokens_test.go
users.go
users_test.go
volumes.go
volumes_test.go

README.md

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("foo@bar.com", "foobar")

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

// Use this token
client.AuthToken = token.ID
You can’t perform that action at this time.