Documentation ¶
Index ¶
- Variables
- type Batch
- func (*Batch) Descriptor() ([]byte, []int)deprecated
- func (x *Batch) GetBatchSize() int32
- func (x *Batch) GetId() string
- func (x *Batch) GetMessages() []*Message
- func (x *Batch) GetThread() *types.Thread
- func (x *Batch) GetType() string
- func (*Batch) ProtoMessage()
- func (x *Batch) ProtoReflect() protoreflect.Message
- func (x *Batch) Reset()
- func (x *Batch) String() string
- type BatchPickup
- func (*BatchPickup) Descriptor() ([]byte, []int)deprecated
- func (x *BatchPickup) GetBatchSize() int32
- func (x *BatchPickup) GetId() string
- func (x *BatchPickup) GetThread() *types.Thread
- func (x *BatchPickup) GetType() string
- func (*BatchPickup) ProtoMessage()
- func (x *BatchPickup) ProtoReflect() protoreflect.Message
- func (x *BatchPickup) Reset()
- func (x *BatchPickup) String() string
- type HttpHeader
- type HttpOverDIDCommMsg
- func (*HttpOverDIDCommMsg) Descriptor() ([]byte, []int)deprecated
- func (x *HttpOverDIDCommMsg) GetBody() string
- func (x *HttpOverDIDCommMsg) GetHeaders() []*HttpHeader
- func (x *HttpOverDIDCommMsg) GetId() string
- func (x *HttpOverDIDCommMsg) GetMethod() string
- func (x *HttpOverDIDCommMsg) GetResourceUri() string
- func (x *HttpOverDIDCommMsg) GetVersion() string
- func (*HttpOverDIDCommMsg) ProtoMessage()
- func (x *HttpOverDIDCommMsg) ProtoReflect() protoreflect.Message
- func (x *HttpOverDIDCommMsg) Reset()
- func (x *HttpOverDIDCommMsg) String() string
- type I10N
- type Inbox
- func (*Inbox) Descriptor() ([]byte, []int)deprecated
- func (x *Inbox) GetDid() string
- func (x *Inbox) GetLastAddedTime() *timestamppb.Timestamp
- func (x *Inbox) GetLastDeliveredTime() *timestamppb.Timestamp
- func (x *Inbox) GetLastRemovedTime() *timestamppb.Timestamp
- func (x *Inbox) GetMessageCount() int32
- func (x *Inbox) GetMessages() []*Message
- func (x *Inbox) GetTotalSize() int32
- func (*Inbox) ProtoMessage()
- func (x *Inbox) ProtoReflect() protoreflect.Message
- func (x *Inbox) Reset()
- func (x *Inbox) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAddedTime() *timestamppb.Timestamp
- func (x *Message) GetContent() string
- func (x *Message) GetId() string
- func (x *Message) GetL10N() *I10N
- func (x *Message) GetMsg() []byte
- func (x *Message) GetSentTime() *timestamppb.Timestamp
- func (x *Message) GetType() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Noop
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetDurationWaited() int32
- func (x *Status) GetId() string
- func (x *Status) GetLastAddedTime() *timestamppb.Timestamp
- func (x *Status) GetLastDeliveredTime() *timestamppb.Timestamp
- func (x *Status) GetLastRemovedTime() *timestamppb.Timestamp
- func (x *Status) GetMessageCount() int32
- func (x *Status) GetThread() *types.Thread
- func (x *Status) GetTotalSize() int32
- func (x *Status) GetType() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type StatusRequest
- func (*StatusRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StatusRequest) GetId() string
- func (x *StatusRequest) GetThread() *types.Thread
- func (x *StatusRequest) GetType() string
- func (*StatusRequest) ProtoMessage()
- func (x *StatusRequest) ProtoReflect() protoreflect.Message
- func (x *StatusRequest) Reset()
- func (x *StatusRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_api_did_msg_types_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type BatchSize int32 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` Thread *types.Thread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread Messages []*Message `protobuf:"bytes,5,rep,name=messages,proto3" json:"messages,omitempty"` // messages~attach // contains filtered or unexported fields }
Batch a message that contains multiple waiting messages. https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#batch swagger:model
func (*Batch) Descriptor
deprecated
func (*Batch) GetBatchSize ¶
func (*Batch) GetMessages ¶
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type BatchPickup ¶
type BatchPickup struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type BatchSize int32 `protobuf:"varint,3,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"` Thread *types.Thread `protobuf:"bytes,4,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread // contains filtered or unexported fields }
BatchPickup a request to have multiple waiting messages sent inside a batch message. https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#batch-pickup swagger:model
func (*BatchPickup) Descriptor
deprecated
func (*BatchPickup) Descriptor() ([]byte, []int)
Deprecated: Use BatchPickup.ProtoReflect.Descriptor instead.
func (*BatchPickup) GetBatchSize ¶
func (x *BatchPickup) GetBatchSize() int32
func (*BatchPickup) GetId ¶
func (x *BatchPickup) GetId() string
func (*BatchPickup) GetThread ¶
func (x *BatchPickup) GetThread() *types.Thread
func (*BatchPickup) GetType ¶
func (x *BatchPickup) GetType() string
func (*BatchPickup) ProtoMessage ¶
func (*BatchPickup) ProtoMessage()
func (*BatchPickup) ProtoReflect ¶
func (x *BatchPickup) ProtoReflect() protoreflect.Message
func (*BatchPickup) Reset ¶
func (x *BatchPickup) Reset()
func (*BatchPickup) String ¶
func (x *BatchPickup) String() string
type HttpHeader ¶
type HttpHeader struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
httpOverDIDCommMsg is incoming DIDComm message for http-over-didcomm message types Reference:
https://github.com/hyperledger/aries-rfcs/blob/master/features/0335-http-over-didcomm/README.md#message-format
func (*HttpHeader) Descriptor
deprecated
func (*HttpHeader) Descriptor() ([]byte, []int)
Deprecated: Use HttpHeader.ProtoReflect.Descriptor instead.
func (*HttpHeader) GetName ¶
func (x *HttpHeader) GetName() string
func (*HttpHeader) GetValue ¶
func (x *HttpHeader) GetValue() string
func (*HttpHeader) ProtoMessage ¶
func (*HttpHeader) ProtoMessage()
func (*HttpHeader) ProtoReflect ¶
func (x *HttpHeader) ProtoReflect() protoreflect.Message
func (*HttpHeader) Reset ¶
func (x *HttpHeader) Reset()
func (*HttpHeader) String ¶
func (x *HttpHeader) String() string
type HttpOverDIDCommMsg ¶
type HttpOverDIDCommMsg struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Method string `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"` ResourceUri string `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` //resource-uri Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` Headers []*HttpHeader `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"` Body string `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*HttpOverDIDCommMsg) Descriptor
deprecated
func (*HttpOverDIDCommMsg) Descriptor() ([]byte, []int)
Deprecated: Use HttpOverDIDCommMsg.ProtoReflect.Descriptor instead.
func (*HttpOverDIDCommMsg) GetBody ¶
func (x *HttpOverDIDCommMsg) GetBody() string
func (*HttpOverDIDCommMsg) GetHeaders ¶
func (x *HttpOverDIDCommMsg) GetHeaders() []*HttpHeader
func (*HttpOverDIDCommMsg) GetId ¶
func (x *HttpOverDIDCommMsg) GetId() string
func (*HttpOverDIDCommMsg) GetMethod ¶
func (x *HttpOverDIDCommMsg) GetMethod() string
func (*HttpOverDIDCommMsg) GetResourceUri ¶
func (x *HttpOverDIDCommMsg) GetResourceUri() string
func (*HttpOverDIDCommMsg) GetVersion ¶
func (x *HttpOverDIDCommMsg) GetVersion() string
func (*HttpOverDIDCommMsg) ProtoMessage ¶
func (*HttpOverDIDCommMsg) ProtoMessage()
func (*HttpOverDIDCommMsg) ProtoReflect ¶
func (x *HttpOverDIDCommMsg) ProtoReflect() protoreflect.Message
func (*HttpOverDIDCommMsg) Reset ¶
func (x *HttpOverDIDCommMsg) Reset()
func (*HttpOverDIDCommMsg) String ¶
func (x *HttpOverDIDCommMsg) String() string
type I10N ¶
type I10N struct { Locale string `protobuf:"bytes,1,opt,name=locale,proto3" json:"locale,omitempty"` // contains filtered or unexported fields }
Message is message model for basic message protocol Reference:
https://github.com/hyperledger/aries-rfcs/tree/master/features/0095-basic-message#reference
func (*I10N) Descriptor
deprecated
func (*I10N) ProtoMessage ¶
func (*I10N) ProtoMessage()
func (*I10N) ProtoReflect ¶
func (x *I10N) ProtoReflect() protoreflect.Message
type Inbox ¶
type Inbox struct { Did string `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` MessageCount int32 `protobuf:"varint,2,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"` LastAddedTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_added_time,json=lastAddedTime,proto3" json:"last_added_time,omitempty"` LastDeliveredTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_delivered_time,json=lastDeliveredTime,proto3" json:"last_delivered_time,omitempty"` LastRemovedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_removed_time,json=lastRemovedTime,proto3" json:"last_removed_time,omitempty"` TotalSize int32 `protobuf:"varint,6,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` Messages []*Message `protobuf:"bytes,7,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*Inbox) Descriptor
deprecated
func (*Inbox) GetLastAddedTime ¶
func (x *Inbox) GetLastAddedTime() *timestamppb.Timestamp
func (*Inbox) GetLastDeliveredTime ¶
func (x *Inbox) GetLastDeliveredTime() *timestamppb.Timestamp
func (*Inbox) GetLastRemovedTime ¶
func (x *Inbox) GetLastRemovedTime() *timestamppb.Timestamp
func (*Inbox) GetMessageCount ¶
func (*Inbox) GetMessages ¶
func (*Inbox) GetTotalSize ¶
func (*Inbox) ProtoMessage ¶
func (*Inbox) ProtoMessage()
func (*Inbox) ProtoReflect ¶
func (x *Inbox) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type L10N *I10N `protobuf:"bytes,3,opt,name=l10n,proto3" json:"l10n,omitempty"` // ~l10n Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` SentTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=sent_time,json=sentTime,proto3" json:"sent_time,omitempty"` // Message messagepickup wrapper. Msg []byte `protobuf:"bytes,6,opt,name=msg,proto3" json:"msg,omitempty"` AddedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=added_time,json=addedTime,proto3" json:"added_time,omitempty"` // contains filtered or unexported fields }
swagger:model
func (*Message) Descriptor
deprecated
func (*Message) GetAddedTime ¶
func (x *Message) GetAddedTime() *timestamppb.Timestamp
func (*Message) GetContent ¶
func (*Message) GetSentTime ¶
func (x *Message) GetSentTime() *timestamppb.Timestamp
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Noop ¶
type Noop struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type // contains filtered or unexported fields }
Noop message https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#noop swagger:model
func (*Noop) Descriptor
deprecated
func (*Noop) ProtoMessage ¶
func (*Noop) ProtoMessage()
func (*Noop) ProtoReflect ¶
func (x *Noop) ProtoReflect() protoreflect.Message
type Status ¶
type Status struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type MessageCount int32 `protobuf:"varint,3,opt,name=message_count,json=messageCount,proto3" json:"message_count,omitempty"` DurationWaited int32 `protobuf:"varint,4,opt,name=duration_waited,json=durationWaited,proto3" json:"duration_waited,omitempty"` LastAddedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_added_time,json=lastAddedTime,proto3" json:"last_added_time,omitempty"` LastDeliveredTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=last_delivered_time,json=lastDeliveredTime,proto3" json:"last_delivered_time,omitempty"` LastRemovedTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=last_removed_time,json=lastRemovedTime,proto3" json:"last_removed_time,omitempty"` TotalSize int32 `protobuf:"varint,8,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` Thread *types.Thread `protobuf:"bytes,9,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread // contains filtered or unexported fields }
Status details about pending messages https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#status swagger:model
func (*Status) Descriptor
deprecated
func (*Status) GetDurationWaited ¶
func (*Status) GetLastAddedTime ¶
func (x *Status) GetLastAddedTime() *timestamppb.Timestamp
func (*Status) GetLastDeliveredTime ¶
func (x *Status) GetLastDeliveredTime() *timestamppb.Timestamp
func (*Status) GetLastRemovedTime ¶
func (x *Status) GetLastRemovedTime() *timestamppb.Timestamp
func (*Status) GetMessageCount ¶
func (*Status) GetTotalSize ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) ProtoReflect ¶
func (x *Status) ProtoReflect() protoreflect.Message
type StatusRequest ¶
type StatusRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // @id Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // @type Thread *types.Thread `protobuf:"bytes,3,opt,name=thread,proto3" json:"thread,omitempty"` // ~thread // contains filtered or unexported fields }
StatusRequest sent by the recipient to the message_holder to request a status message./0212-pickup#statusrequest https://github.com/hyperledger/aries-rfcs/tree/master/features/0212-pickup#statusrequest swagger:model
func (*StatusRequest) Descriptor
deprecated
func (*StatusRequest) Descriptor() ([]byte, []int)
Deprecated: Use StatusRequest.ProtoReflect.Descriptor instead.
func (*StatusRequest) GetId ¶
func (x *StatusRequest) GetId() string
func (*StatusRequest) GetThread ¶
func (x *StatusRequest) GetThread() *types.Thread
func (*StatusRequest) GetType ¶
func (x *StatusRequest) GetType() string
func (*StatusRequest) ProtoMessage ¶
func (*StatusRequest) ProtoMessage()
func (*StatusRequest) ProtoReflect ¶
func (x *StatusRequest) ProtoReflect() protoreflect.Message
func (*StatusRequest) Reset ¶
func (x *StatusRequest) Reset()
func (*StatusRequest) String ¶
func (x *StatusRequest) String() string