Documentation ¶
Index ¶
- Variables
- func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
- type AckMessagesRequest
- func (*AckMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AckMessagesRequest) GetMessageIds() []*MessageId
- func (x *AckMessagesRequest) GetRendezvousKey() *RendezvousKey
- func (*AckMessagesRequest) ProtoMessage()
- func (x *AckMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *AckMessagesRequest) Reset()
- func (x *AckMessagesRequest) String() string
- func (m *AckMessagesRequest) Validate() error
- type AckMessagesRequestValidationError
- func (e AckMessagesRequestValidationError) Cause() error
- func (e AckMessagesRequestValidationError) Error() string
- func (e AckMessagesRequestValidationError) ErrorName() string
- func (e AckMessagesRequestValidationError) Field() string
- func (e AckMessagesRequestValidationError) Key() bool
- func (e AckMessagesRequestValidationError) Reason() string
- type AckMesssagesResponse
- func (*AckMesssagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AckMesssagesResponse) GetResult() AckMesssagesResponse_Result
- func (*AckMesssagesResponse) ProtoMessage()
- func (x *AckMesssagesResponse) ProtoReflect() protoreflect.Message
- func (x *AckMesssagesResponse) Reset()
- func (x *AckMesssagesResponse) String() string
- func (m *AckMesssagesResponse) Validate() error
- type AckMesssagesResponseValidationError
- func (e AckMesssagesResponseValidationError) Cause() error
- func (e AckMesssagesResponseValidationError) Error() string
- func (e AckMesssagesResponseValidationError) ErrorName() string
- func (e AckMesssagesResponseValidationError) Field() string
- func (e AckMesssagesResponseValidationError) Key() bool
- func (e AckMesssagesResponseValidationError) Reason() string
- type AckMesssagesResponse_Result
- func (AckMesssagesResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x AckMesssagesResponse_Result) Enum() *AckMesssagesResponse_Result
- func (AckMesssagesResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x AckMesssagesResponse_Result) Number() protoreflect.EnumNumber
- func (x AckMesssagesResponse_Result) String() string
- func (AckMesssagesResponse_Result) Type() protoreflect.EnumType
- type AirdropReceived
- func (*AirdropReceived) Descriptor() ([]byte, []int)deprecated
- func (x *AirdropReceived) GetAirdropType() v2.AirdropType
- func (x *AirdropReceived) GetExchangeData() *v2.ExchangeData
- func (x *AirdropReceived) GetTimestamp() *timestamppb.Timestamp
- func (*AirdropReceived) ProtoMessage()
- func (x *AirdropReceived) ProtoReflect() protoreflect.Message
- func (x *AirdropReceived) Reset()
- func (x *AirdropReceived) String() string
- func (m *AirdropReceived) Validate() error
- type AirdropReceivedValidationError
- func (e AirdropReceivedValidationError) Cause() error
- func (e AirdropReceivedValidationError) Error() string
- func (e AirdropReceivedValidationError) ErrorName() string
- func (e AirdropReceivedValidationError) Field() string
- func (e AirdropReceivedValidationError) Key() bool
- func (e AirdropReceivedValidationError) Reason() string
- type ClientPong
- func (*ClientPong) Descriptor() ([]byte, []int)deprecated
- func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp
- func (*ClientPong) ProtoMessage()
- func (x *ClientPong) ProtoReflect() protoreflect.Message
- func (x *ClientPong) Reset()
- func (x *ClientPong) String() string
- func (m *ClientPong) Validate() error
- type ClientPongValidationError
- type ClientRejectedLogin
- func (*ClientRejectedLogin) Descriptor() ([]byte, []int)deprecated
- func (x *ClientRejectedLogin) GetTimestamp() *timestamppb.Timestamp
- func (*ClientRejectedLogin) ProtoMessage()
- func (x *ClientRejectedLogin) ProtoReflect() protoreflect.Message
- func (x *ClientRejectedLogin) Reset()
- func (x *ClientRejectedLogin) String() string
- func (m *ClientRejectedLogin) Validate() error
- type ClientRejectedLoginValidationError
- func (e ClientRejectedLoginValidationError) Cause() error
- func (e ClientRejectedLoginValidationError) Error() string
- func (e ClientRejectedLoginValidationError) ErrorName() string
- func (e ClientRejectedLoginValidationError) Field() string
- func (e ClientRejectedLoginValidationError) Key() bool
- func (e ClientRejectedLoginValidationError) Reason() string
- type ClientRejectedPayment
- func (*ClientRejectedPayment) Descriptor() ([]byte, []int)deprecated
- func (x *ClientRejectedPayment) GetIntentId() *v1.IntentId
- func (*ClientRejectedPayment) ProtoMessage()
- func (x *ClientRejectedPayment) ProtoReflect() protoreflect.Message
- func (x *ClientRejectedPayment) Reset()
- func (x *ClientRejectedPayment) String() string
- func (m *ClientRejectedPayment) Validate() error
- type ClientRejectedPaymentValidationError
- func (e ClientRejectedPaymentValidationError) Cause() error
- func (e ClientRejectedPaymentValidationError) Error() string
- func (e ClientRejectedPaymentValidationError) ErrorName() string
- func (e ClientRejectedPaymentValidationError) Field() string
- func (e ClientRejectedPaymentValidationError) Key() bool
- func (e ClientRejectedPaymentValidationError) Reason() string
- type CodeScanned
- func (*CodeScanned) Descriptor() ([]byte, []int)deprecated
- func (x *CodeScanned) GetTimestamp() *timestamppb.Timestamp
- func (*CodeScanned) ProtoMessage()
- func (x *CodeScanned) ProtoReflect() protoreflect.Message
- func (x *CodeScanned) Reset()
- func (x *CodeScanned) String() string
- func (m *CodeScanned) Validate() error
- type CodeScannedValidationError
- func (e CodeScannedValidationError) Cause() error
- func (e CodeScannedValidationError) Error() string
- func (e CodeScannedValidationError) ErrorName() string
- func (e CodeScannedValidationError) Field() string
- func (e CodeScannedValidationError) Key() bool
- func (e CodeScannedValidationError) Reason() string
- type IntentSubmitted
- func (*IntentSubmitted) Descriptor() ([]byte, []int)deprecated
- func (x *IntentSubmitted) GetIntentId() *v1.IntentId
- func (x *IntentSubmitted) GetMetadata() *v2.Metadata
- func (*IntentSubmitted) ProtoMessage()
- func (x *IntentSubmitted) ProtoReflect() protoreflect.Message
- func (x *IntentSubmitted) Reset()
- func (x *IntentSubmitted) String() string
- func (m *IntentSubmitted) Validate() error
- type IntentSubmittedValidationError
- func (e IntentSubmittedValidationError) Cause() error
- func (e IntentSubmittedValidationError) Error() string
- func (e IntentSubmittedValidationError) ErrorName() string
- func (e IntentSubmittedValidationError) Field() string
- func (e IntentSubmittedValidationError) Key() bool
- func (e IntentSubmittedValidationError) Reason() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAirdropReceived() *AirdropReceived
- func (x *Message) GetClientRejectedLogin() *ClientRejectedLogin
- func (x *Message) GetClientRejectedPayment() *ClientRejectedPayment
- func (x *Message) GetCodeScanned() *CodeScanned
- func (x *Message) GetId() *MessageId
- func (x *Message) GetIntentSubmitted() *IntentSubmitted
- func (m *Message) GetKind() isMessage_Kind
- func (x *Message) GetRequestToGrabBill() *RequestToGrabBill
- func (x *Message) GetRequestToLogin() *RequestToLogin
- func (x *Message) GetRequestToReceiveBill() *RequestToReceiveBill
- func (x *Message) GetSendMessageRequestSignature() *v1.Signature
- func (x *Message) GetWebhookCalled() *WebhookCalled
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- func (m *Message) Validate() error
- type MessageId
- type MessageIdValidationError
- type MessageValidationError
- type Message_AirdropReceived
- type Message_ClientRejectedLogin
- type Message_ClientRejectedPayment
- type Message_CodeScanned
- type Message_IntentSubmitted
- type Message_RequestToGrabBill
- type Message_RequestToLogin
- type Message_RequestToReceiveBill
- type Message_WebhookCalled
- type MessagingClient
- type MessagingServer
- type Messaging_OpenMessageStreamClient
- type Messaging_OpenMessageStreamServer
- type Messaging_OpenMessageStreamWithKeepAliveClient
- type Messaging_OpenMessageStreamWithKeepAliveServer
- type OpenMessageStreamRequest
- func (*OpenMessageStreamRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenMessageStreamRequest) GetRendezvousKey() *RendezvousKey
- func (x *OpenMessageStreamRequest) GetSignature() *v1.Signature
- func (*OpenMessageStreamRequest) ProtoMessage()
- func (x *OpenMessageStreamRequest) ProtoReflect() protoreflect.Message
- func (x *OpenMessageStreamRequest) Reset()
- func (x *OpenMessageStreamRequest) String() string
- func (m *OpenMessageStreamRequest) Validate() error
- type OpenMessageStreamRequestValidationError
- func (e OpenMessageStreamRequestValidationError) Cause() error
- func (e OpenMessageStreamRequestValidationError) Error() string
- func (e OpenMessageStreamRequestValidationError) ErrorName() string
- func (e OpenMessageStreamRequestValidationError) Field() string
- func (e OpenMessageStreamRequestValidationError) Key() bool
- func (e OpenMessageStreamRequestValidationError) Reason() string
- type OpenMessageStreamResponse
- func (*OpenMessageStreamResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenMessageStreamResponse) GetMessages() []*Message
- func (*OpenMessageStreamResponse) ProtoMessage()
- func (x *OpenMessageStreamResponse) ProtoReflect() protoreflect.Message
- func (x *OpenMessageStreamResponse) Reset()
- func (x *OpenMessageStreamResponse) String() string
- func (m *OpenMessageStreamResponse) Validate() error
- type OpenMessageStreamResponseValidationError
- func (e OpenMessageStreamResponseValidationError) Cause() error
- func (e OpenMessageStreamResponseValidationError) Error() string
- func (e OpenMessageStreamResponseValidationError) ErrorName() string
- func (e OpenMessageStreamResponseValidationError) Field() string
- func (e OpenMessageStreamResponseValidationError) Key() bool
- func (e OpenMessageStreamResponseValidationError) Reason() string
- type OpenMessageStreamWithKeepAliveRequest
- func (*OpenMessageStreamWithKeepAliveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenMessageStreamWithKeepAliveRequest) GetPong() *ClientPong
- func (x *OpenMessageStreamWithKeepAliveRequest) GetRequest() *OpenMessageStreamRequest
- func (m *OpenMessageStreamWithKeepAliveRequest) GetRequestOrPong() isOpenMessageStreamWithKeepAliveRequest_RequestOrPong
- func (*OpenMessageStreamWithKeepAliveRequest) ProtoMessage()
- func (x *OpenMessageStreamWithKeepAliveRequest) ProtoReflect() protoreflect.Message
- func (x *OpenMessageStreamWithKeepAliveRequest) Reset()
- func (x *OpenMessageStreamWithKeepAliveRequest) String() string
- func (m *OpenMessageStreamWithKeepAliveRequest) Validate() error
- type OpenMessageStreamWithKeepAliveRequestValidationError
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) Cause() error
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) Error() string
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) ErrorName() string
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) Field() string
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) Key() bool
- func (e OpenMessageStreamWithKeepAliveRequestValidationError) Reason() string
- type OpenMessageStreamWithKeepAliveRequest_Pong
- type OpenMessageStreamWithKeepAliveRequest_Request
- type OpenMessageStreamWithKeepAliveResponse
- func (*OpenMessageStreamWithKeepAliveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OpenMessageStreamWithKeepAliveResponse) GetPing() *ServerPing
- func (x *OpenMessageStreamWithKeepAliveResponse) GetResponse() *OpenMessageStreamResponse
- func (m *OpenMessageStreamWithKeepAliveResponse) GetResponseOrPing() isOpenMessageStreamWithKeepAliveResponse_ResponseOrPing
- func (*OpenMessageStreamWithKeepAliveResponse) ProtoMessage()
- func (x *OpenMessageStreamWithKeepAliveResponse) ProtoReflect() protoreflect.Message
- func (x *OpenMessageStreamWithKeepAliveResponse) Reset()
- func (x *OpenMessageStreamWithKeepAliveResponse) String() string
- func (m *OpenMessageStreamWithKeepAliveResponse) Validate() error
- type OpenMessageStreamWithKeepAliveResponseValidationError
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) Cause() error
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) Error() string
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) ErrorName() string
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) Field() string
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) Key() bool
- func (e OpenMessageStreamWithKeepAliveResponseValidationError) Reason() string
- type OpenMessageStreamWithKeepAliveResponse_Ping
- type OpenMessageStreamWithKeepAliveResponse_Response
- type PollMessagesRequest
- func (*PollMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PollMessagesRequest) GetRendezvousKey() *RendezvousKey
- func (x *PollMessagesRequest) GetSignature() *v1.Signature
- func (*PollMessagesRequest) ProtoMessage()
- func (x *PollMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *PollMessagesRequest) Reset()
- func (x *PollMessagesRequest) String() string
- func (m *PollMessagesRequest) Validate() error
- type PollMessagesRequestValidationError
- func (e PollMessagesRequestValidationError) Cause() error
- func (e PollMessagesRequestValidationError) Error() string
- func (e PollMessagesRequestValidationError) ErrorName() string
- func (e PollMessagesRequestValidationError) Field() string
- func (e PollMessagesRequestValidationError) Key() bool
- func (e PollMessagesRequestValidationError) Reason() string
- type PollMessagesResponse
- func (*PollMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PollMessagesResponse) GetMessages() []*Message
- func (*PollMessagesResponse) ProtoMessage()
- func (x *PollMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *PollMessagesResponse) Reset()
- func (x *PollMessagesResponse) String() string
- func (m *PollMessagesResponse) Validate() error
- type PollMessagesResponseValidationError
- func (e PollMessagesResponseValidationError) Cause() error
- func (e PollMessagesResponseValidationError) Error() string
- func (e PollMessagesResponseValidationError) ErrorName() string
- func (e PollMessagesResponseValidationError) Field() string
- func (e PollMessagesResponseValidationError) Key() bool
- func (e PollMessagesResponseValidationError) Reason() string
- type RendezvousKey
- func (*RendezvousKey) Descriptor() ([]byte, []int)deprecated
- func (x *RendezvousKey) GetValue() []byte
- func (*RendezvousKey) ProtoMessage()
- func (x *RendezvousKey) ProtoReflect() protoreflect.Message
- func (x *RendezvousKey) Reset()
- func (x *RendezvousKey) String() string
- func (m *RendezvousKey) Validate() error
- type RendezvousKeyValidationError
- func (e RendezvousKeyValidationError) Cause() error
- func (e RendezvousKeyValidationError) Error() string
- func (e RendezvousKeyValidationError) ErrorName() string
- func (e RendezvousKeyValidationError) Field() string
- func (e RendezvousKeyValidationError) Key() bool
- func (e RendezvousKeyValidationError) Reason() string
- type RequestToGrabBill
- func (*RequestToGrabBill) Descriptor() ([]byte, []int)deprecated
- func (x *RequestToGrabBill) GetRequestorAccount() *v1.SolanaAccountId
- func (*RequestToGrabBill) ProtoMessage()
- func (x *RequestToGrabBill) ProtoReflect() protoreflect.Message
- func (x *RequestToGrabBill) Reset()
- func (x *RequestToGrabBill) String() string
- func (m *RequestToGrabBill) Validate() error
- type RequestToGrabBillValidationError
- func (e RequestToGrabBillValidationError) Cause() error
- func (e RequestToGrabBillValidationError) Error() string
- func (e RequestToGrabBillValidationError) ErrorName() string
- func (e RequestToGrabBillValidationError) Field() string
- func (e RequestToGrabBillValidationError) Key() bool
- func (e RequestToGrabBillValidationError) Reason() string
- type RequestToLogin
- func (*RequestToLogin) Descriptor() ([]byte, []int)deprecated
- func (x *RequestToLogin) GetDomain() *v1.Domain
- func (x *RequestToLogin) GetRendezvousKey() *RendezvousKey
- func (x *RequestToLogin) GetSignature() *v1.Signature
- func (x *RequestToLogin) GetVerifier() *v1.SolanaAccountId
- func (*RequestToLogin) ProtoMessage()
- func (x *RequestToLogin) ProtoReflect() protoreflect.Message
- func (x *RequestToLogin) Reset()
- func (x *RequestToLogin) String() string
- func (m *RequestToLogin) Validate() error
- type RequestToLoginValidationError
- func (e RequestToLoginValidationError) Cause() error
- func (e RequestToLoginValidationError) Error() string
- func (e RequestToLoginValidationError) ErrorName() string
- func (e RequestToLoginValidationError) Field() string
- func (e RequestToLoginValidationError) Key() bool
- func (e RequestToLoginValidationError) Reason() string
- type RequestToReceiveBill
- func (*RequestToReceiveBill) Descriptor() ([]byte, []int)deprecated
- func (x *RequestToReceiveBill) GetAdditionalFees() []*v2.AdditionalFeePayment
- func (x *RequestToReceiveBill) GetDomain() *v1.Domain
- func (x *RequestToReceiveBill) GetExact() *v2.ExchangeData
- func (m *RequestToReceiveBill) GetExchangeData() isRequestToReceiveBill_ExchangeData
- func (x *RequestToReceiveBill) GetPartial() *v2.ExchangeDataWithoutRate
- func (x *RequestToReceiveBill) GetRendezvousKey() *RendezvousKey
- func (x *RequestToReceiveBill) GetRequestorAccount() *v1.SolanaAccountId
- func (x *RequestToReceiveBill) GetSignature() *v1.Signature
- func (x *RequestToReceiveBill) GetVerifier() *v1.SolanaAccountId
- func (*RequestToReceiveBill) ProtoMessage()
- func (x *RequestToReceiveBill) ProtoReflect() protoreflect.Message
- func (x *RequestToReceiveBill) Reset()
- func (x *RequestToReceiveBill) String() string
- func (m *RequestToReceiveBill) Validate() error
- type RequestToReceiveBillValidationError
- func (e RequestToReceiveBillValidationError) Cause() error
- func (e RequestToReceiveBillValidationError) Error() string
- func (e RequestToReceiveBillValidationError) ErrorName() string
- func (e RequestToReceiveBillValidationError) Field() string
- func (e RequestToReceiveBillValidationError) Key() bool
- func (e RequestToReceiveBillValidationError) Reason() string
- type RequestToReceiveBill_Exact
- type RequestToReceiveBill_Partial
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetMessage() *Message
- func (x *SendMessageRequest) GetRendezvousKey() *RendezvousKey
- func (x *SendMessageRequest) GetSignature() *v1.Signature
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- func (m *SendMessageRequest) Validate() error
- type SendMessageRequestValidationError
- func (e SendMessageRequestValidationError) Cause() error
- func (e SendMessageRequestValidationError) Error() string
- func (e SendMessageRequestValidationError) ErrorName() string
- func (e SendMessageRequestValidationError) Field() string
- func (e SendMessageRequestValidationError) Key() bool
- func (e SendMessageRequestValidationError) Reason() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetMessageId() *MessageId
- func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- func (m *SendMessageResponse) Validate() error
- type SendMessageResponseValidationError
- func (e SendMessageResponseValidationError) Cause() error
- func (e SendMessageResponseValidationError) Error() string
- func (e SendMessageResponseValidationError) ErrorName() string
- func (e SendMessageResponseValidationError) Field() string
- func (e SendMessageResponseValidationError) Key() bool
- func (e SendMessageResponseValidationError) Reason() string
- type SendMessageResponse_Result
- func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
- func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
- func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)deprecated
- func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
- func (x SendMessageResponse_Result) String() string
- func (SendMessageResponse_Result) Type() protoreflect.EnumType
- type ServerPing
- func (*ServerPing) Descriptor() ([]byte, []int)deprecated
- func (x *ServerPing) GetPingDelay() *durationpb.Duration
- func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp
- func (*ServerPing) ProtoMessage()
- func (x *ServerPing) ProtoReflect() protoreflect.Message
- func (x *ServerPing) Reset()
- func (x *ServerPing) String() string
- func (m *ServerPing) Validate() error
- type ServerPingValidationError
- type UnimplementedMessagingServer
- func (UnimplementedMessagingServer) AckMessages(context.Context, *AckMessagesRequest) (*AckMesssagesResponse, error)
- func (UnimplementedMessagingServer) OpenMessageStream(*OpenMessageStreamRequest, Messaging_OpenMessageStreamServer) error
- func (UnimplementedMessagingServer) OpenMessageStreamWithKeepAlive(Messaging_OpenMessageStreamWithKeepAliveServer) error
- func (UnimplementedMessagingServer) PollMessages(context.Context, *PollMessagesRequest) (*PollMessagesResponse, error)
- func (UnimplementedMessagingServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- type UnsafeMessagingServer
- type WebhookCalled
- func (*WebhookCalled) Descriptor() ([]byte, []int)deprecated
- func (x *WebhookCalled) GetTimestamp() *timestamppb.Timestamp
- func (*WebhookCalled) ProtoMessage()
- func (x *WebhookCalled) ProtoReflect() protoreflect.Message
- func (x *WebhookCalled) Reset()
- func (x *WebhookCalled) String() string
- func (m *WebhookCalled) Validate() error
- type WebhookCalledValidationError
- func (e WebhookCalledValidationError) Cause() error
- func (e WebhookCalledValidationError) Error() string
- func (e WebhookCalledValidationError) ErrorName() string
- func (e WebhookCalledValidationError) Field() string
- func (e WebhookCalledValidationError) Key() bool
- func (e WebhookCalledValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var ( AckMesssagesResponse_Result_name = map[int32]string{ 0: "OK", } AckMesssagesResponse_Result_value = map[string]int32{ "OK": 0, } )
Enum value maps for AckMesssagesResponse_Result.
var ( SendMessageResponse_Result_name = map[int32]string{ 0: "OK", 1: "NO_ACTIVE_STREAM", } SendMessageResponse_Result_value = map[string]int32{ "OK": 0, "NO_ACTIVE_STREAM": 1, } )
Enum value maps for SendMessageResponse_Result.
var File_messaging_v1_messaging_service_proto protoreflect.FileDescriptor
var Messaging_ServiceDesc = grpc.ServiceDesc{ ServiceName: "code.messaging.v1.Messaging", HandlerType: (*MessagingServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "PollMessages", Handler: _Messaging_PollMessages_Handler, }, { MethodName: "AckMessages", Handler: _Messaging_AckMessages_Handler, }, { MethodName: "SendMessage", Handler: _Messaging_SendMessage_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "OpenMessageStream", Handler: _Messaging_OpenMessageStream_Handler, ServerStreams: true, }, { StreamName: "OpenMessageStreamWithKeepAlive", Handler: _Messaging_OpenMessageStreamWithKeepAlive_Handler, ServerStreams: true, ClientStreams: true, }, }, Metadata: "messaging/v1/messaging_service.proto", }
Messaging_ServiceDesc is the grpc.ServiceDesc for Messaging service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMessagingServer ¶
func RegisterMessagingServer(s grpc.ServiceRegistrar, srv MessagingServer)
Types ¶
type AckMessagesRequest ¶
type AckMessagesRequest struct { RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` MessageIds []*MessageId `protobuf:"bytes,2,rep,name=message_ids,json=messageIds,proto3" json:"message_ids,omitempty"` // contains filtered or unexported fields }
func (*AckMessagesRequest) Descriptor
deprecated
func (*AckMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AckMessagesRequest.ProtoReflect.Descriptor instead.
func (*AckMessagesRequest) GetMessageIds ¶
func (x *AckMessagesRequest) GetMessageIds() []*MessageId
func (*AckMessagesRequest) GetRendezvousKey ¶
func (x *AckMessagesRequest) GetRendezvousKey() *RendezvousKey
func (*AckMessagesRequest) ProtoMessage ¶
func (*AckMessagesRequest) ProtoMessage()
func (*AckMessagesRequest) ProtoReflect ¶
func (x *AckMessagesRequest) ProtoReflect() protoreflect.Message
func (*AckMessagesRequest) Reset ¶
func (x *AckMessagesRequest) Reset()
func (*AckMessagesRequest) String ¶
func (x *AckMessagesRequest) String() string
func (*AckMessagesRequest) Validate ¶
func (m *AckMessagesRequest) Validate() error
Validate checks the field values on AckMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AckMessagesRequestValidationError ¶
type AckMessagesRequestValidationError struct {
// contains filtered or unexported fields
}
AckMessagesRequestValidationError is the validation error returned by AckMessagesRequest.Validate if the designated constraints aren't met.
func (AckMessagesRequestValidationError) Cause ¶
func (e AckMessagesRequestValidationError) Cause() error
Cause function returns cause value.
func (AckMessagesRequestValidationError) Error ¶
func (e AckMessagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AckMessagesRequestValidationError) ErrorName ¶
func (e AckMessagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AckMessagesRequestValidationError) Field ¶
func (e AckMessagesRequestValidationError) Field() string
Field function returns field value.
func (AckMessagesRequestValidationError) Key ¶
func (e AckMessagesRequestValidationError) Key() bool
Key function returns key value.
func (AckMessagesRequestValidationError) Reason ¶
func (e AckMessagesRequestValidationError) Reason() string
Reason function returns reason value.
type AckMesssagesResponse ¶
type AckMesssagesResponse struct { Result AckMesssagesResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.messaging.v1.AckMesssagesResponse_Result" json:"result,omitempty"` // contains filtered or unexported fields }
func (*AckMesssagesResponse) Descriptor
deprecated
func (*AckMesssagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AckMesssagesResponse.ProtoReflect.Descriptor instead.
func (*AckMesssagesResponse) GetResult ¶
func (x *AckMesssagesResponse) GetResult() AckMesssagesResponse_Result
func (*AckMesssagesResponse) ProtoMessage ¶
func (*AckMesssagesResponse) ProtoMessage()
func (*AckMesssagesResponse) ProtoReflect ¶
func (x *AckMesssagesResponse) ProtoReflect() protoreflect.Message
func (*AckMesssagesResponse) Reset ¶
func (x *AckMesssagesResponse) Reset()
func (*AckMesssagesResponse) String ¶
func (x *AckMesssagesResponse) String() string
func (*AckMesssagesResponse) Validate ¶
func (m *AckMesssagesResponse) Validate() error
Validate checks the field values on AckMesssagesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AckMesssagesResponseValidationError ¶
type AckMesssagesResponseValidationError struct {
// contains filtered or unexported fields
}
AckMesssagesResponseValidationError is the validation error returned by AckMesssagesResponse.Validate if the designated constraints aren't met.
func (AckMesssagesResponseValidationError) Cause ¶
func (e AckMesssagesResponseValidationError) Cause() error
Cause function returns cause value.
func (AckMesssagesResponseValidationError) Error ¶
func (e AckMesssagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (AckMesssagesResponseValidationError) ErrorName ¶
func (e AckMesssagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (AckMesssagesResponseValidationError) Field ¶
func (e AckMesssagesResponseValidationError) Field() string
Field function returns field value.
func (AckMesssagesResponseValidationError) Key ¶
func (e AckMesssagesResponseValidationError) Key() bool
Key function returns key value.
func (AckMesssagesResponseValidationError) Reason ¶
func (e AckMesssagesResponseValidationError) Reason() string
Reason function returns reason value.
type AckMesssagesResponse_Result ¶
type AckMesssagesResponse_Result int32
const (
AckMesssagesResponse_OK AckMesssagesResponse_Result = 0
)
func (AckMesssagesResponse_Result) Descriptor ¶
func (AckMesssagesResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (AckMesssagesResponse_Result) Enum ¶
func (x AckMesssagesResponse_Result) Enum() *AckMesssagesResponse_Result
func (AckMesssagesResponse_Result) EnumDescriptor
deprecated
func (AckMesssagesResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use AckMesssagesResponse_Result.Descriptor instead.
func (AckMesssagesResponse_Result) Number ¶
func (x AckMesssagesResponse_Result) Number() protoreflect.EnumNumber
func (AckMesssagesResponse_Result) String ¶
func (x AckMesssagesResponse_Result) String() string
func (AckMesssagesResponse_Result) Type ¶
func (AckMesssagesResponse_Result) Type() protoreflect.EnumType
type AirdropReceived ¶
type AirdropReceived struct { // The type of airdrop received AirdropType v2.AirdropType `` /* 132-byte string literal not displayed */ // Exchange data relating to the amount of Kin and fiat value of the airdrop ExchangeData *v2.ExchangeData `protobuf:"bytes,2,opt,name=exchange_data,json=exchangeData,proto3" json:"exchange_data,omitempty"` // Time the airdrop was received Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Client has received an aidrop from server
This message type is only initiated by server.
func (*AirdropReceived) Descriptor
deprecated
func (*AirdropReceived) Descriptor() ([]byte, []int)
Deprecated: Use AirdropReceived.ProtoReflect.Descriptor instead.
func (*AirdropReceived) GetAirdropType ¶
func (x *AirdropReceived) GetAirdropType() v2.AirdropType
func (*AirdropReceived) GetExchangeData ¶
func (x *AirdropReceived) GetExchangeData() *v2.ExchangeData
func (*AirdropReceived) GetTimestamp ¶
func (x *AirdropReceived) GetTimestamp() *timestamppb.Timestamp
func (*AirdropReceived) ProtoMessage ¶
func (*AirdropReceived) ProtoMessage()
func (*AirdropReceived) ProtoReflect ¶
func (x *AirdropReceived) ProtoReflect() protoreflect.Message
func (*AirdropReceived) Reset ¶
func (x *AirdropReceived) Reset()
func (*AirdropReceived) String ¶
func (x *AirdropReceived) String() string
func (*AirdropReceived) Validate ¶
func (m *AirdropReceived) Validate() error
Validate checks the field values on AirdropReceived with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type AirdropReceivedValidationError ¶
type AirdropReceivedValidationError struct {
// contains filtered or unexported fields
}
AirdropReceivedValidationError is the validation error returned by AirdropReceived.Validate if the designated constraints aren't met.
func (AirdropReceivedValidationError) Cause ¶
func (e AirdropReceivedValidationError) Cause() error
Cause function returns cause value.
func (AirdropReceivedValidationError) Error ¶
func (e AirdropReceivedValidationError) Error() string
Error satisfies the builtin error interface
func (AirdropReceivedValidationError) ErrorName ¶
func (e AirdropReceivedValidationError) ErrorName() string
ErrorName returns error name.
func (AirdropReceivedValidationError) Field ¶
func (e AirdropReceivedValidationError) Field() string
Field function returns field value.
func (AirdropReceivedValidationError) Key ¶
func (e AirdropReceivedValidationError) Key() bool
Key function returns key value.
func (AirdropReceivedValidationError) Reason ¶
func (e AirdropReceivedValidationError) Reason() string
Reason function returns reason value.
type ClientPong ¶
type ClientPong struct { // Timestamp the Pong was sent on the stream, for server to get a sense // of potential network latency Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*ClientPong) Descriptor
deprecated
func (*ClientPong) Descriptor() ([]byte, []int)
Deprecated: Use ClientPong.ProtoReflect.Descriptor instead.
func (*ClientPong) GetTimestamp ¶
func (x *ClientPong) GetTimestamp() *timestamppb.Timestamp
func (*ClientPong) ProtoMessage ¶
func (*ClientPong) ProtoMessage()
func (*ClientPong) ProtoReflect ¶
func (x *ClientPong) ProtoReflect() protoreflect.Message
func (*ClientPong) Reset ¶
func (x *ClientPong) Reset()
func (*ClientPong) String ¶
func (x *ClientPong) String() string
func (*ClientPong) Validate ¶
func (m *ClientPong) Validate() error
Validate checks the field values on ClientPong with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientPongValidationError ¶
type ClientPongValidationError struct {
// contains filtered or unexported fields
}
ClientPongValidationError is the validation error returned by ClientPong.Validate if the designated constraints aren't met.
func (ClientPongValidationError) Cause ¶
func (e ClientPongValidationError) Cause() error
Cause function returns cause value.
func (ClientPongValidationError) Error ¶
func (e ClientPongValidationError) Error() string
Error satisfies the builtin error interface
func (ClientPongValidationError) ErrorName ¶
func (e ClientPongValidationError) ErrorName() string
ErrorName returns error name.
func (ClientPongValidationError) Field ¶
func (e ClientPongValidationError) Field() string
Field function returns field value.
func (ClientPongValidationError) Key ¶
func (e ClientPongValidationError) Key() bool
Key function returns key value.
func (ClientPongValidationError) Reason ¶
func (e ClientPongValidationError) Reason() string
Reason function returns reason value.
type ClientRejectedLogin ¶ added in v1.7.0
type ClientRejectedLogin struct { // Timestamp the login was rejected Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Login is rejected by the client
This message type is only initiated by user clients
func (*ClientRejectedLogin) Descriptor
deprecated
added in
v1.7.0
func (*ClientRejectedLogin) Descriptor() ([]byte, []int)
Deprecated: Use ClientRejectedLogin.ProtoReflect.Descriptor instead.
func (*ClientRejectedLogin) GetTimestamp ¶ added in v1.7.0
func (x *ClientRejectedLogin) GetTimestamp() *timestamppb.Timestamp
func (*ClientRejectedLogin) ProtoMessage ¶ added in v1.7.0
func (*ClientRejectedLogin) ProtoMessage()
func (*ClientRejectedLogin) ProtoReflect ¶ added in v1.7.0
func (x *ClientRejectedLogin) ProtoReflect() protoreflect.Message
func (*ClientRejectedLogin) Reset ¶ added in v1.7.0
func (x *ClientRejectedLogin) Reset()
func (*ClientRejectedLogin) String ¶ added in v1.7.0
func (x *ClientRejectedLogin) String() string
func (*ClientRejectedLogin) Validate ¶ added in v1.7.0
func (m *ClientRejectedLogin) Validate() error
Validate checks the field values on ClientRejectedLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientRejectedLoginValidationError ¶ added in v1.7.0
type ClientRejectedLoginValidationError struct {
// contains filtered or unexported fields
}
ClientRejectedLoginValidationError is the validation error returned by ClientRejectedLogin.Validate if the designated constraints aren't met.
func (ClientRejectedLoginValidationError) Cause ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) Cause() error
Cause function returns cause value.
func (ClientRejectedLoginValidationError) Error ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) Error() string
Error satisfies the builtin error interface
func (ClientRejectedLoginValidationError) ErrorName ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) ErrorName() string
ErrorName returns error name.
func (ClientRejectedLoginValidationError) Field ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) Field() string
Field function returns field value.
func (ClientRejectedLoginValidationError) Key ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) Key() bool
Key function returns key value.
func (ClientRejectedLoginValidationError) Reason ¶ added in v1.7.0
func (e ClientRejectedLoginValidationError) Reason() string
Reason function returns reason value.
type ClientRejectedPayment ¶
type ClientRejectedPayment struct { IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // contains filtered or unexported fields }
Payment is rejected by the client
This message type is only initiated by clients
func (*ClientRejectedPayment) Descriptor
deprecated
func (*ClientRejectedPayment) Descriptor() ([]byte, []int)
Deprecated: Use ClientRejectedPayment.ProtoReflect.Descriptor instead.
func (*ClientRejectedPayment) GetIntentId ¶
func (x *ClientRejectedPayment) GetIntentId() *v1.IntentId
func (*ClientRejectedPayment) ProtoMessage ¶
func (*ClientRejectedPayment) ProtoMessage()
func (*ClientRejectedPayment) ProtoReflect ¶
func (x *ClientRejectedPayment) ProtoReflect() protoreflect.Message
func (*ClientRejectedPayment) Reset ¶
func (x *ClientRejectedPayment) Reset()
func (*ClientRejectedPayment) String ¶
func (x *ClientRejectedPayment) String() string
func (*ClientRejectedPayment) Validate ¶
func (m *ClientRejectedPayment) Validate() error
Validate checks the field values on ClientRejectedPayment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ClientRejectedPaymentValidationError ¶
type ClientRejectedPaymentValidationError struct {
// contains filtered or unexported fields
}
ClientRejectedPaymentValidationError is the validation error returned by ClientRejectedPayment.Validate if the designated constraints aren't met.
func (ClientRejectedPaymentValidationError) Cause ¶
func (e ClientRejectedPaymentValidationError) Cause() error
Cause function returns cause value.
func (ClientRejectedPaymentValidationError) Error ¶
func (e ClientRejectedPaymentValidationError) Error() string
Error satisfies the builtin error interface
func (ClientRejectedPaymentValidationError) ErrorName ¶
func (e ClientRejectedPaymentValidationError) ErrorName() string
ErrorName returns error name.
func (ClientRejectedPaymentValidationError) Field ¶
func (e ClientRejectedPaymentValidationError) Field() string
Field function returns field value.
func (ClientRejectedPaymentValidationError) Key ¶
func (e ClientRejectedPaymentValidationError) Key() bool
Key function returns key value.
func (ClientRejectedPaymentValidationError) Reason ¶
func (e ClientRejectedPaymentValidationError) Reason() string
Reason function returns reason value.
type CodeScanned ¶
type CodeScanned struct { // Timestamp the client scanned the code Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
A status update on a stream to indicate a scan code was scanned. This can appear multiple times for the same stream.
This message type is only initiated by client
func (*CodeScanned) Descriptor
deprecated
func (*CodeScanned) Descriptor() ([]byte, []int)
Deprecated: Use CodeScanned.ProtoReflect.Descriptor instead.
func (*CodeScanned) GetTimestamp ¶
func (x *CodeScanned) GetTimestamp() *timestamppb.Timestamp
func (*CodeScanned) ProtoMessage ¶
func (*CodeScanned) ProtoMessage()
func (*CodeScanned) ProtoReflect ¶
func (x *CodeScanned) ProtoReflect() protoreflect.Message
func (*CodeScanned) Reset ¶
func (x *CodeScanned) Reset()
func (*CodeScanned) String ¶
func (x *CodeScanned) String() string
func (*CodeScanned) Validate ¶
func (m *CodeScanned) Validate() error
Validate checks the field values on CodeScanned with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CodeScannedValidationError ¶
type CodeScannedValidationError struct {
// contains filtered or unexported fields
}
CodeScannedValidationError is the validation error returned by CodeScanned.Validate if the designated constraints aren't met.
func (CodeScannedValidationError) Cause ¶
func (e CodeScannedValidationError) Cause() error
Cause function returns cause value.
func (CodeScannedValidationError) Error ¶
func (e CodeScannedValidationError) Error() string
Error satisfies the builtin error interface
func (CodeScannedValidationError) ErrorName ¶
func (e CodeScannedValidationError) ErrorName() string
ErrorName returns error name.
func (CodeScannedValidationError) Field ¶
func (e CodeScannedValidationError) Field() string
Field function returns field value.
func (CodeScannedValidationError) Key ¶
func (e CodeScannedValidationError) Key() bool
Key function returns key value.
func (CodeScannedValidationError) Reason ¶
func (e CodeScannedValidationError) Reason() string
Reason function returns reason value.
type IntentSubmitted ¶
type IntentSubmitted struct { IntentId *v1.IntentId `protobuf:"bytes,1,opt,name=intent_id,json=intentId,proto3" json:"intent_id,omitempty"` // Metadata is available for intents where it can be safely propagated publicly. // Anything else requires an additional authenticated RPC call (eg. login). Metadata *v2.Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Intent was submitted via SubmitIntent
This message type is only initiated by server
func (*IntentSubmitted) Descriptor
deprecated
func (*IntentSubmitted) Descriptor() ([]byte, []int)
Deprecated: Use IntentSubmitted.ProtoReflect.Descriptor instead.
func (*IntentSubmitted) GetIntentId ¶
func (x *IntentSubmitted) GetIntentId() *v1.IntentId
func (*IntentSubmitted) GetMetadata ¶
func (x *IntentSubmitted) GetMetadata() *v2.Metadata
func (*IntentSubmitted) ProtoMessage ¶
func (*IntentSubmitted) ProtoMessage()
func (*IntentSubmitted) ProtoReflect ¶
func (x *IntentSubmitted) ProtoReflect() protoreflect.Message
func (*IntentSubmitted) Reset ¶
func (x *IntentSubmitted) Reset()
func (*IntentSubmitted) String ¶
func (x *IntentSubmitted) String() string
func (*IntentSubmitted) Validate ¶
func (m *IntentSubmitted) Validate() error
Validate checks the field values on IntentSubmitted with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type IntentSubmittedValidationError ¶
type IntentSubmittedValidationError struct {
// contains filtered or unexported fields
}
IntentSubmittedValidationError is the validation error returned by IntentSubmitted.Validate if the designated constraints aren't met.
func (IntentSubmittedValidationError) Cause ¶
func (e IntentSubmittedValidationError) Cause() error
Cause function returns cause value.
func (IntentSubmittedValidationError) Error ¶
func (e IntentSubmittedValidationError) Error() string
Error satisfies the builtin error interface
func (IntentSubmittedValidationError) ErrorName ¶
func (e IntentSubmittedValidationError) ErrorName() string
ErrorName returns error name.
func (IntentSubmittedValidationError) Field ¶
func (e IntentSubmittedValidationError) Field() string
Field function returns field value.
func (IntentSubmittedValidationError) Key ¶
func (e IntentSubmittedValidationError) Key() bool
Key function returns key value.
func (IntentSubmittedValidationError) Reason ¶
func (e IntentSubmittedValidationError) Reason() string
Reason function returns reason value.
type Message ¶
type Message struct { // MessageId is the Id of the message. This ID is generated by the // server, and will _always_ be set when receiving a message. // // Server generates the message to: // 1. Reserve the ability for any future ID changes // 2. Prevent clients attempting to collide message IDs. Id *MessageId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The signature sent from SendMessageRequest, which will be injected by server. // This enables clients to ensure no MITM attacks were performed to hijack contents // of the typed message. This is only applicable for messages not generated by server. SendMessageRequestSignature *v1.Signature `` /* 146-byte string literal not displayed */ // Next field number is 13 // // Types that are assignable to Kind: // // *Message_RequestToGrabBill // *Message_RequestToReceiveBill // *Message_CodeScanned // *Message_ClientRejectedPayment // *Message_IntentSubmitted // *Message_WebhookCalled // *Message_RequestToLogin // *Message_ClientRejectedLogin // *Message_AirdropReceived Kind isMessage_Kind `protobuf_oneof:"kind"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetAirdropReceived ¶
func (x *Message) GetAirdropReceived() *AirdropReceived
func (*Message) GetClientRejectedLogin ¶ added in v1.7.0
func (x *Message) GetClientRejectedLogin() *ClientRejectedLogin
func (*Message) GetClientRejectedPayment ¶
func (x *Message) GetClientRejectedPayment() *ClientRejectedPayment
func (*Message) GetCodeScanned ¶
func (x *Message) GetCodeScanned() *CodeScanned
func (*Message) GetIntentSubmitted ¶
func (x *Message) GetIntentSubmitted() *IntentSubmitted
func (*Message) GetRequestToGrabBill ¶
func (x *Message) GetRequestToGrabBill() *RequestToGrabBill
func (*Message) GetRequestToLogin ¶
func (x *Message) GetRequestToLogin() *RequestToLogin
func (*Message) GetRequestToReceiveBill ¶
func (x *Message) GetRequestToReceiveBill() *RequestToReceiveBill
func (*Message) GetSendMessageRequestSignature ¶
func (*Message) GetWebhookCalled ¶
func (x *Message) GetWebhookCalled() *WebhookCalled
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageId ¶
type MessageId struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
MessageId identifies a message. It is only guaranteed to be unique when paired with a destination (i.e. the rendezvous public key).
func (*MessageId) Descriptor
deprecated
func (*MessageId) ProtoMessage ¶
func (*MessageId) ProtoMessage()
func (*MessageId) ProtoReflect ¶
func (x *MessageId) ProtoReflect() protoreflect.Message
type MessageIdValidationError ¶
type MessageIdValidationError struct {
// contains filtered or unexported fields
}
MessageIdValidationError is the validation error returned by MessageId.Validate if the designated constraints aren't met.
func (MessageIdValidationError) Cause ¶
func (e MessageIdValidationError) Cause() error
Cause function returns cause value.
func (MessageIdValidationError) Error ¶
func (e MessageIdValidationError) Error() string
Error satisfies the builtin error interface
func (MessageIdValidationError) ErrorName ¶
func (e MessageIdValidationError) ErrorName() string
ErrorName returns error name.
func (MessageIdValidationError) Field ¶
func (e MessageIdValidationError) Field() string
Field function returns field value.
func (MessageIdValidationError) Key ¶
func (e MessageIdValidationError) Key() bool
Key function returns key value.
func (MessageIdValidationError) Reason ¶
func (e MessageIdValidationError) Reason() string
Reason function returns reason value.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
type Message_AirdropReceived ¶
type Message_AirdropReceived struct {
AirdropReceived *AirdropReceived `protobuf:"bytes,4,opt,name=airdrop_received,json=airdropReceived,proto3,oneof"`
}
type Message_ClientRejectedLogin ¶ added in v1.7.0
type Message_ClientRejectedLogin struct {
ClientRejectedLogin *ClientRejectedLogin `protobuf:"bytes,12,opt,name=client_rejected_login,json=clientRejectedLogin,proto3,oneof"`
}
type Message_ClientRejectedPayment ¶
type Message_ClientRejectedPayment struct {
ClientRejectedPayment *ClientRejectedPayment `protobuf:"bytes,7,opt,name=client_rejected_payment,json=clientRejectedPayment,proto3,oneof"`
}
type Message_CodeScanned ¶
type Message_CodeScanned struct {
CodeScanned *CodeScanned `protobuf:"bytes,6,opt,name=code_scanned,json=codeScanned,proto3,oneof"`
}
type Message_IntentSubmitted ¶
type Message_IntentSubmitted struct {
IntentSubmitted *IntentSubmitted `protobuf:"bytes,8,opt,name=intent_submitted,json=intentSubmitted,proto3,oneof"`
}
type Message_RequestToGrabBill ¶
type Message_RequestToGrabBill struct {
RequestToGrabBill *RequestToGrabBill `protobuf:"bytes,2,opt,name=request_to_grab_bill,json=requestToGrabBill,proto3,oneof"`
}
type Message_RequestToLogin ¶
type Message_RequestToLogin struct {
RequestToLogin *RequestToLogin `protobuf:"bytes,10,opt,name=request_to_login,json=requestToLogin,proto3,oneof"`
}
type Message_RequestToReceiveBill ¶
type Message_RequestToReceiveBill struct {
RequestToReceiveBill *RequestToReceiveBill `protobuf:"bytes,5,opt,name=request_to_receive_bill,json=requestToReceiveBill,proto3,oneof"`
}
type Message_WebhookCalled ¶
type Message_WebhookCalled struct {
WebhookCalled *WebhookCalled `protobuf:"bytes,9,opt,name=webhook_called,json=webhookCalled,proto3,oneof"`
}
type MessagingClient ¶
type MessagingClient interface { // OpenMessageStream opens a stream of messages. Messages are routed using the // public key of a rendezvous keypair derived by both the sender and the // recipient of the messages. The sender may be a client or server. // // Messages are expected to be acked once they have been processed by the client. // Ack'd messages will no longer be delivered on future OpenMessageStream calls, // and are eligible for deletion from the service. Clients should, however, handle // duplicate delivery of messages. // // For grabbing a bill, the expected flow is as follows: // 1. The payment sender creates a cash scan code // 2. The payment sender calls OpenMessageStream on the rendezvous public key, which is // derived by using sha256(scan payload) as the keypair seed. // 3. The payment recipient scans the code and uses SendMessage to send their account ID // back to the sender via the rendezvous public key. // 4. The payment sender receives the message, submits the intent, and closes the stream. // // For receiving a bill of requested value, the expected flow is as follows: // 1. The payment recipient uses SendMessage to send their account ID and payment amount to // the sender via the rendezvous public key, which is derived by using sha256(scan payload) // as the keypair seed. // 2. The payment recipient calls OpenMessageStream on the rendezvous public key to listen // for status messages generated by client/server. It must ignore the original message it sent // as part of step 1. // 3. The payment recipient creates a payment request scan code // 4. The payment sender calls PollMessages on the rendezvous public key. This is ok because // we know the message exists per step 1, and doesn't actually incur a long poll. This is a // required hack because we don't have the infrastructure in place to allow multiple listens // on the same stream, and the recipient needs real-time status updates. // 5. The payment sender receives the message (any status messages are ignored), and submits the // intent. // 6. The payment recipient observes status message (eg. IntentSubmitted, ClientRejectedPayment, // WebhookCalled) for payment state. // 7. The payment recipient closes the stream once the payment hits a terminal state, or times out. // // For logging in, the expected flow is as follows: // 1. The third party uses SendMessage to send their login challenge to the user via the rendezvous // public key, which is derived by using sha256(scan payload) as the keypair seed. // 2. The third party calls OpenMessageStream on the rendezvous public key to listen for status // messages generated by server. It must ignore the original message it sent as part of step 1. // 3. The third party creates a login scan code // 4. The user logging in calls PollMessages on the rendezvous public key. This is ok because // we know the message exists per step 1, and doesn't actually incur a long poll. This is a // required hack because we don't have the infrastructure in place to allow multiple listens // on the same stream, and the recipient needs real-time status updates. // 5. The user logging in receives the message (any status messages are ignored), verifies it, // then submits a login attempt. // 6. The third party observes status message (eg. IntentSubmitted, ClientRejectedLogin, // WebhookCalled) for login state. // 7. The third party closes the stream once the login hits a terminal state, or times out. OpenMessageStream(ctx context.Context, in *OpenMessageStreamRequest, opts ...grpc.CallOption) (Messaging_OpenMessageStreamClient, error) // OpenMessageStreamWithKeepAlive is like OpenMessageStream, but enables a ping/pong // keepalive to determine the health of the stream at both the client and server. // // The keepalive protocol is as follows: // 1. Client initiates a stream by sending an OpenMessageStreamRequest. // 2. Upon stream initialization, server begins the keepalive protocol. // 3. Server sends a ping to the client. // 4. Client responds with a pong as fast as possible, making note of // the delay for when to expect the next ping. // 5. Steps 3 and 4 are repeated until the stream is explicitly terminated // or is deemed to be unhealthy. // // Client notes: // - Client should be careful to process messages async, so any responses to pings are // not delayed. // - Clients should implement a reasonable backoff strategy upon continued timeout failures. // - Clients that abuse pong messages may have their streams terminated by server. // // At any point in the stream, server will respond with messages in real time as // they are observed. Messages sent over the stream should not affect the ping/pong // protocol timings. Individual protocols for payment flows remain the same, and are // documented in OpenMessageStream. // // Note: This API will enforce OpenMessageStreamRequest.signature is set as part of migration // // to this newer protocol OpenMessageStreamWithKeepAlive(ctx context.Context, opts ...grpc.CallOption) (Messaging_OpenMessageStreamWithKeepAliveClient, error) // PollMessages is like OpenMessageStream, but uses a polling flow for receiving // messages. Updates are not real-time and depedent on the polling interval. // This RPC supports all message types. // // This is a temporary RPC until OpenMessageStream can be built out generically on // both client and server, while supporting things like multiple listeners. PollMessages(ctx context.Context, in *PollMessagesRequest, opts ...grpc.CallOption) (*PollMessagesResponse, error) // AckMessages acks one or more messages that have been successfully delivered to // the client. AckMessages(ctx context.Context, in *AckMessagesRequest, opts ...grpc.CallOption) (*AckMesssagesResponse, error) // SendMessage sends a message. SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error) }
MessagingClient is the client API for Messaging 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.
func NewMessagingClient ¶
func NewMessagingClient(cc grpc.ClientConnInterface) MessagingClient
type MessagingServer ¶
type MessagingServer interface { // OpenMessageStream opens a stream of messages. Messages are routed using the // public key of a rendezvous keypair derived by both the sender and the // recipient of the messages. The sender may be a client or server. // // Messages are expected to be acked once they have been processed by the client. // Ack'd messages will no longer be delivered on future OpenMessageStream calls, // and are eligible for deletion from the service. Clients should, however, handle // duplicate delivery of messages. // // For grabbing a bill, the expected flow is as follows: // 1. The payment sender creates a cash scan code // 2. The payment sender calls OpenMessageStream on the rendezvous public key, which is // derived by using sha256(scan payload) as the keypair seed. // 3. The payment recipient scans the code and uses SendMessage to send their account ID // back to the sender via the rendezvous public key. // 4. The payment sender receives the message, submits the intent, and closes the stream. // // For receiving a bill of requested value, the expected flow is as follows: // 1. The payment recipient uses SendMessage to send their account ID and payment amount to // the sender via the rendezvous public key, which is derived by using sha256(scan payload) // as the keypair seed. // 2. The payment recipient calls OpenMessageStream on the rendezvous public key to listen // for status messages generated by client/server. It must ignore the original message it sent // as part of step 1. // 3. The payment recipient creates a payment request scan code // 4. The payment sender calls PollMessages on the rendezvous public key. This is ok because // we know the message exists per step 1, and doesn't actually incur a long poll. This is a // required hack because we don't have the infrastructure in place to allow multiple listens // on the same stream, and the recipient needs real-time status updates. // 5. The payment sender receives the message (any status messages are ignored), and submits the // intent. // 6. The payment recipient observes status message (eg. IntentSubmitted, ClientRejectedPayment, // WebhookCalled) for payment state. // 7. The payment recipient closes the stream once the payment hits a terminal state, or times out. // // For logging in, the expected flow is as follows: // 1. The third party uses SendMessage to send their login challenge to the user via the rendezvous // public key, which is derived by using sha256(scan payload) as the keypair seed. // 2. The third party calls OpenMessageStream on the rendezvous public key to listen for status // messages generated by server. It must ignore the original message it sent as part of step 1. // 3. The third party creates a login scan code // 4. The user logging in calls PollMessages on the rendezvous public key. This is ok because // we know the message exists per step 1, and doesn't actually incur a long poll. This is a // required hack because we don't have the infrastructure in place to allow multiple listens // on the same stream, and the recipient needs real-time status updates. // 5. The user logging in receives the message (any status messages are ignored), verifies it, // then submits a login attempt. // 6. The third party observes status message (eg. IntentSubmitted, ClientRejectedLogin, // WebhookCalled) for login state. // 7. The third party closes the stream once the login hits a terminal state, or times out. OpenMessageStream(*OpenMessageStreamRequest, Messaging_OpenMessageStreamServer) error // OpenMessageStreamWithKeepAlive is like OpenMessageStream, but enables a ping/pong // keepalive to determine the health of the stream at both the client and server. // // The keepalive protocol is as follows: // 1. Client initiates a stream by sending an OpenMessageStreamRequest. // 2. Upon stream initialization, server begins the keepalive protocol. // 3. Server sends a ping to the client. // 4. Client responds with a pong as fast as possible, making note of // the delay for when to expect the next ping. // 5. Steps 3 and 4 are repeated until the stream is explicitly terminated // or is deemed to be unhealthy. // // Client notes: // - Client should be careful to process messages async, so any responses to pings are // not delayed. // - Clients should implement a reasonable backoff strategy upon continued timeout failures. // - Clients that abuse pong messages may have their streams terminated by server. // // At any point in the stream, server will respond with messages in real time as // they are observed. Messages sent over the stream should not affect the ping/pong // protocol timings. Individual protocols for payment flows remain the same, and are // documented in OpenMessageStream. // // Note: This API will enforce OpenMessageStreamRequest.signature is set as part of migration // // to this newer protocol OpenMessageStreamWithKeepAlive(Messaging_OpenMessageStreamWithKeepAliveServer) error // PollMessages is like OpenMessageStream, but uses a polling flow for receiving // messages. Updates are not real-time and depedent on the polling interval. // This RPC supports all message types. // // This is a temporary RPC until OpenMessageStream can be built out generically on // both client and server, while supporting things like multiple listeners. PollMessages(context.Context, *PollMessagesRequest) (*PollMessagesResponse, error) // AckMessages acks one or more messages that have been successfully delivered to // the client. AckMessages(context.Context, *AckMessagesRequest) (*AckMesssagesResponse, error) // SendMessage sends a message. SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) // contains filtered or unexported methods }
MessagingServer is the server API for Messaging service. All implementations must embed UnimplementedMessagingServer for forward compatibility
type Messaging_OpenMessageStreamClient ¶
type Messaging_OpenMessageStreamClient interface { Recv() (*OpenMessageStreamResponse, error) grpc.ClientStream }
type Messaging_OpenMessageStreamServer ¶
type Messaging_OpenMessageStreamServer interface { Send(*OpenMessageStreamResponse) error grpc.ServerStream }
type Messaging_OpenMessageStreamWithKeepAliveClient ¶
type Messaging_OpenMessageStreamWithKeepAliveClient interface { Send(*OpenMessageStreamWithKeepAliveRequest) error Recv() (*OpenMessageStreamWithKeepAliveResponse, error) grpc.ClientStream }
type Messaging_OpenMessageStreamWithKeepAliveServer ¶
type Messaging_OpenMessageStreamWithKeepAliveServer interface { Send(*OpenMessageStreamWithKeepAliveResponse) error Recv() (*OpenMessageStreamWithKeepAliveRequest, error) grpc.ServerStream }
type OpenMessageStreamRequest ¶
type OpenMessageStreamRequest struct { RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` // The signature is of serialize(OpenMessageStreamRequest) using rendezvous_key. // // todo: Make required once clients migrate Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*OpenMessageStreamRequest) Descriptor
deprecated
func (*OpenMessageStreamRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenMessageStreamRequest.ProtoReflect.Descriptor instead.
func (*OpenMessageStreamRequest) GetRendezvousKey ¶
func (x *OpenMessageStreamRequest) GetRendezvousKey() *RendezvousKey
func (*OpenMessageStreamRequest) GetSignature ¶
func (x *OpenMessageStreamRequest) GetSignature() *v1.Signature
func (*OpenMessageStreamRequest) ProtoMessage ¶
func (*OpenMessageStreamRequest) ProtoMessage()
func (*OpenMessageStreamRequest) ProtoReflect ¶
func (x *OpenMessageStreamRequest) ProtoReflect() protoreflect.Message
func (*OpenMessageStreamRequest) Reset ¶
func (x *OpenMessageStreamRequest) Reset()
func (*OpenMessageStreamRequest) String ¶
func (x *OpenMessageStreamRequest) String() string
func (*OpenMessageStreamRequest) Validate ¶
func (m *OpenMessageStreamRequest) Validate() error
Validate checks the field values on OpenMessageStreamRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenMessageStreamRequestValidationError ¶
type OpenMessageStreamRequestValidationError struct {
// contains filtered or unexported fields
}
OpenMessageStreamRequestValidationError is the validation error returned by OpenMessageStreamRequest.Validate if the designated constraints aren't met.
func (OpenMessageStreamRequestValidationError) Cause ¶
func (e OpenMessageStreamRequestValidationError) Cause() error
Cause function returns cause value.
func (OpenMessageStreamRequestValidationError) Error ¶
func (e OpenMessageStreamRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OpenMessageStreamRequestValidationError) ErrorName ¶
func (e OpenMessageStreamRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OpenMessageStreamRequestValidationError) Field ¶
func (e OpenMessageStreamRequestValidationError) Field() string
Field function returns field value.
func (OpenMessageStreamRequestValidationError) Key ¶
func (e OpenMessageStreamRequestValidationError) Key() bool
Key function returns key value.
func (OpenMessageStreamRequestValidationError) Reason ¶
func (e OpenMessageStreamRequestValidationError) Reason() string
Reason function returns reason value.
type OpenMessageStreamResponse ¶
type OpenMessageStreamResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*OpenMessageStreamResponse) Descriptor
deprecated
func (*OpenMessageStreamResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenMessageStreamResponse.ProtoReflect.Descriptor instead.
func (*OpenMessageStreamResponse) GetMessages ¶
func (x *OpenMessageStreamResponse) GetMessages() []*Message
func (*OpenMessageStreamResponse) ProtoMessage ¶
func (*OpenMessageStreamResponse) ProtoMessage()
func (*OpenMessageStreamResponse) ProtoReflect ¶
func (x *OpenMessageStreamResponse) ProtoReflect() protoreflect.Message
func (*OpenMessageStreamResponse) Reset ¶
func (x *OpenMessageStreamResponse) Reset()
func (*OpenMessageStreamResponse) String ¶
func (x *OpenMessageStreamResponse) String() string
func (*OpenMessageStreamResponse) Validate ¶
func (m *OpenMessageStreamResponse) Validate() error
Validate checks the field values on OpenMessageStreamResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenMessageStreamResponseValidationError ¶
type OpenMessageStreamResponseValidationError struct {
// contains filtered or unexported fields
}
OpenMessageStreamResponseValidationError is the validation error returned by OpenMessageStreamResponse.Validate if the designated constraints aren't met.
func (OpenMessageStreamResponseValidationError) Cause ¶
func (e OpenMessageStreamResponseValidationError) Cause() error
Cause function returns cause value.
func (OpenMessageStreamResponseValidationError) Error ¶
func (e OpenMessageStreamResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OpenMessageStreamResponseValidationError) ErrorName ¶
func (e OpenMessageStreamResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OpenMessageStreamResponseValidationError) Field ¶
func (e OpenMessageStreamResponseValidationError) Field() string
Field function returns field value.
func (OpenMessageStreamResponseValidationError) Key ¶
func (e OpenMessageStreamResponseValidationError) Key() bool
Key function returns key value.
func (OpenMessageStreamResponseValidationError) Reason ¶
func (e OpenMessageStreamResponseValidationError) Reason() string
Reason function returns reason value.
type OpenMessageStreamWithKeepAliveRequest ¶
type OpenMessageStreamWithKeepAliveRequest struct { // Types that are assignable to RequestOrPong: // // *OpenMessageStreamWithKeepAliveRequest_Request // *OpenMessageStreamWithKeepAliveRequest_Pong RequestOrPong isOpenMessageStreamWithKeepAliveRequest_RequestOrPong `protobuf_oneof:"requestOrPong"` // contains filtered or unexported fields }
func (*OpenMessageStreamWithKeepAliveRequest) Descriptor
deprecated
func (*OpenMessageStreamWithKeepAliveRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenMessageStreamWithKeepAliveRequest.ProtoReflect.Descriptor instead.
func (*OpenMessageStreamWithKeepAliveRequest) GetPong ¶
func (x *OpenMessageStreamWithKeepAliveRequest) GetPong() *ClientPong
func (*OpenMessageStreamWithKeepAliveRequest) GetRequest ¶
func (x *OpenMessageStreamWithKeepAliveRequest) GetRequest() *OpenMessageStreamRequest
func (*OpenMessageStreamWithKeepAliveRequest) GetRequestOrPong ¶
func (m *OpenMessageStreamWithKeepAliveRequest) GetRequestOrPong() isOpenMessageStreamWithKeepAliveRequest_RequestOrPong
func (*OpenMessageStreamWithKeepAliveRequest) ProtoMessage ¶
func (*OpenMessageStreamWithKeepAliveRequest) ProtoMessage()
func (*OpenMessageStreamWithKeepAliveRequest) ProtoReflect ¶
func (x *OpenMessageStreamWithKeepAliveRequest) ProtoReflect() protoreflect.Message
func (*OpenMessageStreamWithKeepAliveRequest) Reset ¶
func (x *OpenMessageStreamWithKeepAliveRequest) Reset()
func (*OpenMessageStreamWithKeepAliveRequest) String ¶
func (x *OpenMessageStreamWithKeepAliveRequest) String() string
func (*OpenMessageStreamWithKeepAliveRequest) Validate ¶
func (m *OpenMessageStreamWithKeepAliveRequest) Validate() error
Validate checks the field values on OpenMessageStreamWithKeepAliveRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenMessageStreamWithKeepAliveRequestValidationError ¶
type OpenMessageStreamWithKeepAliveRequestValidationError struct {
// contains filtered or unexported fields
}
OpenMessageStreamWithKeepAliveRequestValidationError is the validation error returned by OpenMessageStreamWithKeepAliveRequest.Validate if the designated constraints aren't met.
func (OpenMessageStreamWithKeepAliveRequestValidationError) Cause ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) Cause() error
Cause function returns cause value.
func (OpenMessageStreamWithKeepAliveRequestValidationError) Error ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) Error() string
Error satisfies the builtin error interface
func (OpenMessageStreamWithKeepAliveRequestValidationError) ErrorName ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) ErrorName() string
ErrorName returns error name.
func (OpenMessageStreamWithKeepAliveRequestValidationError) Field ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) Field() string
Field function returns field value.
func (OpenMessageStreamWithKeepAliveRequestValidationError) Key ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) Key() bool
Key function returns key value.
func (OpenMessageStreamWithKeepAliveRequestValidationError) Reason ¶
func (e OpenMessageStreamWithKeepAliveRequestValidationError) Reason() string
Reason function returns reason value.
type OpenMessageStreamWithKeepAliveRequest_Pong ¶
type OpenMessageStreamWithKeepAliveRequest_Pong struct {
Pong *ClientPong `protobuf:"bytes,2,opt,name=pong,proto3,oneof"`
}
type OpenMessageStreamWithKeepAliveRequest_Request ¶
type OpenMessageStreamWithKeepAliveRequest_Request struct {
Request *OpenMessageStreamRequest `protobuf:"bytes,1,opt,name=request,proto3,oneof"`
}
type OpenMessageStreamWithKeepAliveResponse ¶
type OpenMessageStreamWithKeepAliveResponse struct { // Types that are assignable to ResponseOrPing: // // *OpenMessageStreamWithKeepAliveResponse_Response // *OpenMessageStreamWithKeepAliveResponse_Ping ResponseOrPing isOpenMessageStreamWithKeepAliveResponse_ResponseOrPing `protobuf_oneof:"responseOrPing"` // contains filtered or unexported fields }
func (*OpenMessageStreamWithKeepAliveResponse) Descriptor
deprecated
func (*OpenMessageStreamWithKeepAliveResponse) Descriptor() ([]byte, []int)
Deprecated: Use OpenMessageStreamWithKeepAliveResponse.ProtoReflect.Descriptor instead.
func (*OpenMessageStreamWithKeepAliveResponse) GetPing ¶
func (x *OpenMessageStreamWithKeepAliveResponse) GetPing() *ServerPing
func (*OpenMessageStreamWithKeepAliveResponse) GetResponse ¶
func (x *OpenMessageStreamWithKeepAliveResponse) GetResponse() *OpenMessageStreamResponse
func (*OpenMessageStreamWithKeepAliveResponse) GetResponseOrPing ¶
func (m *OpenMessageStreamWithKeepAliveResponse) GetResponseOrPing() isOpenMessageStreamWithKeepAliveResponse_ResponseOrPing
func (*OpenMessageStreamWithKeepAliveResponse) ProtoMessage ¶
func (*OpenMessageStreamWithKeepAliveResponse) ProtoMessage()
func (*OpenMessageStreamWithKeepAliveResponse) ProtoReflect ¶
func (x *OpenMessageStreamWithKeepAliveResponse) ProtoReflect() protoreflect.Message
func (*OpenMessageStreamWithKeepAliveResponse) Reset ¶
func (x *OpenMessageStreamWithKeepAliveResponse) Reset()
func (*OpenMessageStreamWithKeepAliveResponse) String ¶
func (x *OpenMessageStreamWithKeepAliveResponse) String() string
func (*OpenMessageStreamWithKeepAliveResponse) Validate ¶
func (m *OpenMessageStreamWithKeepAliveResponse) Validate() error
Validate checks the field values on OpenMessageStreamWithKeepAliveResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type OpenMessageStreamWithKeepAliveResponseValidationError ¶
type OpenMessageStreamWithKeepAliveResponseValidationError struct {
// contains filtered or unexported fields
}
OpenMessageStreamWithKeepAliveResponseValidationError is the validation error returned by OpenMessageStreamWithKeepAliveResponse.Validate if the designated constraints aren't met.
func (OpenMessageStreamWithKeepAliveResponseValidationError) Cause ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) Cause() error
Cause function returns cause value.
func (OpenMessageStreamWithKeepAliveResponseValidationError) Error ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) Error() string
Error satisfies the builtin error interface
func (OpenMessageStreamWithKeepAliveResponseValidationError) ErrorName ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) ErrorName() string
ErrorName returns error name.
func (OpenMessageStreamWithKeepAliveResponseValidationError) Field ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) Field() string
Field function returns field value.
func (OpenMessageStreamWithKeepAliveResponseValidationError) Key ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) Key() bool
Key function returns key value.
func (OpenMessageStreamWithKeepAliveResponseValidationError) Reason ¶
func (e OpenMessageStreamWithKeepAliveResponseValidationError) Reason() string
Reason function returns reason value.
type OpenMessageStreamWithKeepAliveResponse_Ping ¶
type OpenMessageStreamWithKeepAliveResponse_Ping struct {
Ping *ServerPing `protobuf:"bytes,2,opt,name=ping,proto3,oneof"`
}
type OpenMessageStreamWithKeepAliveResponse_Response ¶
type OpenMessageStreamWithKeepAliveResponse_Response struct {
Response *OpenMessageStreamResponse `protobuf:"bytes,1,opt,name=response,proto3,oneof"`
}
type PollMessagesRequest ¶
type PollMessagesRequest struct { RendezvousKey *RendezvousKey `protobuf:"bytes,1,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` // The signature is of serialize(PollMessagesRequest) using rendezvous_key. Signature *v1.Signature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*PollMessagesRequest) Descriptor
deprecated
func (*PollMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use PollMessagesRequest.ProtoReflect.Descriptor instead.
func (*PollMessagesRequest) GetRendezvousKey ¶
func (x *PollMessagesRequest) GetRendezvousKey() *RendezvousKey
func (*PollMessagesRequest) GetSignature ¶
func (x *PollMessagesRequest) GetSignature() *v1.Signature
func (*PollMessagesRequest) ProtoMessage ¶
func (*PollMessagesRequest) ProtoMessage()
func (*PollMessagesRequest) ProtoReflect ¶
func (x *PollMessagesRequest) ProtoReflect() protoreflect.Message
func (*PollMessagesRequest) Reset ¶
func (x *PollMessagesRequest) Reset()
func (*PollMessagesRequest) String ¶
func (x *PollMessagesRequest) String() string
func (*PollMessagesRequest) Validate ¶
func (m *PollMessagesRequest) Validate() error
Validate checks the field values on PollMessagesRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PollMessagesRequestValidationError ¶
type PollMessagesRequestValidationError struct {
// contains filtered or unexported fields
}
PollMessagesRequestValidationError is the validation error returned by PollMessagesRequest.Validate if the designated constraints aren't met.
func (PollMessagesRequestValidationError) Cause ¶
func (e PollMessagesRequestValidationError) Cause() error
Cause function returns cause value.
func (PollMessagesRequestValidationError) Error ¶
func (e PollMessagesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PollMessagesRequestValidationError) ErrorName ¶
func (e PollMessagesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PollMessagesRequestValidationError) Field ¶
func (e PollMessagesRequestValidationError) Field() string
Field function returns field value.
func (PollMessagesRequestValidationError) Key ¶
func (e PollMessagesRequestValidationError) Key() bool
Key function returns key value.
func (PollMessagesRequestValidationError) Reason ¶
func (e PollMessagesRequestValidationError) Reason() string
Reason function returns reason value.
type PollMessagesResponse ¶
type PollMessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*PollMessagesResponse) Descriptor
deprecated
func (*PollMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use PollMessagesResponse.ProtoReflect.Descriptor instead.
func (*PollMessagesResponse) GetMessages ¶
func (x *PollMessagesResponse) GetMessages() []*Message
func (*PollMessagesResponse) ProtoMessage ¶
func (*PollMessagesResponse) ProtoMessage()
func (*PollMessagesResponse) ProtoReflect ¶
func (x *PollMessagesResponse) ProtoReflect() protoreflect.Message
func (*PollMessagesResponse) Reset ¶
func (x *PollMessagesResponse) Reset()
func (*PollMessagesResponse) String ¶
func (x *PollMessagesResponse) String() string
func (*PollMessagesResponse) Validate ¶
func (m *PollMessagesResponse) Validate() error
Validate checks the field values on PollMessagesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type PollMessagesResponseValidationError ¶
type PollMessagesResponseValidationError struct {
// contains filtered or unexported fields
}
PollMessagesResponseValidationError is the validation error returned by PollMessagesResponse.Validate if the designated constraints aren't met.
func (PollMessagesResponseValidationError) Cause ¶
func (e PollMessagesResponseValidationError) Cause() error
Cause function returns cause value.
func (PollMessagesResponseValidationError) Error ¶
func (e PollMessagesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PollMessagesResponseValidationError) ErrorName ¶
func (e PollMessagesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PollMessagesResponseValidationError) Field ¶
func (e PollMessagesResponseValidationError) Field() string
Field function returns field value.
func (PollMessagesResponseValidationError) Key ¶
func (e PollMessagesResponseValidationError) Key() bool
Key function returns key value.
func (PollMessagesResponseValidationError) Reason ¶
func (e PollMessagesResponseValidationError) Reason() string
Reason function returns reason value.
type RendezvousKey ¶
type RendezvousKey struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
RendezvousKey is a unique key pair, typically derived from a scan code payload, which is used to establish a secure communication channel anonymously to coordinate a flow using messages.
func (*RendezvousKey) Descriptor
deprecated
func (*RendezvousKey) Descriptor() ([]byte, []int)
Deprecated: Use RendezvousKey.ProtoReflect.Descriptor instead.
func (*RendezvousKey) GetValue ¶
func (x *RendezvousKey) GetValue() []byte
func (*RendezvousKey) ProtoMessage ¶
func (*RendezvousKey) ProtoMessage()
func (*RendezvousKey) ProtoReflect ¶
func (x *RendezvousKey) ProtoReflect() protoreflect.Message
func (*RendezvousKey) Reset ¶
func (x *RendezvousKey) Reset()
func (*RendezvousKey) String ¶
func (x *RendezvousKey) String() string
func (*RendezvousKey) Validate ¶
func (m *RendezvousKey) Validate() error
Validate checks the field values on RendezvousKey with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RendezvousKeyValidationError ¶
type RendezvousKeyValidationError struct {
// contains filtered or unexported fields
}
RendezvousKeyValidationError is the validation error returned by RendezvousKey.Validate if the designated constraints aren't met.
func (RendezvousKeyValidationError) Cause ¶
func (e RendezvousKeyValidationError) Cause() error
Cause function returns cause value.
func (RendezvousKeyValidationError) Error ¶
func (e RendezvousKeyValidationError) Error() string
Error satisfies the builtin error interface
func (RendezvousKeyValidationError) ErrorName ¶
func (e RendezvousKeyValidationError) ErrorName() string
ErrorName returns error name.
func (RendezvousKeyValidationError) Field ¶
func (e RendezvousKeyValidationError) Field() string
Field function returns field value.
func (RendezvousKeyValidationError) Key ¶
func (e RendezvousKeyValidationError) Key() bool
Key function returns key value.
func (RendezvousKeyValidationError) Reason ¶
func (e RendezvousKeyValidationError) Reason() string
Reason function returns reason value.
type RequestToGrabBill ¶
type RequestToGrabBill struct { // Requestor is the Kin token account on Solana to which a payment should be sent. RequestorAccount *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=requestor_account,json=requestorAccount,proto3" json:"requestor_account,omitempty"` // contains filtered or unexported fields }
Request that a pulled out bill be sent to the requested address.
This message type is only initiated by clients.
func (*RequestToGrabBill) Descriptor
deprecated
func (*RequestToGrabBill) Descriptor() ([]byte, []int)
Deprecated: Use RequestToGrabBill.ProtoReflect.Descriptor instead.
func (*RequestToGrabBill) GetRequestorAccount ¶
func (x *RequestToGrabBill) GetRequestorAccount() *v1.SolanaAccountId
func (*RequestToGrabBill) ProtoMessage ¶
func (*RequestToGrabBill) ProtoMessage()
func (*RequestToGrabBill) ProtoReflect ¶
func (x *RequestToGrabBill) ProtoReflect() protoreflect.Message
func (*RequestToGrabBill) Reset ¶
func (x *RequestToGrabBill) Reset()
func (*RequestToGrabBill) String ¶
func (x *RequestToGrabBill) String() string
func (*RequestToGrabBill) Validate ¶
func (m *RequestToGrabBill) Validate() error
Validate checks the field values on RequestToGrabBill with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RequestToGrabBillValidationError ¶
type RequestToGrabBillValidationError struct {
// contains filtered or unexported fields
}
RequestToGrabBillValidationError is the validation error returned by RequestToGrabBill.Validate if the designated constraints aren't met.
func (RequestToGrabBillValidationError) Cause ¶
func (e RequestToGrabBillValidationError) Cause() error
Cause function returns cause value.
func (RequestToGrabBillValidationError) Error ¶
func (e RequestToGrabBillValidationError) Error() string
Error satisfies the builtin error interface
func (RequestToGrabBillValidationError) ErrorName ¶
func (e RequestToGrabBillValidationError) ErrorName() string
ErrorName returns error name.
func (RequestToGrabBillValidationError) Field ¶
func (e RequestToGrabBillValidationError) Field() string
Field function returns field value.
func (RequestToGrabBillValidationError) Key ¶
func (e RequestToGrabBillValidationError) Key() bool
Key function returns key value.
func (RequestToGrabBillValidationError) Reason ¶
func (e RequestToGrabBillValidationError) Reason() string
Reason function returns reason value.
type RequestToLogin ¶
type RequestToLogin struct { // The third-party's domain name, which is its primary identifier. Server // guarantees to perform domain verification against the verifier account. // // Clients should expect subdomains for future feature compatiblity, but must // use the ASCII base domain in the RELATIONSHIP account derivation strategy. Domain *v1.Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // Owner account owned by the third party used in domain verification. Verifier *v1.SolanaAccountId `protobuf:"bytes,4,opt,name=verifier,proto3" json:"verifier,omitempty"` // Signature of this message using the verifier private key, which in addition // to domain verification, authenticates the third party. Signature *v1.Signature `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // Rendezvous key to avoid replay attacks RendezvousKey *RendezvousKey `protobuf:"bytes,6,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` // contains filtered or unexported fields }
Request that an account logs in
This message type is only initiated by third-parties through the SDK.
func (*RequestToLogin) Descriptor
deprecated
func (*RequestToLogin) Descriptor() ([]byte, []int)
Deprecated: Use RequestToLogin.ProtoReflect.Descriptor instead.
func (*RequestToLogin) GetDomain ¶
func (x *RequestToLogin) GetDomain() *v1.Domain
func (*RequestToLogin) GetRendezvousKey ¶
func (x *RequestToLogin) GetRendezvousKey() *RendezvousKey
func (*RequestToLogin) GetSignature ¶
func (x *RequestToLogin) GetSignature() *v1.Signature
func (*RequestToLogin) GetVerifier ¶
func (x *RequestToLogin) GetVerifier() *v1.SolanaAccountId
func (*RequestToLogin) ProtoMessage ¶
func (*RequestToLogin) ProtoMessage()
func (*RequestToLogin) ProtoReflect ¶
func (x *RequestToLogin) ProtoReflect() protoreflect.Message
func (*RequestToLogin) Reset ¶
func (x *RequestToLogin) Reset()
func (*RequestToLogin) String ¶
func (x *RequestToLogin) String() string
func (*RequestToLogin) Validate ¶
func (m *RequestToLogin) Validate() error
Validate checks the field values on RequestToLogin with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RequestToLoginValidationError ¶
type RequestToLoginValidationError struct {
// contains filtered or unexported fields
}
RequestToLoginValidationError is the validation error returned by RequestToLogin.Validate if the designated constraints aren't met.
func (RequestToLoginValidationError) Cause ¶
func (e RequestToLoginValidationError) Cause() error
Cause function returns cause value.
func (RequestToLoginValidationError) Error ¶
func (e RequestToLoginValidationError) Error() string
Error satisfies the builtin error interface
func (RequestToLoginValidationError) ErrorName ¶
func (e RequestToLoginValidationError) ErrorName() string
ErrorName returns error name.
func (RequestToLoginValidationError) Field ¶
func (e RequestToLoginValidationError) Field() string
Field function returns field value.
func (RequestToLoginValidationError) Key ¶
func (e RequestToLoginValidationError) Key() bool
Key function returns key value.
func (RequestToLoginValidationError) Reason ¶
func (e RequestToLoginValidationError) Reason() string
Reason function returns reason value.
type RequestToReceiveBill ¶
type RequestToReceiveBill struct { // Requestor is the Kin token account on Solana to which a payment should be sent. RequestorAccount *v1.SolanaAccountId `protobuf:"bytes,1,opt,name=requestor_account,json=requestorAccount,proto3" json:"requestor_account,omitempty"` // The exchange data for the requested bill value. // // Types that are assignable to ExchangeData: // // *RequestToReceiveBill_Exact // *RequestToReceiveBill_Partial ExchangeData isRequestToReceiveBill_ExchangeData `protobuf_oneof:"exchange_data"` // The third-party's domain name, which is its primary identifier. Server // guarantees to perform domain verification against the verifier account. Domain *v1.Domain `protobuf:"bytes,4,opt,name=domain,proto3" json:"domain,omitempty"` // Owner account owned by the third party used in domain verification. Verifier *v1.SolanaAccountId `protobuf:"bytes,5,opt,name=verifier,proto3" json:"verifier,omitempty"` // Signature of this message using the verifier private key, which in addition // to domain verification, authenticates the third party. Signature *v1.Signature `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"` // Rendezvous key to avoid replay attacks RendezvousKey *RendezvousKey `protobuf:"bytes,7,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` // Additional fee payments splitting the requested amount. This is in addition // to the hard-coded Code $0.01 USD fee. AdditionalFees []*v2.AdditionalFeePayment `protobuf:"bytes,8,rep,name=additional_fees,json=additionalFees,proto3" json:"additional_fees,omitempty"` // contains filtered or unexported fields }
Request that a bill of a requested value is created and sent to the requested address.
This message type is only initiated by clients.
func (*RequestToReceiveBill) Descriptor
deprecated
func (*RequestToReceiveBill) Descriptor() ([]byte, []int)
Deprecated: Use RequestToReceiveBill.ProtoReflect.Descriptor instead.
func (*RequestToReceiveBill) GetAdditionalFees ¶ added in v1.10.0
func (x *RequestToReceiveBill) GetAdditionalFees() []*v2.AdditionalFeePayment
func (*RequestToReceiveBill) GetDomain ¶
func (x *RequestToReceiveBill) GetDomain() *v1.Domain
func (*RequestToReceiveBill) GetExact ¶
func (x *RequestToReceiveBill) GetExact() *v2.ExchangeData
func (*RequestToReceiveBill) GetExchangeData ¶
func (m *RequestToReceiveBill) GetExchangeData() isRequestToReceiveBill_ExchangeData
func (*RequestToReceiveBill) GetPartial ¶
func (x *RequestToReceiveBill) GetPartial() *v2.ExchangeDataWithoutRate
func (*RequestToReceiveBill) GetRendezvousKey ¶
func (x *RequestToReceiveBill) GetRendezvousKey() *RendezvousKey
func (*RequestToReceiveBill) GetRequestorAccount ¶
func (x *RequestToReceiveBill) GetRequestorAccount() *v1.SolanaAccountId
func (*RequestToReceiveBill) GetSignature ¶
func (x *RequestToReceiveBill) GetSignature() *v1.Signature
func (*RequestToReceiveBill) GetVerifier ¶
func (x *RequestToReceiveBill) GetVerifier() *v1.SolanaAccountId
func (*RequestToReceiveBill) ProtoMessage ¶
func (*RequestToReceiveBill) ProtoMessage()
func (*RequestToReceiveBill) ProtoReflect ¶
func (x *RequestToReceiveBill) ProtoReflect() protoreflect.Message
func (*RequestToReceiveBill) Reset ¶
func (x *RequestToReceiveBill) Reset()
func (*RequestToReceiveBill) String ¶
func (x *RequestToReceiveBill) String() string
func (*RequestToReceiveBill) Validate ¶
func (m *RequestToReceiveBill) Validate() error
Validate checks the field values on RequestToReceiveBill with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type RequestToReceiveBillValidationError ¶
type RequestToReceiveBillValidationError struct {
// contains filtered or unexported fields
}
RequestToReceiveBillValidationError is the validation error returned by RequestToReceiveBill.Validate if the designated constraints aren't met.
func (RequestToReceiveBillValidationError) Cause ¶
func (e RequestToReceiveBillValidationError) Cause() error
Cause function returns cause value.
func (RequestToReceiveBillValidationError) Error ¶
func (e RequestToReceiveBillValidationError) Error() string
Error satisfies the builtin error interface
func (RequestToReceiveBillValidationError) ErrorName ¶
func (e RequestToReceiveBillValidationError) ErrorName() string
ErrorName returns error name.
func (RequestToReceiveBillValidationError) Field ¶
func (e RequestToReceiveBillValidationError) Field() string
Field function returns field value.
func (RequestToReceiveBillValidationError) Key ¶
func (e RequestToReceiveBillValidationError) Key() bool
Key function returns key value.
func (RequestToReceiveBillValidationError) Reason ¶
func (e RequestToReceiveBillValidationError) Reason() string
Reason function returns reason value.
type RequestToReceiveBill_Exact ¶
type RequestToReceiveBill_Exact struct { // An exact amount of Kin. Payment is guaranteed to transfer the specified // quarks in the requested currency and exchange rate. // // Only supports Kin. Use exchange_data.partial for fiat amounts. Exact *v2.ExchangeData `protobuf:"bytes,2,opt,name=exact,proto3,oneof"` }
type RequestToReceiveBill_Partial ¶
type RequestToReceiveBill_Partial struct { // Fiat amount request. The amount of Kin is determined at time of payment // with a recent exchange rate provided by the paying client and validatd // by server. // // Only supports fiat amounts. Use exchange_data.exact for Kin. Partial *v2.ExchangeDataWithoutRate `protobuf:"bytes,3,opt,name=partial,proto3,oneof"` }
type SendMessageRequest ¶
type SendMessageRequest struct { // The message to send. Types of messages clients can send are restricted. Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` // The rendezvous key that the message should be routed to. RendezvousKey *RendezvousKey `protobuf:"bytes,2,opt,name=rendezvous_key,json=rendezvousKey,proto3" json:"rendezvous_key,omitempty"` // The signature is of serialize(Message) using the PrivateKey of the keypair. Signature *v1.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetMessage ¶
func (x *SendMessageRequest) GetMessage() *Message
func (*SendMessageRequest) GetRendezvousKey ¶
func (x *SendMessageRequest) GetRendezvousKey() *RendezvousKey
func (*SendMessageRequest) GetSignature ¶
func (x *SendMessageRequest) GetSignature() *v1.Signature
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
func (*SendMessageRequest) Validate ¶
func (m *SendMessageRequest) Validate() error
Validate checks the field values on SendMessageRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendMessageRequestValidationError ¶
type SendMessageRequestValidationError struct {
// contains filtered or unexported fields
}
SendMessageRequestValidationError is the validation error returned by SendMessageRequest.Validate if the designated constraints aren't met.
func (SendMessageRequestValidationError) Cause ¶
func (e SendMessageRequestValidationError) Cause() error
Cause function returns cause value.
func (SendMessageRequestValidationError) Error ¶
func (e SendMessageRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageRequestValidationError) ErrorName ¶
func (e SendMessageRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageRequestValidationError) Field ¶
func (e SendMessageRequestValidationError) Field() string
Field function returns field value.
func (SendMessageRequestValidationError) Key ¶
func (e SendMessageRequestValidationError) Key() bool
Key function returns key value.
func (SendMessageRequestValidationError) Reason ¶
func (e SendMessageRequestValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse ¶
type SendMessageResponse struct { Result SendMessageResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=code.messaging.v1.SendMessageResponse_Result" json:"result,omitempty"` // Set if result == OK. MessageId *MessageId `protobuf:"bytes,2,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMessageId ¶
func (x *SendMessageResponse) GetMessageId() *MessageId
func (*SendMessageResponse) GetResult ¶
func (x *SendMessageResponse) GetResult() SendMessageResponse_Result
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
func (*SendMessageResponse) Validate ¶
func (m *SendMessageResponse) Validate() error
Validate checks the field values on SendMessageResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SendMessageResponseValidationError ¶
type SendMessageResponseValidationError struct {
// contains filtered or unexported fields
}
SendMessageResponseValidationError is the validation error returned by SendMessageResponse.Validate if the designated constraints aren't met.
func (SendMessageResponseValidationError) Cause ¶
func (e SendMessageResponseValidationError) Cause() error
Cause function returns cause value.
func (SendMessageResponseValidationError) Error ¶
func (e SendMessageResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SendMessageResponseValidationError) ErrorName ¶
func (e SendMessageResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SendMessageResponseValidationError) Field ¶
func (e SendMessageResponseValidationError) Field() string
Field function returns field value.
func (SendMessageResponseValidationError) Key ¶
func (e SendMessageResponseValidationError) Key() bool
Key function returns key value.
func (SendMessageResponseValidationError) Reason ¶
func (e SendMessageResponseValidationError) Reason() string
Reason function returns reason value.
type SendMessageResponse_Result ¶
type SendMessageResponse_Result int32
const ( SendMessageResponse_OK SendMessageResponse_Result = 0 SendMessageResponse_NO_ACTIVE_STREAM SendMessageResponse_Result = 1 )
func (SendMessageResponse_Result) Descriptor ¶
func (SendMessageResponse_Result) Descriptor() protoreflect.EnumDescriptor
func (SendMessageResponse_Result) Enum ¶
func (x SendMessageResponse_Result) Enum() *SendMessageResponse_Result
func (SendMessageResponse_Result) EnumDescriptor
deprecated
func (SendMessageResponse_Result) EnumDescriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse_Result.Descriptor instead.
func (SendMessageResponse_Result) Number ¶
func (x SendMessageResponse_Result) Number() protoreflect.EnumNumber
func (SendMessageResponse_Result) String ¶
func (x SendMessageResponse_Result) String() string
func (SendMessageResponse_Result) Type ¶
func (SendMessageResponse_Result) Type() protoreflect.EnumType
type ServerPing ¶
type ServerPing struct { // Timestamp the ping was sent on the stream, for client to get a sense // of potential network latency Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // The delay server will apply before sending the next ping PingDelay *durationpb.Duration `protobuf:"bytes,2,opt,name=ping_delay,json=pingDelay,proto3" json:"ping_delay,omitempty"` // contains filtered or unexported fields }
func (*ServerPing) Descriptor
deprecated
func (*ServerPing) Descriptor() ([]byte, []int)
Deprecated: Use ServerPing.ProtoReflect.Descriptor instead.
func (*ServerPing) GetPingDelay ¶
func (x *ServerPing) GetPingDelay() *durationpb.Duration
func (*ServerPing) GetTimestamp ¶
func (x *ServerPing) GetTimestamp() *timestamppb.Timestamp
func (*ServerPing) ProtoMessage ¶
func (*ServerPing) ProtoMessage()
func (*ServerPing) ProtoReflect ¶
func (x *ServerPing) ProtoReflect() protoreflect.Message
func (*ServerPing) Reset ¶
func (x *ServerPing) Reset()
func (*ServerPing) String ¶
func (x *ServerPing) String() string
func (*ServerPing) Validate ¶
func (m *ServerPing) Validate() error
Validate checks the field values on ServerPing with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ServerPingValidationError ¶
type ServerPingValidationError struct {
// contains filtered or unexported fields
}
ServerPingValidationError is the validation error returned by ServerPing.Validate if the designated constraints aren't met.
func (ServerPingValidationError) Cause ¶
func (e ServerPingValidationError) Cause() error
Cause function returns cause value.
func (ServerPingValidationError) Error ¶
func (e ServerPingValidationError) Error() string
Error satisfies the builtin error interface
func (ServerPingValidationError) ErrorName ¶
func (e ServerPingValidationError) ErrorName() string
ErrorName returns error name.
func (ServerPingValidationError) Field ¶
func (e ServerPingValidationError) Field() string
Field function returns field value.
func (ServerPingValidationError) Key ¶
func (e ServerPingValidationError) Key() bool
Key function returns key value.
func (ServerPingValidationError) Reason ¶
func (e ServerPingValidationError) Reason() string
Reason function returns reason value.
type UnimplementedMessagingServer ¶
type UnimplementedMessagingServer struct { }
UnimplementedMessagingServer must be embedded to have forward compatible implementations.
func (UnimplementedMessagingServer) AckMessages ¶
func (UnimplementedMessagingServer) AckMessages(context.Context, *AckMessagesRequest) (*AckMesssagesResponse, error)
func (UnimplementedMessagingServer) OpenMessageStream ¶
func (UnimplementedMessagingServer) OpenMessageStream(*OpenMessageStreamRequest, Messaging_OpenMessageStreamServer) error
func (UnimplementedMessagingServer) OpenMessageStreamWithKeepAlive ¶
func (UnimplementedMessagingServer) OpenMessageStreamWithKeepAlive(Messaging_OpenMessageStreamWithKeepAliveServer) error
func (UnimplementedMessagingServer) PollMessages ¶
func (UnimplementedMessagingServer) PollMessages(context.Context, *PollMessagesRequest) (*PollMessagesResponse, error)
func (UnimplementedMessagingServer) SendMessage ¶
func (UnimplementedMessagingServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
type UnsafeMessagingServer ¶
type UnsafeMessagingServer interface {
// contains filtered or unexported methods
}
UnsafeMessagingServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MessagingServer will result in compilation errors.
type WebhookCalled ¶
type WebhookCalled struct { // Estimated time webhook was received Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Webhook was successfully called
This message type is only initiated by server
func (*WebhookCalled) Descriptor
deprecated
func (*WebhookCalled) Descriptor() ([]byte, []int)
Deprecated: Use WebhookCalled.ProtoReflect.Descriptor instead.
func (*WebhookCalled) GetTimestamp ¶
func (x *WebhookCalled) GetTimestamp() *timestamppb.Timestamp
func (*WebhookCalled) ProtoMessage ¶
func (*WebhookCalled) ProtoMessage()
func (*WebhookCalled) ProtoReflect ¶
func (x *WebhookCalled) ProtoReflect() protoreflect.Message
func (*WebhookCalled) Reset ¶
func (x *WebhookCalled) Reset()
func (*WebhookCalled) String ¶
func (x *WebhookCalled) String() string
func (*WebhookCalled) Validate ¶
func (m *WebhookCalled) Validate() error
Validate checks the field values on WebhookCalled with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type WebhookCalledValidationError ¶
type WebhookCalledValidationError struct {
// contains filtered or unexported fields
}
WebhookCalledValidationError is the validation error returned by WebhookCalled.Validate if the designated constraints aren't met.
func (WebhookCalledValidationError) Cause ¶
func (e WebhookCalledValidationError) Cause() error
Cause function returns cause value.
func (WebhookCalledValidationError) Error ¶
func (e WebhookCalledValidationError) Error() string
Error satisfies the builtin error interface
func (WebhookCalledValidationError) ErrorName ¶
func (e WebhookCalledValidationError) ErrorName() string
ErrorName returns error name.
func (WebhookCalledValidationError) Field ¶
func (e WebhookCalledValidationError) Field() string
Field function returns field value.
func (WebhookCalledValidationError) Key ¶
func (e WebhookCalledValidationError) Key() bool
Key function returns key value.
func (WebhookCalledValidationError) Reason ¶
func (e WebhookCalledValidationError) Reason() string
Reason function returns reason value.