Documentation
¶
Index ¶
- Variables
- type DIDArgs
- func (*DIDArgs) Descriptor() ([]byte, []int)deprecated
- func (x *DIDArgs) GetDid() []byte
- func (x *DIDArgs) GetDocumentURL() string
- func (x *DIDArgs) GetName() string
- func (x *DIDArgs) GetUrl() string
- func (*DIDArgs) ProtoMessage()
- func (x *DIDArgs) ProtoReflect() protoreflect.Message
- func (x *DIDArgs) Reset()
- func (x *DIDArgs) String() string
- type DIDRecordResult
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetDid() []byte
- func (x *Document) GetDocumentURL() string
- func (x *Document) GetUrl() string
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- type IDArg
- type NameArg
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_vdr_types_vdr_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type DIDArgs ¶
type DIDArgs struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` DocumentURL string `protobuf:"bytes,2,opt,name=documentURL,proto3" json:"documentURL,omitempty"` Did []byte `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // json.RawMessage Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
DIDArgs is model for did doc with fields related to command features.
func (*DIDArgs) Descriptor
deprecated
func (*DIDArgs) GetDocumentURL ¶
func (*DIDArgs) ProtoMessage ¶
func (*DIDArgs) ProtoMessage()
func (*DIDArgs) ProtoReflect ¶
func (x *DIDArgs) ProtoReflect() protoreflect.Message
type DIDRecordResult ¶
type DIDRecordResult struct { // Result Result []*types.Record `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
DIDRecordResult holds the did doc records.
func (*DIDRecordResult) Descriptor
deprecated
func (*DIDRecordResult) Descriptor() ([]byte, []int)
Deprecated: Use DIDRecordResult.ProtoReflect.Descriptor instead.
func (*DIDRecordResult) GetResult ¶
func (x *DIDRecordResult) GetResult() []*types.Record
func (*DIDRecordResult) ProtoMessage ¶
func (*DIDRecordResult) ProtoMessage()
func (*DIDRecordResult) ProtoReflect ¶
func (x *DIDRecordResult) ProtoReflect() protoreflect.Message
func (*DIDRecordResult) Reset ¶
func (x *DIDRecordResult) Reset()
func (*DIDRecordResult) String ¶
func (x *DIDRecordResult) String() string
type Document ¶
type Document struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` DocumentURL string `protobuf:"bytes,2,opt,name=documentURL,proto3" json:"documentURL,omitempty"` Did []byte `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // json.RawMessage // contains filtered or unexported fields }
Document is model for did document.
func (*Document) Descriptor
deprecated
func (*Document) GetDocumentURL ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type IDArg ¶
type IDArg struct { // DidID Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
IDArg model
This is used for querying/removing by did ID from input json.
func (*IDArg) Descriptor
deprecated
func (*IDArg) ProtoMessage ¶
func (*IDArg) ProtoMessage()
func (*IDArg) ProtoReflect ¶
func (x *IDArg) ProtoReflect() protoreflect.Message
type NameArg ¶
type NameArg struct { // Name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
NameArg model
This is used for querying by did name from input json.
func (*NameArg) Descriptor
deprecated
func (*NameArg) ProtoMessage ¶
func (*NameArg) ProtoMessage()
func (*NameArg) ProtoReflect ¶
func (x *NameArg) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.