Documentation ¶
Overview ¶
Package blindedrouting provides REST operations for blinded routing command.
Index ¶
Constants ¶
const ( OperationID = "/blindedrouting" SendDIDDocRequestPath = OperationID + "/send-diddoc-request" SendRegisterRouteRequest = OperationID + "/send-router-registration" )
constants for endpoints of blinded routing.
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 blinded routing.
func New ¶
func New(ctx blindedrouting.Provider, msgHandler ariescmd.MessageHandler, notifier ariescmd.Notifier) (*Operation, error)
New returns new blinded routing rest instance.
func (*Operation) GetRESTHandlers ¶
GetRESTHandlers get all controller API handler available for this protocol service.
func (*Operation) SendDIDDocRequest ¶
func (c *Operation) SendDIDDocRequest(rw http.ResponseWriter, req *http.Request)
SendDIDDocRequest swagger:route POST /blindedrouting/send-diddoc-request blindedrouting didDocRequest
Sends DID doc request over a connection.
Responses:
default: genericError 200: didDocResponse
func (*Operation) SendRegisterRouteRequest ¶
func (c *Operation) SendRegisterRouteRequest(rw http.ResponseWriter, req *http.Request)
SendRegisterRouteRequest Sends register route request as a response to reply from send DID doc request.
swagger:route POST /blindedrouting/send-router-registration blindedrouting registerRoute
Sends register route request as a response to reply from send DID doc request.
Responses:
default: genericError 200: registerRouteResponse