Documentation
¶
Index ¶
Constants ¶
This section is empty.
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) GetCredential ¶
func (o *Operation) GetCredential(rw http.ResponseWriter, req *http.Request)
GetCredential swagger:route GET /verifiable/credential/{id} verifiable getCredentialReq
Retrieves the verifiable credential.
Responses:
default: genericError 200: credentialRes
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this service
func (*Operation) SaveCredential ¶
func (o *Operation) SaveCredential(rw http.ResponseWriter, req *http.Request)
SaveCredential swagger:route POST /verifiable/credential verifiable saveCredentialReq
Saves the verifiable credential.
Responses:
default: genericError 200: emptyRes
func (*Operation) ValidateCredential ¶
func (o *Operation) ValidateCredential(rw http.ResponseWriter, req *http.Request)
ValidateCredential swagger:route POST /verifiable/credential/validate verifiable validateCredentialReq
Validates the verifiable credential.
Responses:
default: genericError 200: emptyRes
Click to show internal directories.
Click to hide internal directories.