Documentation ¶
Index ¶
- Constants
- type Operation
- func (c *Operation) AcceptProblemReport(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptProposal(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptProposalWithOOBRequest(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptRequestWithPublicOOBRequest(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) AcceptRequestWithRecipients(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) Actions(rw http.ResponseWriter, _ *http.Request)
- func (c *Operation) DeclineProposal(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) DeclineRequest(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) GetRESTHandlers() []rest.Handler
- func (c *Operation) SendProposal(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) SendProposalWithOOBRequest(rw http.ResponseWriter, req *http.Request)
- func (c *Operation) SendRequest(rw http.ResponseWriter, req *http.Request)
Constants ¶
const ( OperationID = "/introduce" Actions = OperationID + "/actions" SendProposal = OperationID + "/send-proposal" SendProposalWithOOBRequest = OperationID + "/send-proposal-with-oob-request" SendRequest = OperationID + "/send-request" AcceptProposalWithOOBRequest = OperationID + "/{piid}/accept-proposal-with-oob-request" AcceptProposal = OperationID + "/{piid}/accept-proposal" AcceptRequestWithPublicOOBRequest = OperationID + "/{piid}/accept-request-with-public-oob-request" AcceptRequestWithRecipients = OperationID + "/{piid}/accept-request-with-recipients" DeclineProposal = OperationID + "/{piid}/decline-proposal" DeclineRequest = OperationID + "/{piid}/decline-request" AcceptProblemReport = OperationID + "/{piid}/accept-problem-report" )
constants for operation introduce.
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 the introduce.
func (*Operation) AcceptProblemReport ¶
func (c *Operation) AcceptProblemReport(rw http.ResponseWriter, req *http.Request)
AcceptProblemReport swagger:route POST /introduce/{piid}/accept-problem-report introduce introduceAcceptProblemReport
Accepts a problem report.
Responses:
default: genericError 200: introduceAcceptProblemReportResponse
func (*Operation) AcceptProposal ¶
func (c *Operation) AcceptProposal(rw http.ResponseWriter, req *http.Request)
AcceptProposal swagger:route POST /introduce/{piid}/accept-proposal introduce introduceAcceptProposal
Accepts a proposal.
Responses:
default: genericError 200: introduceAcceptProposalResponse
func (*Operation) AcceptProposalWithOOBRequest ¶
func (c *Operation) AcceptProposalWithOOBRequest(rw http.ResponseWriter, req *http.Request)
AcceptProposalWithOOBRequest swagger:route POST /introduce/{piid}/accept-proposal-with-oob-request introduce introduceAcceptProposalWithOOBRequest
Accepts a proposal with OOBRequest.
Responses:
default: genericError 200: introduceAcceptProposalWithOOBRequestResponse
func (*Operation) AcceptRequestWithPublicOOBRequest ¶
func (c *Operation) AcceptRequestWithPublicOOBRequest(rw http.ResponseWriter, req *http.Request)
AcceptRequestWithPublicOOBRequest swagger:route POST /introduce/{piid}/accept-request-with-public-oob-request introduce introduceAcceptRequestWithPublicOOBRequest
Accept a request with public OOBRequest.
Responses:
default: genericError 200: introduceAcceptRequestWithPublicOOBRequestResponse
func (*Operation) AcceptRequestWithRecipients ¶
func (c *Operation) AcceptRequestWithRecipients(rw http.ResponseWriter, req *http.Request)
AcceptRequestWithRecipients swagger:route POST /introduce/{piid}/accept-request-with-recipients introduce introduceAcceptRequestWithRecipients
Accept a request with recipients.
Responses:
default: genericError 200: introduceAcceptRequestWithRecipientsResponse
func (*Operation) Actions ¶
func (c *Operation) Actions(rw http.ResponseWriter, _ *http.Request)
Actions swagger:route GET /introduce/actions introduce introduceActions
Returns pending actions that have not yet to be executed or cancelled.
Responses:
default: genericError 200: introduceActionsResponse
func (*Operation) DeclineProposal ¶
func (c *Operation) DeclineProposal(rw http.ResponseWriter, req *http.Request)
DeclineProposal swagger:route POST /introduce/{piid}/decline-proposal introduce introduceDeclineProposal
Declines a proposal.
Responses:
default: genericError 200: introduceDeclineProposalResponse
func (*Operation) DeclineRequest ¶
func (c *Operation) DeclineRequest(rw http.ResponseWriter, req *http.Request)
DeclineRequest swagger:route POST /introduce/{piid}/decline-request introduce introduceDeclineRequest
Declines a request.
Responses:
default: genericError 200: introduceDeclineRequestResponse
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this protocol service.
func (*Operation) SendProposal ¶
func (c *Operation) SendProposal(rw http.ResponseWriter, req *http.Request)
SendProposal swagger:route POST /introduce/send-proposal introduce introduceSendProposal
Sends a proposal.
Responses:
default: genericError 200: introduceSendProposalResponse
func (*Operation) SendProposalWithOOBRequest ¶
func (c *Operation) SendProposalWithOOBRequest(rw http.ResponseWriter, req *http.Request)
SendProposalWithOOBRequest swagger:route POST /introduce/send-proposal-with-oob-request introduce introduceSendProposalWithOOBRequest
Sends a proposal with OOBRequest.
Responses:
default: genericError 200: introduceSendProposalWithOOBRequestResponse
func (*Operation) SendRequest ¶
func (c *Operation) SendRequest(rw http.ResponseWriter, req *http.Request)
SendRequest swagger:route POST /introduce/send-request introduce introduceSendRequest
Sends a request.
Responses:
default: genericError 200: introduceSendRequestResponse