defs

module
v0.0.0-...-fe3a3ad Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT

README

Deploy Api Definitions

This repository contains the protobuf definitions for all of the apis available for the Deploy platform.

Packages

Upon a commit to main this repo will publish packages for the respective languages.

Go

Go doesnt need a published package as such, as uses Github with go modules.

Installation

Packages for Go are separated by protobuf package.

For example..

go get github.com/getdeply/api/accounts
go get github.com/getdeply/api/auth
gRPC Web

grpcweb is a Javascript/Typescript package for using the apis via Grpc-Web, this is most often used in a browser based context, as browsers can't currently communicate in a fully gRPC compatible way. For backend javascript/node usage, see below.

Installation

gRPC-Web is provided as a single package installation via NPM, using Github's package manager.

echo "@getdeply:registry=https://npm.pkg.github.com" >> .npmrc
npm i -s @getdeply/grpcweb
Node

node is a Javascript/Typescript package for using the apis via standard gRPC grpc-js, it uses the pure JS client.

The node package is provided as a single package installation via NPM, also using Github's package manager.

echo "@getdeply:registry=https://npm.pkg.github.com" >> .npmrc
npm i -s @getdeply/node

Directories

Path Synopsis
api
accounts
Package accounts is a reverse proxy.
Package accounts is a reverse proxy.
projects
Package projects is a reverse proxy.
Package projects is a reverse proxy.
services
Package services is a reverse proxy.
Package services is a reverse proxy.

Jump to

Keyboard shortcuts

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