Documentation ¶
Index ¶
Constants ¶
View Source
const ( OperationID = "/outofband/2.0" CreateInvitation = OperationID + "/create-invitation" AcceptInvitation = OperationID + "/accept-invitation" )
constants for the OutOfBandv2 protocol operations.
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 outofband.
func (*Operation) AcceptInvitation ¶
func (c *Operation) AcceptInvitation(rw http.ResponseWriter, req *http.Request)
AcceptInvitation swagger:route POST /outofband/2.0/accept-invitation outofbandv2 outofbandV2AcceptInvitation
Accepts an invitation.
Responses:
default: genericError 200: outofbandV2AcceptInvitationResponse
func (*Operation) CreateInvitation ¶
func (c *Operation) CreateInvitation(rw http.ResponseWriter, req *http.Request)
CreateInvitation swagger:route POST /outofband/2.0/create-invitation outofbandv2 outofbandV2CreateInvitation
Creates an invitation.
Responses:
default: genericError 200: outofbandV2CreateInvitationResponse
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this protocol service.
Click to show internal directories.
Click to hide internal directories.