contract

package
v2.75.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package contract and its subpackages provides implementation of types defined in the Conjure specification.

These types are meant to be used in the Conjure generated code as well as in the hand written Conjure-compliant code.

The output of a Conjure generator should not contain client/server logic, instead it should just comply with a contract.

In the case of Conjure services, it should just convey a minimal representation of the user defined API. This allows consumers to upgrade/swap out their client implementation, as long as the new client conforms to the same contract.

See https://github.com/palantir/conjure/blob/develop/docs/spec for the actual Conjure specification.

Directories

Path Synopsis
Package errors implements errors defined in the Conjure specification.
Package errors implements errors defined in the Conjure specification.

Jump to

Keyboard shortcuts

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