inthttp

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InputDeviceListUpdatePath         = "/keyserver/inputDeviceListUpdate"
	PerformUploadKeysPath             = "/keyserver/performUploadKeys"
	PerformClaimKeysPath              = "/keyserver/performClaimKeys"
	PerformDeleteKeysPath             = "/keyserver/performDeleteKeys"
	PerformUploadDeviceKeysPath       = "/keyserver/performUploadDeviceKeys"
	PerformUploadDeviceSignaturesPath = "/keyserver/performUploadDeviceSignatures"
	QueryKeysPath                     = "/keyserver/queryKeys"
	QueryKeyChangesPath               = "/keyserver/queryKeyChanges"
	QueryOneTimeKeysPath              = "/keyserver/queryOneTimeKeys"
	QueryDeviceMessagesPath           = "/keyserver/queryDeviceMessages"
	QuerySignaturesPath               = "/keyserver/querySignatures"
	PerformMarkAsStalePath            = "/keyserver/markAsStale"
)

HTTP paths for the internal HTTP APIs

Variables

This section is empty.

Functions

func AddRoutes

func AddRoutes(internalAPIMux *mux.Router, s api.KeyInternalAPI)

func NewKeyServerClient

func NewKeyServerClient(
	apiURL string,
	httpClient *http.Client,
) (api.KeyInternalAPI, error)

NewKeyServerClient creates a KeyInternalAPI implemented by talking to a HTTP POST API. If httpClient is nil an error is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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