Documentation ¶
Index ¶
- func GetHandler(config *config.Config) http.Handler
- func GetWellKnownBsvAliasResponse(config *config.Config) ([]byte, error)
- type BsvAliasCapabilities
- type PaymentDestinationRequest
- type PaymentDestinationResponse
- type PkiResponse
- type V1Handler
- type VerifyPublicKeyOwnerResponse
- type WellKnownBsvAliasResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BsvAliasCapabilities ¶
type PaymentDestinationResponse ¶
type PaymentDestinationResponse struct { // P2PKH output script Output string `json:"output"` }
type PkiResponse ¶
type V1Handler ¶
type V1Handler struct {
// contains filtered or unexported fields
}
func (*V1Handler) PaymentDestination ¶
func (v1 *V1Handler) PaymentDestination(w http.ResponseWriter, r *http.Request)
//bsvalias/v1/address/{alias}
func (*V1Handler) Pki ¶
func (v1 *V1Handler) Pki(w http.ResponseWriter, r *http.Request)
/bsvalias/v1/pki/{alias}
func (*V1Handler) VerifyPublicKeyOwner ¶
func (v1 *V1Handler) VerifyPublicKeyOwner(w http.ResponseWriter, r *http.Request)
/bsvalias/v1/verifypubkey/{alias}/{pubkey}
type WellKnownBsvAliasResponse ¶
type WellKnownBsvAliasResponse struct { Version string `json:"bsvalias"` Capabilities BsvAliasCapabilities `json:"capabilities"` }
Click to show internal directories.
Click to hide internal directories.