Documentation ¶
Index ¶
- Constants
- type Operation
- func (o *Operation) GetDID(rw http.ResponseWriter, req *http.Request)
- func (o *Operation) GetDIDRecords(rw http.ResponseWriter, req *http.Request)
- func (o *Operation) GetRESTHandlers() []rest.Handler
- func (o *Operation) ResolveDID(rw http.ResponseWriter, req *http.Request)
- func (o *Operation) SaveDID(rw http.ResponseWriter, req *http.Request)
Constants ¶
View Source
const ( VDROperationID = "/vdr" SaveDIDPath = vdrDIDPath GetDIDPath = vdrDIDPath + "/{id}" ResolveDIDPath = vdrDIDPath + "/resolve/{id}" GetDIDRecordsPath = vdrDIDPath + "/records" )
constants for the VDR operations.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operation ¶
type Operation struct {
// contains filtered or unexported fields
}
Operation contains basic common operations provided by controller REST API.
func (*Operation) GetDID ¶
func (o *Operation) GetDID(rw http.ResponseWriter, req *http.Request)
GetDID swagger:route GET /vdr/did/{id} vdr getDIDReq
Gets did document with the friendly name.
Responses:
default: genericError 200: documentRes
func (*Operation) GetDIDRecords ¶
func (o *Operation) GetDIDRecords(rw http.ResponseWriter, req *http.Request)
GetDIDRecords swagger:route GET /vdr/did/records vdr getDIDRecords
Retrieves the did records ¶
Responses:
default: genericError 200: didRecordResult
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this service.
func (*Operation) ResolveDID ¶
func (o *Operation) ResolveDID(rw http.ResponseWriter, req *http.Request)
ResolveDID swagger:route GET /vdr/did/resolve/{id} vdr resolveDIDReq
Resolve did ¶
Responses:
default: genericError 200: documentRes
Click to show internal directories.
Click to hide internal directories.