api

package
v0.0.0-...-7496c14 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router() *mux.Router

Router returns the keystore api's router

Types

type GetKeyListOutput

type GetKeyListOutput struct {
	KeyIDList []string `json:"keys,omitempty"`
}

type KeyMetadata

type KeyMetadata struct {
	KeyPem       []byte    `json:"key_pem"`
	ID           string    `json:"key_id"`
	InvalidAfter time.Time `json:"expires"`
}

KeyMetadata represents the format in which we will cache and store keys

Jump to

Keyboard shortcuts

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