v1

package
v0.0.0-...-ecb7df7 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1 represents the entirety of the first version of the HTTP API for Vault.

This version includes the ability to read and query from the database over HTTP. It also provides - but does not expose - endpoints for importing data. The ability to import/write data over the API will be provided in a future version of the API.

The v1 API is still being constructed. When it is stable, it will be documented here. Until then, See https://github.com/adjspecies/vault/blob/master/docs/API.md for the current status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Overview

func Overview(w http.ResponseWriter, r *http.Request)

Overview provides a brief glimpse at the data available in the vault.

func Register

func Register(r *mux.Router) error

Register adds handlers for endpoints in the v1 API.

Types

This section is empty.

Directories

Path Synopsis
Package apiparams holds the various structs for marshaling/unmarshaling the JSON requests and responses to the v1 API.
Package apiparams holds the various structs for marshaling/unmarshaling the JSON requests and responses to the v1 API.

Jump to

Keyboard shortcuts

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