syncloud

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package syncloud is the Go SDK for the SynCloud API (§7.1): the same client synctl uses, with access-key request signing, bearer tokens and temporary credentials.

c, err := syncloud.New("https://203-0-113-10.sslip.io", syncloud.Credentials{
	AccessKeyID: os.Getenv("SYNCLOUD_ACCESS_KEY_ID"), SecretAccessKey: os.Getenv("SYNCLOUD_SECRET_ACCESS_KEY"),
})
svcs, err := c.ListServices(ctx, "shop", "production")

Index

Constants

View Source
const HeaderSessionToken = client.HeaderSessionToken

HeaderSessionToken carries temporary credentials' session token.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client = client.Client

func New

func New(endpoint string, creds Credentials) (*Client, error)

New returns a client for an endpoint such as https://203-0-113-10.sslip.io.

type Credentials

type Credentials = client.Credentials

type Error

type Error = client.Error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL