keys_v2

package
v0.0.0-...-6c1762c Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalKeys

func GetLocalKeys(r *http.Request, log *logrus.Entry) interface{}

func QueryKeysBatch

func QueryKeysBatch(r *http.Request, log *logrus.Entry) interface{}

func QueryKeysSingle

func QueryKeysSingle(r *http.Request, log *logrus.Entry) interface{}

Types

type BatchKeyLookup

type BatchKeyLookup struct {
	Keys map[string]map[string]LookupCriteria `json:"server_keys"`
}

type BatchedServerKeys

type BatchedServerKeys struct {
	Keys []map[string]interface{} `json:"server_keys"`
}

type LookupCriteria

type LookupCriteria struct {
	MinValidTs int64 `json:"minimum_valid_until_ts"`
}

Jump to

Keyboard shortcuts

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