sputnik

command module
v0.0.0-...-8247dfb Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2018 License: MIT Imports: 4 Imported by: 0

README

CircleCI Go Report Card

🛰 спутник

Talk to  CloudKit. Server-to-Server in Go.

Sputnik enables you to connect to CloudKit from within your Go package or application using CloudKit's Server-to-Server Web Service API. Sputnik handles request signing for you and offers ways to interact with CloudKit directly from the CLI.

Signing Requests

Sputnik manages the most cumbersome part of CloudKit communication - the signing of your requests. For more information on signing have a look in the Managing the Signing Identity section of the Wiki.

Usage

You can use Sputnik either from the command line or as a package. For more information about requests have a look in the Sending Requests section of the Wiki.

Baikonur uses Sputnik to insert city records into a CloudKit container:

keyManager := keymanager.New()

config := requesthandling.RequestConfig{Version: "1", ContainerID: "iCloud.com.some.bundle", Database: "public"}
requestManager := requesthandling.New(config, &keyManager)

request, error := requestManager.PostRequest("modify", json)
client := &http.Client{}
response, error := client.Do(request)

State

Please try this package and see how it works for you. Feedback and contributions are welcome <3

Gemeinfrei, Link

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package requesthandling offers means to create signed requests for interfacing with CloudKit.
Package requesthandling offers means to create signed requests for interfacing with CloudKit.

Jump to

Keyboard shortcuts

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