types

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

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

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

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use DIDArgs.ProtoReflect.Descriptor instead.

func (*DIDArgs) GetDid

func (x *DIDArgs) GetDid() []byte

func (*DIDArgs) GetDocumentURL

func (x *DIDArgs) GetDocumentURL() string

func (*DIDArgs) GetName

func (x *DIDArgs) GetName() string

func (*DIDArgs) GetUrl

func (x *DIDArgs) GetUrl() string

func (*DIDArgs) ProtoMessage

func (*DIDArgs) ProtoMessage()

func (*DIDArgs) ProtoReflect

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

func (*DIDArgs) Reset

func (x *DIDArgs) Reset()

func (*DIDArgs) String

func (x *DIDArgs) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetDid

func (x *Document) GetDid() []byte

func (*Document) GetDocumentURL

func (x *Document) GetDocumentURL() string

func (*Document) GetUrl

func (x *Document) GetUrl() string

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

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

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IDArg.ProtoReflect.Descriptor instead.

func (*IDArg) GetId

func (x *IDArg) GetId() string

func (*IDArg) ProtoMessage

func (*IDArg) ProtoMessage()

func (*IDArg) ProtoReflect

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

func (*IDArg) Reset

func (x *IDArg) Reset()

func (*IDArg) String

func (x *IDArg) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use NameArg.ProtoReflect.Descriptor instead.

func (*NameArg) GetName

func (x *NameArg) GetName() string

func (*NameArg) ProtoMessage

func (*NameArg) ProtoMessage()

func (*NameArg) ProtoReflect

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

func (*NameArg) Reset

func (x *NameArg) Reset()

func (*NameArg) String

func (x *NameArg) String() string

Jump to

Keyboard shortcuts

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