services

package
v0.0.0-...-893f904 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_did_introduce_services_introduce_proto protoreflect.FileDescriptor
View Source
var IntroduceController_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.did.introduce.services.IntroduceController",
	HandlerType: (*IntroduceControllerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "actions",
			Handler:    _IntroduceController_Actions_Handler,
		},
		{
			MethodName: "sendProposal",
			Handler:    _IntroduceController_SendProposal_Handler,
		},
		{
			MethodName: "sendProposalWithOOBInvitation",
			Handler:    _IntroduceController_SendProposalWithOOBInvitation_Handler,
		},
		{
			MethodName: "sendRequest",
			Handler:    _IntroduceController_SendRequest_Handler,
		},
		{
			MethodName: "acceptProposalWithOOBInvitation",
			Handler:    _IntroduceController_AcceptProposalWithOOBInvitation_Handler,
		},
		{
			MethodName: "acceptProposal",
			Handler:    _IntroduceController_AcceptProposal_Handler,
		},
		{
			MethodName: "acceptRequestWithPublicOOBInvitation",
			Handler:    _IntroduceController_AcceptRequestWithPublicOOBInvitation_Handler,
		},
		{
			MethodName: "acceptRequestWithRecipients",
			Handler:    _IntroduceController_AcceptRequestWithRecipients_Handler,
		},
		{
			MethodName: "declineProposal",
			Handler:    _IntroduceController_DeclineProposal_Handler,
		},
		{
			MethodName: "declineRequest",
			Handler:    _IntroduceController_DeclineRequest_Handler,
		},
		{
			MethodName: "acceptProblemReport",
			Handler:    _IntroduceController_AcceptProblemReport_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/did/introduce/services/introduce.proto",
}

IntroduceController_ServiceDesc is the grpc.ServiceDesc for IntroduceController service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterIntroduceControllerServer

func RegisterIntroduceControllerServer(s grpc.ServiceRegistrar, srv IntroduceControllerServer)

Types

type DocIntroduceActionsResponse

type DocIntroduceActionsResponse struct {

	// in: body
	Body *IntroduceActionsResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:response introduceActionsResponse

func (*DocIntroduceActionsResponse) Descriptor deprecated

func (*DocIntroduceActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use DocIntroduceActionsResponse.ProtoReflect.Descriptor instead.

func (*DocIntroduceActionsResponse) GetBody

func (*DocIntroduceActionsResponse) ProtoMessage

func (*DocIntroduceActionsResponse) ProtoMessage()

func (*DocIntroduceActionsResponse) ProtoReflect

func (*DocIntroduceActionsResponse) Reset

func (x *DocIntroduceActionsResponse) Reset()

func (*DocIntroduceActionsResponse) String

func (x *DocIntroduceActionsResponse) String() string

type DocIntroduceSendProposalRequest

type DocIntroduceSendProposalRequest struct {

	// in: body
	Body *IntroduceSendProposalRequest `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:parameters introduceSendProposal

func (*DocIntroduceSendProposalRequest) Descriptor deprecated

func (*DocIntroduceSendProposalRequest) Descriptor() ([]byte, []int)

Deprecated: Use DocIntroduceSendProposalRequest.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendProposalRequest) GetBody

func (*DocIntroduceSendProposalRequest) ProtoMessage

func (*DocIntroduceSendProposalRequest) ProtoMessage()

func (*DocIntroduceSendProposalRequest) ProtoReflect

func (*DocIntroduceSendProposalRequest) Reset

func (*DocIntroduceSendProposalRequest) String

type DocIntroduceSendProposalResponse

type DocIntroduceSendProposalResponse struct {

	// in: body
	Body *IntroduceSendProposalResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:response introduceSendProposalResponse

func (*DocIntroduceSendProposalResponse) Descriptor deprecated

func (*DocIntroduceSendProposalResponse) Descriptor() ([]byte, []int)

Deprecated: Use DocIntroduceSendProposalResponse.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendProposalResponse) GetBody

func (*DocIntroduceSendProposalResponse) ProtoMessage

func (*DocIntroduceSendProposalResponse) ProtoMessage()

func (*DocIntroduceSendProposalResponse) ProtoReflect

func (*DocIntroduceSendProposalResponse) Reset

func (*DocIntroduceSendProposalResponse) String

type DocIntroduceSendProposalWithOOBInvitationRequest

type DocIntroduceSendProposalWithOOBInvitationRequest struct {

	// in: body
	Body *IntroduceSendProposalWithOOBInvitationRequest `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:parameters introduceSendProposalWithOOBInvitationRequest

func (*DocIntroduceSendProposalWithOOBInvitationRequest) Descriptor deprecated

Deprecated: Use DocIntroduceSendProposalWithOOBInvitationRequest.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendProposalWithOOBInvitationRequest) GetBody

func (*DocIntroduceSendProposalWithOOBInvitationRequest) ProtoMessage

func (*DocIntroduceSendProposalWithOOBInvitationRequest) ProtoReflect

func (*DocIntroduceSendProposalWithOOBInvitationRequest) Reset

func (*DocIntroduceSendProposalWithOOBInvitationRequest) String

type DocIntroduceSendProposalWithOOBInvitationResponse

type DocIntroduceSendProposalWithOOBInvitationResponse struct {

	// in: body
	Body *IntroduceSendProposalWithOOBInvitationResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:response introduceSendProposalWithOOBInvitationResponse

func (*DocIntroduceSendProposalWithOOBInvitationResponse) Descriptor deprecated

Deprecated: Use DocIntroduceSendProposalWithOOBInvitationResponse.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendProposalWithOOBInvitationResponse) GetBody

func (*DocIntroduceSendProposalWithOOBInvitationResponse) ProtoMessage

func (*DocIntroduceSendProposalWithOOBInvitationResponse) ProtoReflect

func (*DocIntroduceSendProposalWithOOBInvitationResponse) Reset

func (*DocIntroduceSendProposalWithOOBInvitationResponse) String

type DocIntroduceSendRequest

type DocIntroduceSendRequest struct {

	// in: body
	Body *IntroduceSendRequest `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:parameters introduceSendRequest

func (*DocIntroduceSendRequest) Descriptor deprecated

func (*DocIntroduceSendRequest) Descriptor() ([]byte, []int)

Deprecated: Use DocIntroduceSendRequest.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendRequest) GetBody

func (*DocIntroduceSendRequest) ProtoMessage

func (*DocIntroduceSendRequest) ProtoMessage()

func (*DocIntroduceSendRequest) ProtoReflect

func (x *DocIntroduceSendRequest) ProtoReflect() protoreflect.Message

func (*DocIntroduceSendRequest) Reset

func (x *DocIntroduceSendRequest) Reset()

func (*DocIntroduceSendRequest) String

func (x *DocIntroduceSendRequest) String() string

type DocIntroduceSendResponse

type DocIntroduceSendResponse struct {

	// in: body
	Body *IntroduceSendResponse `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

swagger:response introduceSendResponse

func (*DocIntroduceSendResponse) Descriptor deprecated

func (*DocIntroduceSendResponse) Descriptor() ([]byte, []int)

Deprecated: Use DocIntroduceSendResponse.ProtoReflect.Descriptor instead.

func (*DocIntroduceSendResponse) GetBody

func (*DocIntroduceSendResponse) ProtoMessage

func (*DocIntroduceSendResponse) ProtoMessage()

func (*DocIntroduceSendResponse) ProtoReflect

func (x *DocIntroduceSendResponse) ProtoReflect() protoreflect.Message

func (*DocIntroduceSendResponse) Reset

func (x *DocIntroduceSendResponse) Reset()

func (*DocIntroduceSendResponse) String

func (x *DocIntroduceSendResponse) String() string

type IntroduceAcceptProblemReportRequest

type IntroduceAcceptProblemReportRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

IntroduceAcceptProblemReportRequest model

This is used for operation to accept a problem report.

swagger:parameters introduceAcceptProblemReport

func (*IntroduceAcceptProblemReportRequest) Descriptor deprecated

func (*IntroduceAcceptProblemReportRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptProblemReportRequest.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProblemReportRequest) GetPiid

func (*IntroduceAcceptProblemReportRequest) ProtoMessage

func (*IntroduceAcceptProblemReportRequest) ProtoMessage()

func (*IntroduceAcceptProblemReportRequest) ProtoReflect

func (*IntroduceAcceptProblemReportRequest) Reset

func (*IntroduceAcceptProblemReportRequest) String

type IntroduceAcceptProblemReportResponse

type IntroduceAcceptProblemReportResponse struct {
	// contains filtered or unexported fields
}

IntroduceAcceptProblemReportResponse model

Represents a AcceptProblemReport response message

swagger:response introduceAcceptProblemReportResponse

func (*IntroduceAcceptProblemReportResponse) Descriptor deprecated

func (*IntroduceAcceptProblemReportResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptProblemReportResponse.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProblemReportResponse) ProtoMessage

func (*IntroduceAcceptProblemReportResponse) ProtoMessage()

func (*IntroduceAcceptProblemReportResponse) ProtoReflect

func (*IntroduceAcceptProblemReportResponse) Reset

func (*IntroduceAcceptProblemReportResponse) String

type IntroduceAcceptProposalRequest

type IntroduceAcceptProposalRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

IntroduceAcceptProposalRequest model

This is used for operation to accept a proposal.

swagger:parameters introduceAcceptProposal

func (*IntroduceAcceptProposalRequest) Descriptor deprecated

func (*IntroduceAcceptProposalRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptProposalRequest.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProposalRequest) GetPiid

func (*IntroduceAcceptProposalRequest) ProtoMessage

func (*IntroduceAcceptProposalRequest) ProtoMessage()

func (*IntroduceAcceptProposalRequest) ProtoReflect

func (*IntroduceAcceptProposalRequest) Reset

func (x *IntroduceAcceptProposalRequest) Reset()

func (*IntroduceAcceptProposalRequest) String

type IntroduceAcceptProposalResponse

type IntroduceAcceptProposalResponse struct {
	// contains filtered or unexported fields
}

IntroduceAcceptProposalResponse model

Represents a AcceptProposal response message.

swagger:response introduceAcceptProposalResponse

func (*IntroduceAcceptProposalResponse) Descriptor deprecated

func (*IntroduceAcceptProposalResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptProposalResponse.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProposalResponse) ProtoMessage

func (*IntroduceAcceptProposalResponse) ProtoMessage()

func (*IntroduceAcceptProposalResponse) ProtoReflect

func (*IntroduceAcceptProposalResponse) Reset

func (*IntroduceAcceptProposalResponse) String

type IntroduceAcceptProposalWithOOBInvitationRequest

type IntroduceAcceptProposalWithOOBInvitationRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string                                                `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	Body *IntroduceAcceptProposalWithOOBInvitationRequest_Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

IntroduceAcceptProposalWithOOBInvitationRequest model

This is used for operation to accept a proposal with OOBRequest.

swagger:parameters introduceAcceptProposalWithOOBInvitationRequest

func (*IntroduceAcceptProposalWithOOBInvitationRequest) Descriptor deprecated

Deprecated: Use IntroduceAcceptProposalWithOOBInvitationRequest.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProposalWithOOBInvitationRequest) GetBody

func (*IntroduceAcceptProposalWithOOBInvitationRequest) GetPiid

func (*IntroduceAcceptProposalWithOOBInvitationRequest) ProtoMessage

func (*IntroduceAcceptProposalWithOOBInvitationRequest) ProtoReflect

func (*IntroduceAcceptProposalWithOOBInvitationRequest) Reset

func (*IntroduceAcceptProposalWithOOBInvitationRequest) String

type IntroduceAcceptProposalWithOOBInvitationRequest_Body

type IntroduceAcceptProposalWithOOBInvitationRequest_Body struct {

	// Request is the out-of-band protocol's 'invitation' message.
	Invitation *types.Invitation `protobuf:"bytes,2,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// contains filtered or unexported fields
}

in: body

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) Descriptor deprecated

Deprecated: Use IntroduceAcceptProposalWithOOBInvitationRequest_Body.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) GetInvitation

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) ProtoMessage

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) ProtoReflect

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) Reset

func (*IntroduceAcceptProposalWithOOBInvitationRequest_Body) String

type IntroduceAcceptProposalWithOOBResponse

type IntroduceAcceptProposalWithOOBResponse struct {
	// contains filtered or unexported fields
}

IntroduceAcceptProposalWithOOBResponse model

Represents a AcceptProposalWithOOBInvitation response message.

swagger:response introduceAcceptProposalWithOOBResponse

func (*IntroduceAcceptProposalWithOOBResponse) Descriptor deprecated

func (*IntroduceAcceptProposalWithOOBResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptProposalWithOOBResponse.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptProposalWithOOBResponse) ProtoMessage

func (*IntroduceAcceptProposalWithOOBResponse) ProtoReflect

func (*IntroduceAcceptProposalWithOOBResponse) Reset

func (*IntroduceAcceptProposalWithOOBResponse) String

type IntroduceAcceptRequestWithPublicOOBInvitation

type IntroduceAcceptRequestWithPublicOOBInvitation struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	Body *IntroduceAcceptRequestWithPublicOOBInvitation_Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

IntroduceAcceptRequestWithPublicOOBInvitation model

This is used for operation to accept a request with public OOBRequest.

swagger:parameters introduceAcceptRequestWithPublicOOBInvitation

func (*IntroduceAcceptRequestWithPublicOOBInvitation) Descriptor deprecated

Deprecated: Use IntroduceAcceptRequestWithPublicOOBInvitation.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithPublicOOBInvitation) GetBody

func (*IntroduceAcceptRequestWithPublicOOBInvitation) GetPiid

func (*IntroduceAcceptRequestWithPublicOOBInvitation) ProtoMessage

func (*IntroduceAcceptRequestWithPublicOOBInvitation) ProtoReflect

func (*IntroduceAcceptRequestWithPublicOOBInvitation) Reset

func (*IntroduceAcceptRequestWithPublicOOBInvitation) String

type IntroduceAcceptRequestWithPublicOOBInvitationResponse

type IntroduceAcceptRequestWithPublicOOBInvitationResponse struct {
	// contains filtered or unexported fields
}

IntroduceAcceptRequestWithPublicOOBInvitationResponse model

Represents a AcceptRequestWithPublicOOBInvitation response message.

swagger:response introduceAcceptRequestWithPublicOOBInvitationResponse

func (*IntroduceAcceptRequestWithPublicOOBInvitationResponse) Descriptor deprecated

Deprecated: Use IntroduceAcceptRequestWithPublicOOBInvitationResponse.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithPublicOOBInvitationResponse) ProtoMessage

func (*IntroduceAcceptRequestWithPublicOOBInvitationResponse) ProtoReflect

func (*IntroduceAcceptRequestWithPublicOOBInvitationResponse) Reset

func (*IntroduceAcceptRequestWithPublicOOBInvitationResponse) String

type IntroduceAcceptRequestWithPublicOOBInvitation_Body

type IntroduceAcceptRequestWithPublicOOBInvitation_Body struct {

	// Request is the out-of-band protocol's 'invitation' message.
	Invitation *types.Invitation `protobuf:"bytes,1,opt,name=invitation,proto3" json:"invitation,omitempty"`
	To         *types1.To        `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) Descriptor deprecated

Deprecated: Use IntroduceAcceptRequestWithPublicOOBInvitation_Body.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) GetInvitation

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) GetTo

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) ProtoMessage

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) ProtoReflect

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) Reset

func (*IntroduceAcceptRequestWithPublicOOBInvitation_Body) String

type IntroduceAcceptRequestWithRecipients

type IntroduceAcceptRequestWithRecipients struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// in: body
	Body *IntroduceAcceptRequestWithRecipients_Body `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

IntroduceAcceptRequestWithRecipients model

This is used for operation to accept a request with recipients.

swagger:parameters introduceAcceptRequestWithRecipients

func (*IntroduceAcceptRequestWithRecipients) Descriptor deprecated

func (*IntroduceAcceptRequestWithRecipients) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptRequestWithRecipients.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithRecipients) GetBody

func (*IntroduceAcceptRequestWithRecipients) GetPiid

func (*IntroduceAcceptRequestWithRecipients) ProtoMessage

func (*IntroduceAcceptRequestWithRecipients) ProtoMessage()

func (*IntroduceAcceptRequestWithRecipients) ProtoReflect

func (*IntroduceAcceptRequestWithRecipients) Reset

func (*IntroduceAcceptRequestWithRecipients) String

type IntroduceAcceptRequestWithRecipientsResponse

type IntroduceAcceptRequestWithRecipientsResponse struct {
	// contains filtered or unexported fields
}

IntroduceAcceptRequestWithRecipientsResponse model

Represents a AcceptRequestWithRecipients response message.

swagger:response introduceAcceptRequestWithRecipientsResponse

func (*IntroduceAcceptRequestWithRecipientsResponse) Descriptor deprecated

Deprecated: Use IntroduceAcceptRequestWithRecipientsResponse.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithRecipientsResponse) ProtoMessage

func (*IntroduceAcceptRequestWithRecipientsResponse) ProtoReflect

func (*IntroduceAcceptRequestWithRecipientsResponse) Reset

func (*IntroduceAcceptRequestWithRecipientsResponse) String

type IntroduceAcceptRequestWithRecipients_Body

type IntroduceAcceptRequestWithRecipients_Body struct {

	// Recipient specifies to whom proposal will be sent
	Recipient *types1.Recipient `protobuf:"bytes,1,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// To keeps information about the introduction
	To *types1.To `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*IntroduceAcceptRequestWithRecipients_Body) Descriptor deprecated

func (*IntroduceAcceptRequestWithRecipients_Body) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceAcceptRequestWithRecipients_Body.ProtoReflect.Descriptor instead.

func (*IntroduceAcceptRequestWithRecipients_Body) GetRecipient

func (*IntroduceAcceptRequestWithRecipients_Body) GetTo

func (*IntroduceAcceptRequestWithRecipients_Body) ProtoMessage

func (*IntroduceAcceptRequestWithRecipients_Body) ProtoReflect

func (*IntroduceAcceptRequestWithRecipients_Body) Reset

func (*IntroduceAcceptRequestWithRecipients_Body) String

type IntroduceActionsRequest

type IntroduceActionsRequest struct {
	// contains filtered or unexported fields
}

IntroduceActionsRequest model

Returns pending actions that have not yet to be executed or cancelled.

swagger:parameters introduceActionsReq

func (*IntroduceActionsRequest) Descriptor deprecated

func (*IntroduceActionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceActionsRequest.ProtoReflect.Descriptor instead.

func (*IntroduceActionsRequest) ProtoMessage

func (*IntroduceActionsRequest) ProtoMessage()

func (*IntroduceActionsRequest) ProtoReflect

func (x *IntroduceActionsRequest) ProtoReflect() protoreflect.Message

func (*IntroduceActionsRequest) Reset

func (x *IntroduceActionsRequest) Reset()

func (*IntroduceActionsRequest) String

func (x *IntroduceActionsRequest) String() string

type IntroduceActionsResponse

type IntroduceActionsResponse struct {
	Actions []*types.Action `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

IntroduceActionsResponse model

Represents Actions response message.

func (*IntroduceActionsResponse) Descriptor deprecated

func (*IntroduceActionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceActionsResponse.ProtoReflect.Descriptor instead.

func (*IntroduceActionsResponse) GetActions

func (x *IntroduceActionsResponse) GetActions() []*types.Action

func (*IntroduceActionsResponse) ProtoMessage

func (*IntroduceActionsResponse) ProtoMessage()

func (*IntroduceActionsResponse) ProtoReflect

func (x *IntroduceActionsResponse) ProtoReflect() protoreflect.Message

func (*IntroduceActionsResponse) Reset

func (x *IntroduceActionsResponse) Reset()

func (*IntroduceActionsResponse) String

func (x *IntroduceActionsResponse) String() string

type IntroduceControllerClient

type IntroduceControllerClient interface {
	// Actions returns unfinished actions for the async usage.
	// Returns pending actions that have not yet to be executed or cancelled.
	// Actions swagger:route GET /introduce/actions introduce introduceActionsReq
	//
	// Returns pending actions that have not yet to be executed or cancelled.
	//
	// Responses:
	//        200: introduceActionsResponse
	Actions(ctx context.Context, in *IntroduceActionsRequest, opts ...grpc.CallOption) (*IntroduceActionsResponse, error)
	// SendProposal sends a proposal to the introducees (the client has not published an out-of-band message)
	// SendProposal swagger:route POST /introduce/send-proposal introduce introduceSendProposalRequest
	//
	// Sends a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: introduceSendProposalResponse
	SendProposal(ctx context.Context, in *IntroduceSendProposalRequest, opts ...grpc.CallOption) (*IntroduceSendProposalResponse, error)
	// SendProposalWithOOBInvitation sends a proposal to the introducee (the client has published an out-of-band request)
	// SendProposalWithOOBInvitation swagger:route POST /introduce/send-proposal-with-oob-invitation introduce introduceSendProposalWithOOBInvitationRequest
	//
	// Sends a proposal with OOBRequest.
	//
	// Responses:
	//        200: introduceSendProposalWithOOBInvitationResponse
	SendProposalWithOOBInvitation(ctx context.Context, in *IntroduceSendProposalWithOOBInvitationRequest, opts ...grpc.CallOption) (*IntroduceSendProposalWithOOBInvitationResponse, error)
	// SendRequest sends a request showing that the introducee is willing to share their own out-of-band message
	// SendRequest swagger:route POST /introduce/send-request introduce introduceSendRequest
	//
	// Sends a request.
	//
	// Responses:
	//    default: genericError
	//        200: introduceSendResponse
	SendRequest(ctx context.Context, in *IntroduceSendProposalRequest, opts ...grpc.CallOption) (*IntroduceSendProposalResponse, error)
	// AcceptProposalWithOOBInvitation is used when introducee wants to provide an out-of-band request
	// AcceptProposalWithOOBInvitation swagger:route POST /introduce/{piid}/accept-proposal-with-oob-invitation introduce introduceAcceptProposalWithOOBInvitation
	//
	// Accepts a proposal with OOBRequest.
	//
	// Responses:
	//    default: genericError
	//        200: introduceAcceptProposalWithOOBResponse
	AcceptProposalWithOOBInvitation(ctx context.Context, in *IntroduceAcceptProposalWithOOBInvitationRequest, opts ...grpc.CallOption) (*IntroduceAcceptProposalWithOOBResponse, error)
	// AcceptProposal is used when introducee wants to accept a proposal without providing a OOBRequest
	// AcceptProposal swagger:route POST /introduce/{piid}/accept-proposal introduce introduceAcceptProposal
	//
	// Accepts a proposal.
	//
	// Responses:
	//        200: introduceAcceptProposalResponse
	AcceptProposal(ctx context.Context, in *IntroduceAcceptProposalRequest, opts ...grpc.CallOption) (*IntroduceAcceptProposalResponse, error)
	// AcceptRequestWithPublicOOBInvitation is used when introducer wants to provide a published out-of-band request
	// AcceptRequestWithPublicOOBInvitation swagger:route POST /introduce/{piid}/accept-request-with-public-oob-invitation introduce introduceAcceptRequestWithPublicOOBInvitation
	//
	// Accept a request with public OOBRequest.
	//
	// Responses:
	//        200: introduceAcceptRequestWithPublicOOBInvitationResponse
	AcceptRequestWithPublicOOBInvitation(ctx context.Context, in *IntroduceAcceptProposalWithOOBInvitationRequest, opts ...grpc.CallOption) (*IntroduceAcceptRequestWithPublicOOBInvitationResponse, error)
	// AcceptRequestWithRecipients is used when the introducer does not have a published out-of-band message on hand
	// but they are willing to introduce agents to each other
	// AcceptRequestWithRecipients swagger:route POST /introduce/{piid}/accept-request-with-recipients introduce introduceAcceptRequestWithRecipients
	//
	// Accept a request with recipients.
	//
	// Responses:
	//        200: introduceAcceptRequestWithRecipientsResponse
	AcceptRequestWithRecipients(ctx context.Context, in *IntroduceAcceptRequestWithRecipients, opts ...grpc.CallOption) (*IntroduceAcceptRequestWithRecipientsResponse, error)
	// DeclineProposal is used to reject the proposal
	// DeclineProposal swagger:route POST /introduce/{piid}/decline-proposal introduce introduceDeclineProposal
	//
	// Declines a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: introduceDeclineProposalResponse
	DeclineProposal(ctx context.Context, in *IntroduceDeclineProposalRequest, opts ...grpc.CallOption) (*IntroduceDeclineProposalRequest, error)
	// DeclineRequest swagger:route POST /introduce/{piid}/decline-request introduce introduceDeclineRequest
	//
	// Declines a request.
	//
	// Responses:
	//    default: genericError
	//        200: introduceDeclineRequestResponse
	DeclineRequest(ctx context.Context, in *IntroduceDeclineRequest, opts ...grpc.CallOption) (*IntroduceDeclineResponse, error)
	// AcceptProblemReport swagger:route POST /introduce/{piid}/accept-problem-report introduce introduceAcceptProblemReport
	//
	// Accepts a problem report.
	//
	// Responses:
	//        200: introduceAcceptProblemReportResponse
	AcceptProblemReport(ctx context.Context, in *IntroduceAcceptProblemReportRequest, opts ...grpc.CallOption) (*IntroduceAcceptProblemReportResponse, error)
}

IntroduceControllerClient is the client API for IntroduceController service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type IntroduceControllerServer

type IntroduceControllerServer interface {
	// Actions returns unfinished actions for the async usage.
	// Returns pending actions that have not yet to be executed or cancelled.
	// Actions swagger:route GET /introduce/actions introduce introduceActionsReq
	//
	// Returns pending actions that have not yet to be executed or cancelled.
	//
	// Responses:
	//        200: introduceActionsResponse
	Actions(context.Context, *IntroduceActionsRequest) (*IntroduceActionsResponse, error)
	// SendProposal sends a proposal to the introducees (the client has not published an out-of-band message)
	// SendProposal swagger:route POST /introduce/send-proposal introduce introduceSendProposalRequest
	//
	// Sends a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: introduceSendProposalResponse
	SendProposal(context.Context, *IntroduceSendProposalRequest) (*IntroduceSendProposalResponse, error)
	// SendProposalWithOOBInvitation sends a proposal to the introducee (the client has published an out-of-band request)
	// SendProposalWithOOBInvitation swagger:route POST /introduce/send-proposal-with-oob-invitation introduce introduceSendProposalWithOOBInvitationRequest
	//
	// Sends a proposal with OOBRequest.
	//
	// Responses:
	//        200: introduceSendProposalWithOOBInvitationResponse
	SendProposalWithOOBInvitation(context.Context, *IntroduceSendProposalWithOOBInvitationRequest) (*IntroduceSendProposalWithOOBInvitationResponse, error)
	// SendRequest sends a request showing that the introducee is willing to share their own out-of-band message
	// SendRequest swagger:route POST /introduce/send-request introduce introduceSendRequest
	//
	// Sends a request.
	//
	// Responses:
	//    default: genericError
	//        200: introduceSendResponse
	SendRequest(context.Context, *IntroduceSendProposalRequest) (*IntroduceSendProposalResponse, error)
	// AcceptProposalWithOOBInvitation is used when introducee wants to provide an out-of-band request
	// AcceptProposalWithOOBInvitation swagger:route POST /introduce/{piid}/accept-proposal-with-oob-invitation introduce introduceAcceptProposalWithOOBInvitation
	//
	// Accepts a proposal with OOBRequest.
	//
	// Responses:
	//    default: genericError
	//        200: introduceAcceptProposalWithOOBResponse
	AcceptProposalWithOOBInvitation(context.Context, *IntroduceAcceptProposalWithOOBInvitationRequest) (*IntroduceAcceptProposalWithOOBResponse, error)
	// AcceptProposal is used when introducee wants to accept a proposal without providing a OOBRequest
	// AcceptProposal swagger:route POST /introduce/{piid}/accept-proposal introduce introduceAcceptProposal
	//
	// Accepts a proposal.
	//
	// Responses:
	//        200: introduceAcceptProposalResponse
	AcceptProposal(context.Context, *IntroduceAcceptProposalRequest) (*IntroduceAcceptProposalResponse, error)
	// AcceptRequestWithPublicOOBInvitation is used when introducer wants to provide a published out-of-band request
	// AcceptRequestWithPublicOOBInvitation swagger:route POST /introduce/{piid}/accept-request-with-public-oob-invitation introduce introduceAcceptRequestWithPublicOOBInvitation
	//
	// Accept a request with public OOBRequest.
	//
	// Responses:
	//        200: introduceAcceptRequestWithPublicOOBInvitationResponse
	AcceptRequestWithPublicOOBInvitation(context.Context, *IntroduceAcceptProposalWithOOBInvitationRequest) (*IntroduceAcceptRequestWithPublicOOBInvitationResponse, error)
	// AcceptRequestWithRecipients is used when the introducer does not have a published out-of-band message on hand
	// but they are willing to introduce agents to each other
	// AcceptRequestWithRecipients swagger:route POST /introduce/{piid}/accept-request-with-recipients introduce introduceAcceptRequestWithRecipients
	//
	// Accept a request with recipients.
	//
	// Responses:
	//        200: introduceAcceptRequestWithRecipientsResponse
	AcceptRequestWithRecipients(context.Context, *IntroduceAcceptRequestWithRecipients) (*IntroduceAcceptRequestWithRecipientsResponse, error)
	// DeclineProposal is used to reject the proposal
	// DeclineProposal swagger:route POST /introduce/{piid}/decline-proposal introduce introduceDeclineProposal
	//
	// Declines a proposal.
	//
	// Responses:
	//    default: genericError
	//        200: introduceDeclineProposalResponse
	DeclineProposal(context.Context, *IntroduceDeclineProposalRequest) (*IntroduceDeclineProposalRequest, error)
	// DeclineRequest swagger:route POST /introduce/{piid}/decline-request introduce introduceDeclineRequest
	//
	// Declines a request.
	//
	// Responses:
	//    default: genericError
	//        200: introduceDeclineRequestResponse
	DeclineRequest(context.Context, *IntroduceDeclineRequest) (*IntroduceDeclineResponse, error)
	// AcceptProblemReport swagger:route POST /introduce/{piid}/accept-problem-report introduce introduceAcceptProblemReport
	//
	// Accepts a problem report.
	//
	// Responses:
	//        200: introduceAcceptProblemReportResponse
	AcceptProblemReport(context.Context, *IntroduceAcceptProblemReportRequest) (*IntroduceAcceptProblemReportResponse, error)
	// contains filtered or unexported methods
}

IntroduceControllerServer is the server API for IntroduceController service. All implementations must embed UnimplementedIntroduceControllerServer for forward compatibility

type IntroduceDeclineProposalRequest

type IntroduceDeclineProposalRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Reason is an explanation of why it was declined
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

IntroduceDeclineProposalRequest model

This is used for operation to decline a proposal.

swagger:parameters introduceDeclineProposal

func (*IntroduceDeclineProposalRequest) Descriptor deprecated

func (*IntroduceDeclineProposalRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceDeclineProposalRequest.ProtoReflect.Descriptor instead.

func (*IntroduceDeclineProposalRequest) GetPiid

func (*IntroduceDeclineProposalRequest) GetReason

func (x *IntroduceDeclineProposalRequest) GetReason() string

func (*IntroduceDeclineProposalRequest) ProtoMessage

func (*IntroduceDeclineProposalRequest) ProtoMessage()

func (*IntroduceDeclineProposalRequest) ProtoReflect

func (*IntroduceDeclineProposalRequest) Reset

func (*IntroduceDeclineProposalRequest) String

type IntroduceDeclineProposalResponse

type IntroduceDeclineProposalResponse struct {
	// contains filtered or unexported fields
}

IntroduceDeclineProposalResponse model

Represents a DeclineProposal response message.

swagger:response introduceDeclineProposalResponse

func (*IntroduceDeclineProposalResponse) Descriptor deprecated

func (*IntroduceDeclineProposalResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceDeclineProposalResponse.ProtoReflect.Descriptor instead.

func (*IntroduceDeclineProposalResponse) ProtoMessage

func (*IntroduceDeclineProposalResponse) ProtoMessage()

func (*IntroduceDeclineProposalResponse) ProtoReflect

func (*IntroduceDeclineProposalResponse) Reset

func (*IntroduceDeclineProposalResponse) String

type IntroduceDeclineRequest

type IntroduceDeclineRequest struct {

	// Protocol instance ID
	//
	// in: path
	// required: true
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// Reason is an explanation of why it was declined
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// contains filtered or unexported fields
}

IntroduceDeclineRequest model

This is used for operation to decline a request.

swagger:parameters introduceDeclineRequest

func (*IntroduceDeclineRequest) Descriptor deprecated

func (*IntroduceDeclineRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceDeclineRequest.ProtoReflect.Descriptor instead.

func (*IntroduceDeclineRequest) GetPiid

func (x *IntroduceDeclineRequest) GetPiid() string

func (*IntroduceDeclineRequest) GetReason

func (x *IntroduceDeclineRequest) GetReason() string

func (*IntroduceDeclineRequest) ProtoMessage

func (*IntroduceDeclineRequest) ProtoMessage()

func (*IntroduceDeclineRequest) ProtoReflect

func (x *IntroduceDeclineRequest) ProtoReflect() protoreflect.Message

func (*IntroduceDeclineRequest) Reset

func (x *IntroduceDeclineRequest) Reset()

func (*IntroduceDeclineRequest) String

func (x *IntroduceDeclineRequest) String() string

type IntroduceDeclineResponse

type IntroduceDeclineResponse struct {
	// contains filtered or unexported fields
}

IntroduceDeclineResponse model

Represents a DeclineRequest response message.

swagger:response introduceDeclineResponse

func (*IntroduceDeclineResponse) Descriptor deprecated

func (*IntroduceDeclineResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceDeclineResponse.ProtoReflect.Descriptor instead.

func (*IntroduceDeclineResponse) ProtoMessage

func (*IntroduceDeclineResponse) ProtoMessage()

func (*IntroduceDeclineResponse) ProtoReflect

func (x *IntroduceDeclineResponse) ProtoReflect() protoreflect.Message

func (*IntroduceDeclineResponse) Reset

func (x *IntroduceDeclineResponse) Reset()

func (*IntroduceDeclineResponse) String

func (x *IntroduceDeclineResponse) String() string

type IntroduceSendProposalRequest

type IntroduceSendProposalRequest struct {
	Recipients []*types1.Recipient `protobuf:"bytes,1,rep,name=recipients,proto3" json:"recipients,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendProposalRequest model

This is used for operation to send a proposal.

func (*IntroduceSendProposalRequest) Descriptor deprecated

func (*IntroduceSendProposalRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceSendProposalRequest.ProtoReflect.Descriptor instead.

func (*IntroduceSendProposalRequest) GetRecipients

func (x *IntroduceSendProposalRequest) GetRecipients() []*types1.Recipient

func (*IntroduceSendProposalRequest) ProtoMessage

func (*IntroduceSendProposalRequest) ProtoMessage()

func (*IntroduceSendProposalRequest) ProtoReflect

func (*IntroduceSendProposalRequest) Reset

func (x *IntroduceSendProposalRequest) Reset()

func (*IntroduceSendProposalRequest) String

type IntroduceSendProposalResponse

type IntroduceSendProposalResponse struct {
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendProposalResponse model

Represents a SendProposal response message.

func (*IntroduceSendProposalResponse) Descriptor deprecated

func (*IntroduceSendProposalResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceSendProposalResponse.ProtoReflect.Descriptor instead.

func (*IntroduceSendProposalResponse) GetPiid

func (*IntroduceSendProposalResponse) ProtoMessage

func (*IntroduceSendProposalResponse) ProtoMessage()

func (*IntroduceSendProposalResponse) ProtoReflect

func (*IntroduceSendProposalResponse) Reset

func (x *IntroduceSendProposalResponse) Reset()

func (*IntroduceSendProposalResponse) String

type IntroduceSendProposalWithOOBInvitationRequest

type IntroduceSendProposalWithOOBInvitationRequest struct {

	// Request is the out-of-band protocol's 'request' message.
	// required: true
	Invitation *types.Invitation `protobuf:"bytes,1,opt,name=invitation,proto3" json:"invitation,omitempty"`
	// Recipient specifies to whom proposal will be sent
	// required: true
	Recipient *types1.Recipient `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendProposalWithOOBInvitationRequest model

This is used for operation to send a proposal with OOBInvitation.

func (*IntroduceSendProposalWithOOBInvitationRequest) Descriptor deprecated

Deprecated: Use IntroduceSendProposalWithOOBInvitationRequest.ProtoReflect.Descriptor instead.

func (*IntroduceSendProposalWithOOBInvitationRequest) GetInvitation

func (*IntroduceSendProposalWithOOBInvitationRequest) GetRecipient

func (*IntroduceSendProposalWithOOBInvitationRequest) ProtoMessage

func (*IntroduceSendProposalWithOOBInvitationRequest) ProtoReflect

func (*IntroduceSendProposalWithOOBInvitationRequest) Reset

func (*IntroduceSendProposalWithOOBInvitationRequest) String

type IntroduceSendProposalWithOOBInvitationResponse

type IntroduceSendProposalWithOOBInvitationResponse struct {
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendProposalWithOOBInvitationResponse model

Represents a SendProposalWithOOBInvitation response message.

func (*IntroduceSendProposalWithOOBInvitationResponse) Descriptor deprecated

Deprecated: Use IntroduceSendProposalWithOOBInvitationResponse.ProtoReflect.Descriptor instead.

func (*IntroduceSendProposalWithOOBInvitationResponse) GetPiid

func (*IntroduceSendProposalWithOOBInvitationResponse) ProtoMessage

func (*IntroduceSendProposalWithOOBInvitationResponse) ProtoReflect

func (*IntroduceSendProposalWithOOBInvitationResponse) Reset

func (*IntroduceSendProposalWithOOBInvitationResponse) String

type IntroduceSendRequest

type IntroduceSendRequest struct {

	// MyDID sender's did
	// required: true
	MyDid string `protobuf:"bytes,1,opt,name=my_did,json=myDid,proto3" json:"my_did,omitempty"`
	// TheirDID receiver's did
	// required: true
	TheirDid string `protobuf:"bytes,2,opt,name=their_did,json=theirDid,proto3" json:"their_did,omitempty"`
	// PleaseIntroduceTo keeps information about the introduction
	// required: true
	PleaseIntroduceTo *types1.PleaseIntroduceTo `protobuf:"bytes,3,opt,name=please_introduce_to,json=pleaseIntroduceTo,proto3" json:"please_introduce_to,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendRequest model

This is used for operation to send a request.

func (*IntroduceSendRequest) Descriptor deprecated

func (*IntroduceSendRequest) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceSendRequest.ProtoReflect.Descriptor instead.

func (*IntroduceSendRequest) GetMyDid

func (x *IntroduceSendRequest) GetMyDid() string

func (*IntroduceSendRequest) GetPleaseIntroduceTo

func (x *IntroduceSendRequest) GetPleaseIntroduceTo() *types1.PleaseIntroduceTo

func (*IntroduceSendRequest) GetTheirDid

func (x *IntroduceSendRequest) GetTheirDid() string

func (*IntroduceSendRequest) ProtoMessage

func (*IntroduceSendRequest) ProtoMessage()

func (*IntroduceSendRequest) ProtoReflect

func (x *IntroduceSendRequest) ProtoReflect() protoreflect.Message

func (*IntroduceSendRequest) Reset

func (x *IntroduceSendRequest) Reset()

func (*IntroduceSendRequest) String

func (x *IntroduceSendRequest) String() string

type IntroduceSendResponse

type IntroduceSendResponse struct {

	// PIID Protocol instance ID. It can be used as a correlation ID
	Piid string `protobuf:"bytes,1,opt,name=piid,proto3" json:"piid,omitempty"`
	// contains filtered or unexported fields
}

IntroduceSendResponse model

Represents a SendRequest response message.

func (*IntroduceSendResponse) Descriptor deprecated

func (*IntroduceSendResponse) Descriptor() ([]byte, []int)

Deprecated: Use IntroduceSendResponse.ProtoReflect.Descriptor instead.

func (*IntroduceSendResponse) GetPiid

func (x *IntroduceSendResponse) GetPiid() string

func (*IntroduceSendResponse) ProtoMessage

func (*IntroduceSendResponse) ProtoMessage()

func (*IntroduceSendResponse) ProtoReflect

func (x *IntroduceSendResponse) ProtoReflect() protoreflect.Message

func (*IntroduceSendResponse) Reset

func (x *IntroduceSendResponse) Reset()

func (*IntroduceSendResponse) String

func (x *IntroduceSendResponse) String() string

type UnimplementedIntroduceControllerServer

type UnimplementedIntroduceControllerServer struct {
}

UnimplementedIntroduceControllerServer must be embedded to have forward compatible implementations.

func (UnimplementedIntroduceControllerServer) Actions

func (UnimplementedIntroduceControllerServer) DeclineRequest

type UnsafeIntroduceControllerServer

type UnsafeIntroduceControllerServer interface {
	// contains filtered or unexported methods
}

UnsafeIntroduceControllerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IntroduceControllerServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL