Documentation
¶
Index ¶
- func GetVoucherByGUIDHandler(w http.ResponseWriter, r *http.Request)
- func GetVoucherHandler(w http.ResponseWriter, r *http.Request)
- func HealthHandler(w http.ResponseWriter, r *http.Request)
- func InsertVoucherHandler(ownerPKeys []crypto.PublicKey) http.HandlerFunc
- func OwnerInfoHandler(w http.ResponseWriter, r *http.Request)
- func ResellHandler(to2Server *fdo.TO2Server) http.HandlerFunc
- func RvInfoHandler() http.HandlerFunc
- func To0Handler(state *To0HandlerState) http.HandlerFunc
- type HealthResponse
- type To0HandlerState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVoucherByGUIDHandler ¶
func GetVoucherByGUIDHandler(w http.ResponseWriter, r *http.Request)
GetVoucherByGUIDHandler returns a PEM-encoded voucher by path GUID.
func GetVoucherHandler ¶
func GetVoucherHandler(w http.ResponseWriter, r *http.Request)
func HealthHandler ¶
func HealthHandler(w http.ResponseWriter, r *http.Request)
HealthHandler responds with the version and status
func InsertVoucherHandler ¶
func InsertVoucherHandler(ownerPKeys []crypto.PublicKey) http.HandlerFunc
func OwnerInfoHandler ¶
func OwnerInfoHandler(w http.ResponseWriter, r *http.Request)
func ResellHandler ¶
func ResellHandler(to2Server *fdo.TO2Server) http.HandlerFunc
func RvInfoHandler ¶
func RvInfoHandler() http.HandlerFunc
func To0Handler ¶
func To0Handler(state *To0HandlerState) http.HandlerFunc
Types ¶
type HealthResponse ¶
type To0HandlerState ¶
type To0HandlerState struct { VoucherState fdo.OwnerVoucherPersistentState KeyState fdo.OwnerKeyPersistentState UseTLS bool }
Click to show internal directories.
Click to hide internal directories.