Documentation ¶
Index ¶
Constants ¶
View Source
const ( ServerKeyInputPublicKeyPath = "/signingkeyserver/inputPublicKey" ServerKeyQueryPublicKeyPath = "/signingkeyserver/queryPublicKey" )
HTTP paths for the internal HTTP APIs
Variables ¶
This section is empty.
Functions ¶
func AddRoutes ¶
func AddRoutes(s api.SigningKeyServerAPI, internalAPIMux *mux.Router, cache caching.ServerKeyCache)
func NewSigningKeyServerClient ¶
func NewSigningKeyServerClient( serverKeyAPIURL string, httpClient *http.Client, cache caching.ServerKeyCache, ) (api.SigningKeyServerAPI, error)
NewSigningKeyServerClient creates a SigningKeyServerAPI implemented by talking to a HTTP POST API. If httpClient is nil an error is returned
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.