routes

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KVHandler

func KVHandler(bm manager.Backend) http.Handler

KVHandler initializes Vault KV API handler for given bundle

Types

type KV

type KV map[string]interface{}

KV is an alias to map for readability.

type Resource

type Resource struct {
	Context string `json:"@context,omitempty"`
	Type    string `json:"@type,omitempty"`
	ID      string `json:"@id,omitempty"`
}

Resource describes a JSON-LD resource header

Jump to

Keyboard shortcuts

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