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 ( VdriOperationID = "/vdri" SaveDIDPath = vdriDIDPath GetDIDPath = vdriDIDPath + "/{id}" ResolveDIDPath = vdriDIDPath + "/resolve/{id}" GetDIDRecordsPath = vdriDIDPath + "/records" )
constants for the VDRI 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 ¶ added in v0.1.3
func (o *Operation) GetDID(rw http.ResponseWriter, req *http.Request)
GetDID swagger:route GET /vdri/did/{id} vdri getDIDReq
Gets did document with the friendly name.
Responses:
default: genericError 200: documentRes
func (*Operation) GetDIDRecords ¶ added in v0.1.3
func (o *Operation) GetDIDRecords(rw http.ResponseWriter, req *http.Request)
GetDIDRecords swagger:route GET /vdri/did/records vdri 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 ¶ added in v0.1.3
func (o *Operation) ResolveDID(rw http.ResponseWriter, req *http.Request)
ResolveDID swagger:route GET /vdri/did/resolve/{id} vdri resolveDIDReq
Resolve did ¶
Responses:
default: genericError 200: documentRes
Click to show internal directories.
Click to hide internal directories.