Documentation
¶
Overview ¶
Package didclient provides REST operations.
Index ¶
Constants ¶
View Source
const ( OperationID = "/didclient" CreateBlocDIDPath = OperationID + "/create-trustbloc-did" CreatePeerDIDPath = OperationID + "/create-peer-did" )
constants for endpoints of DIDClient.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation is controller REST service controller for DID Client.
func (*Operation) CreatePeerDID ¶
func (c *Operation) CreatePeerDID(rw http.ResponseWriter, req *http.Request)
CreatePeerDID swagger:route POST /didclient/create-peer-did didclient createPeerDID
Creates a new peer DID.
Responses:
default: genericError 200: createDIDResp
func (*Operation) CreateTrustBlocDID ¶
func (c *Operation) CreateTrustBlocDID(rw http.ResponseWriter, req *http.Request)
CreateTrustBlocDID swagger:route POST /didclient/create-trustbloc-did didclient createTrustBlocDID
Creates a new trust bloc DID.
Responses:
default: genericError 200: createDIDResp
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this protocol service.
Click to show internal directories.
Click to hide internal directories.