Documentation
¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type ContentEntry
- func (*ContentEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ContentEntry) GetHash() *ContentHash
- func (x *ContentEntry) GetIri() string
- func (x *ContentEntry) GetTimestamp() *timestamppb.Timestamp
- func (*ContentEntry) ProtoMessage()
- func (x *ContentEntry) ProtoReflect() protoreflect.Message
- func (x *ContentEntry) Reset()
- func (x *ContentEntry) String() string
- type ContentHash
- func (*ContentHash) Descriptor() ([]byte, []int)deprecated
- func (x *ContentHash) GetGraph() *ContentHash_Graph
- func (x *ContentHash) GetRaw() *ContentHash_Raw
- func (x *ContentHash) GetSum() isContentHash_Sum
- func (*ContentHash) ProtoMessage()
- func (x *ContentHash) ProtoReflect() protoreflect.Message
- func (x *ContentHash) Reset()
- func (x *ContentHash) String() string
- type ContentHash_Graph
- func (*ContentHash_Graph) Descriptor() ([]byte, []int)deprecated
- func (x *ContentHash_Graph) GetCanonicalizationAlgorithm() GraphCanonicalizationAlgorithm
- func (x *ContentHash_Graph) GetDigestAlgorithm() DigestAlgorithm
- func (x *ContentHash_Graph) GetHash() []byte
- func (x *ContentHash_Graph) GetMerkleTree() GraphMerkleTree
- func (*ContentHash_Graph) ProtoMessage()
- func (x *ContentHash_Graph) ProtoReflect() protoreflect.Message
- func (x *ContentHash_Graph) Reset()
- func (x *ContentHash_Graph) String() string
- type ContentHash_Graph_
- type ContentHash_Raw
- func (*ContentHash_Raw) Descriptor() ([]byte, []int)deprecated
- func (x *ContentHash_Raw) GetDigestAlgorithm() DigestAlgorithm
- func (x *ContentHash_Raw) GetHash() []byte
- func (x *ContentHash_Raw) GetMediaType() MediaType
- func (*ContentHash_Raw) ProtoMessage()
- func (x *ContentHash_Raw) ProtoReflect() protoreflect.Message
- func (x *ContentHash_Raw) Reset()
- func (x *ContentHash_Raw) String() string
- type ContentHash_Raw_
- type DigestAlgorithm
- func (DigestAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x DigestAlgorithm) Enum() *DigestAlgorithm
- func (DigestAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x DigestAlgorithm) Number() protoreflect.EnumNumber
- func (x DigestAlgorithm) String() string
- func (DigestAlgorithm) Type() protoreflect.EnumType
- type EventAnchorData
- type EventSignData
- func (*EventSignData) Descriptor() ([]byte, []int)deprecated
- func (x *EventSignData) GetIri() string
- func (x *EventSignData) GetSigners() []string
- func (*EventSignData) ProtoMessage()
- func (x *EventSignData) ProtoReflect() protoreflect.Message
- func (x *EventSignData) Reset()
- func (x *EventSignData) String() string
- type EventStoreRawData
- type GenesisContentEntry
- func (*GenesisContentEntry) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisContentEntry) GetHash() *ContentHash
- func (x *GenesisContentEntry) GetSigners() []*SignerEntry
- func (x *GenesisContentEntry) GetTimestamp() *timestamppb.Timestamp
- func (*GenesisContentEntry) ProtoMessage()
- func (x *GenesisContentEntry) ProtoReflect() protoreflect.Message
- func (x *GenesisContentEntry) Reset()
- func (x *GenesisContentEntry) String() string
- type GenesisState
- type GraphCanonicalizationAlgorithm
- func (GraphCanonicalizationAlgorithm) Descriptor() protoreflect.EnumDescriptor
- func (x GraphCanonicalizationAlgorithm) Enum() *GraphCanonicalizationAlgorithm
- func (GraphCanonicalizationAlgorithm) EnumDescriptor() ([]byte, []int)deprecated
- func (x GraphCanonicalizationAlgorithm) Number() protoreflect.EnumNumber
- func (x GraphCanonicalizationAlgorithm) String() string
- func (GraphCanonicalizationAlgorithm) Type() protoreflect.EnumType
- type GraphMerkleTree
- func (GraphMerkleTree) Descriptor() protoreflect.EnumDescriptor
- func (x GraphMerkleTree) Enum() *GraphMerkleTree
- func (GraphMerkleTree) EnumDescriptor() ([]byte, []int)deprecated
- func (x GraphMerkleTree) Number() protoreflect.EnumNumber
- func (x GraphMerkleTree) String() string
- func (GraphMerkleTree) Type() protoreflect.EnumType
- type MediaType
- type MsgAnchorData
- func (*MsgAnchorData) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAnchorData) GetHash() *ContentHash
- func (x *MsgAnchorData) GetSender() string
- func (*MsgAnchorData) ProtoMessage()
- func (x *MsgAnchorData) ProtoReflect() protoreflect.Message
- func (x *MsgAnchorData) Reset()
- func (x *MsgAnchorData) String() string
- type MsgAnchorDataResponse
- func (*MsgAnchorDataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgAnchorDataResponse) GetIri() string
- func (x *MsgAnchorDataResponse) GetTimestamp() *timestamppb.Timestamp
- func (*MsgAnchorDataResponse) ProtoMessage()
- func (x *MsgAnchorDataResponse) ProtoReflect() protoreflect.Message
- func (x *MsgAnchorDataResponse) Reset()
- func (x *MsgAnchorDataResponse) String() string
- type MsgClient
- type MsgServer
- type MsgSignData
- func (*MsgSignData) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSignData) GetHash() *ContentHash_Graph
- func (x *MsgSignData) GetSigners() []string
- func (*MsgSignData) ProtoMessage()
- func (x *MsgSignData) ProtoReflect() protoreflect.Message
- func (x *MsgSignData) Reset()
- func (x *MsgSignData) String() string
- type MsgSignDataResponse
- type QueryByIRIRequest
- type QueryByIRIResponse
- func (*QueryByIRIResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryByIRIResponse) GetEntry() *ContentEntry
- func (*QueryByIRIResponse) ProtoMessage()
- func (x *QueryByIRIResponse) ProtoReflect() protoreflect.Message
- func (x *QueryByIRIResponse) Reset()
- func (x *QueryByIRIResponse) String() string
- type QueryBySignerRequest
- func (*QueryBySignerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBySignerRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryBySignerRequest) GetSigner() string
- func (*QueryBySignerRequest) ProtoMessage()
- func (x *QueryBySignerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBySignerRequest) Reset()
- func (x *QueryBySignerRequest) String() string
- type QueryBySignerResponse
- func (*QueryBySignerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBySignerResponse) GetEntries() []*ContentEntry
- func (x *QueryBySignerResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryBySignerResponse) ProtoMessage()
- func (x *QueryBySignerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBySignerResponse) Reset()
- func (x *QueryBySignerResponse) String() string
- type QueryClient
- type QueryServer
- type QuerySignersRequest
- func (*QuerySignersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySignersRequest) GetIri() string
- func (x *QuerySignersRequest) GetPagination() *v1beta1.PageRequest
- func (*QuerySignersRequest) ProtoMessage()
- func (x *QuerySignersRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySignersRequest) Reset()
- func (x *QuerySignersRequest) String() string
- type QuerySignersResponse
- func (*QuerySignersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySignersResponse) GetPagination() *v1beta1.PageResponse
- func (x *QuerySignersResponse) GetSigners() []string
- func (*QuerySignersResponse) ProtoMessage()
- func (x *QuerySignersResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySignersResponse) Reset()
- func (x *QuerySignersResponse) String() string
- type SignerEntry
- func (*SignerEntry) Descriptor() ([]byte, []int)deprecated
- func (x *SignerEntry) GetSigner() string
- func (x *SignerEntry) GetTimestamp() *timestamppb.Timestamp
- func (*SignerEntry) ProtoMessage()
- func (x *SignerEntry) ProtoReflect() protoreflect.Message
- func (x *SignerEntry) Reset()
- func (x *SignerEntry) String() string
- type UnimplementedMsgServer
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) ByIRI(context.Context, *QueryByIRIRequest) (*QueryByIRIResponse, error)
- func (UnimplementedQueryServer) BySigner(context.Context, *QueryBySignerRequest) (*QueryBySignerResponse, error)
- func (UnimplementedQueryServer) Signers(context.Context, *QuerySignersRequest) (*QuerySignersResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
This section is empty.
Variables ¶
var ( MediaType_name = map[int32]string{ 0: "MEDIA_TYPE_UNSPECIFIED", 1: "MEDIA_TYPE_TEXT_PLAIN", 2: "MEDIA_TYPE_JSON", 3: "MEDIA_TYPE_CSV", 4: "MEDIA_TYPE_XML", 5: "MEDIA_TYPE_PDF", 16: "MEDIA_TYPE_TIFF", 17: "MEDIA_TYPE_JPG", 18: "MEDIA_TYPE_PNG", 19: "MEDIA_TYPE_SVG", 20: "MEDIA_TYPE_WEBP", 21: "MEDIA_TYPE_AVIF", 22: "MEDIA_TYPE_GIF", 23: "MEDIA_TYPE_APNG", 32: "MEDIA_TYPE_MPEG", 33: "MEDIA_TYPE_MP4", 34: "MEDIA_TYPE_WEBM", 35: "MEDIA_TYPE_OGG", } MediaType_value = map[string]int32{ "MEDIA_TYPE_UNSPECIFIED": 0, "MEDIA_TYPE_TEXT_PLAIN": 1, "MEDIA_TYPE_JSON": 2, "MEDIA_TYPE_CSV": 3, "MEDIA_TYPE_XML": 4, "MEDIA_TYPE_PDF": 5, "MEDIA_TYPE_TIFF": 16, "MEDIA_TYPE_JPG": 17, "MEDIA_TYPE_PNG": 18, "MEDIA_TYPE_SVG": 19, "MEDIA_TYPE_WEBP": 20, "MEDIA_TYPE_AVIF": 21, "MEDIA_TYPE_GIF": 22, "MEDIA_TYPE_APNG": 23, "MEDIA_TYPE_MPEG": 32, "MEDIA_TYPE_MP4": 33, "MEDIA_TYPE_WEBM": 34, "MEDIA_TYPE_OGG": 35, } )
Enum value maps for MediaType.
var ( GraphCanonicalizationAlgorithm_name = map[int32]string{ 0: "GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED", 1: "GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015", } GraphCanonicalizationAlgorithm_value = map[string]int32{ "GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED": 0, "GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015": 1, } )
Enum value maps for GraphCanonicalizationAlgorithm.
var ( GraphMerkleTree_name = map[int32]string{ 0: "GRAPH_MERKLE_TREE_NONE_UNSPECIFIED", } GraphMerkleTree_value = map[string]int32{ "GRAPH_MERKLE_TREE_NONE_UNSPECIFIED": 0, } )
Enum value maps for GraphMerkleTree.
var ( DigestAlgorithm_name = map[int32]string{ 0: "DIGEST_ALGORITHM_UNSPECIFIED", 1: "DIGEST_ALGORITHM_BLAKE2B_256", } DigestAlgorithm_value = map[string]int32{ "DIGEST_ALGORITHM_UNSPECIFIED": 0, "DIGEST_ALGORITHM_BLAKE2B_256": 1, } )
Enum value maps for DigestAlgorithm.
var File_regen_data_v1alpha2_events_proto protoreflect.FileDescriptor
var File_regen_data_v1alpha2_genesis_proto protoreflect.FileDescriptor
var File_regen_data_v1alpha2_query_proto protoreflect.FileDescriptor
var File_regen_data_v1alpha2_tx_proto protoreflect.FileDescriptor
var File_regen_data_v1alpha2_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.data.v1alpha2.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AnchorData", Handler: _Msg_AnchorData_Handler, }, { MethodName: "SignData", Handler: _Msg_SignData_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/data/v1alpha2/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "regen.data.v1alpha2.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ByIRI", Handler: _Query_ByIRI_Handler, }, { MethodName: "BySigner", Handler: _Query_BySigner_Handler, }, { MethodName: "Signers", Handler: _Query_Signers_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "regen/data/v1alpha2/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type ContentEntry ¶
type ContentEntry struct { // hash is the content hash Hash *ContentHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // iri is the content IRI Iri string `protobuf:"bytes,2,opt,name=iri,proto3" json:"iri,omitempty"` // timestamp is the anchor Timestamp Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
ContentEntry describes data referenced and possibly stored on chain
func (*ContentEntry) Descriptor
deprecated
func (*ContentEntry) Descriptor() ([]byte, []int)
Deprecated: Use ContentEntry.ProtoReflect.Descriptor instead.
func (*ContentEntry) GetHash ¶
func (x *ContentEntry) GetHash() *ContentHash
func (*ContentEntry) GetIri ¶
func (x *ContentEntry) GetIri() string
func (*ContentEntry) GetTimestamp ¶
func (x *ContentEntry) GetTimestamp() *timestamppb.Timestamp
func (*ContentEntry) ProtoMessage ¶
func (*ContentEntry) ProtoMessage()
func (*ContentEntry) ProtoReflect ¶
func (x *ContentEntry) ProtoReflect() protoreflect.Message
func (*ContentEntry) Reset ¶
func (x *ContentEntry) Reset()
func (*ContentEntry) String ¶
func (x *ContentEntry) String() string
type ContentHash ¶
type ContentHash struct { // sum selects the type of content hash // // Types that are assignable to Sum: // *ContentHash_Raw_ // *ContentHash_Graph_ Sum isContentHash_Sum `protobuf_oneof:"sum"` // contains filtered or unexported fields }
ContentHash specifies a hash based content identifier for a piece of data
func (*ContentHash) Descriptor
deprecated
func (*ContentHash) Descriptor() ([]byte, []int)
Deprecated: Use ContentHash.ProtoReflect.Descriptor instead.
func (*ContentHash) GetGraph ¶
func (x *ContentHash) GetGraph() *ContentHash_Graph
func (*ContentHash) GetRaw ¶
func (x *ContentHash) GetRaw() *ContentHash_Raw
func (*ContentHash) GetSum ¶
func (x *ContentHash) GetSum() isContentHash_Sum
func (*ContentHash) ProtoMessage ¶
func (*ContentHash) ProtoMessage()
func (*ContentHash) ProtoReflect ¶
func (x *ContentHash) ProtoReflect() protoreflect.Message
func (*ContentHash) Reset ¶
func (x *ContentHash) Reset()
func (*ContentHash) String ¶
func (x *ContentHash) String() string
type ContentHash_Graph ¶
type ContentHash_Graph struct { // hash represents the hash of the data based on the specified digest_algorithm Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // digest_algorithm represents the hash digest algorithm. DigestAlgorithm DigestAlgorithm `` /* 148-byte string literal not displayed */ // graph_canonicalization_algorithm represents the RDF graph canonicalization algorithm. CanonicalizationAlgorithm GraphCanonicalizationAlgorithm `` /* 193-byte string literal not displayed */ // merkle_tree is the merkle tree type used for the graph hash, if any MerkleTree GraphMerkleTree `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
Graph is the content hash type used for RDF graph data
func (*ContentHash_Graph) Descriptor
deprecated
func (*ContentHash_Graph) Descriptor() ([]byte, []int)
Deprecated: Use ContentHash_Graph.ProtoReflect.Descriptor instead.
func (*ContentHash_Graph) GetCanonicalizationAlgorithm ¶
func (x *ContentHash_Graph) GetCanonicalizationAlgorithm() GraphCanonicalizationAlgorithm
func (*ContentHash_Graph) GetDigestAlgorithm ¶
func (x *ContentHash_Graph) GetDigestAlgorithm() DigestAlgorithm
func (*ContentHash_Graph) GetHash ¶
func (x *ContentHash_Graph) GetHash() []byte
func (*ContentHash_Graph) GetMerkleTree ¶
func (x *ContentHash_Graph) GetMerkleTree() GraphMerkleTree
func (*ContentHash_Graph) ProtoMessage ¶
func (*ContentHash_Graph) ProtoMessage()
func (*ContentHash_Graph) ProtoReflect ¶
func (x *ContentHash_Graph) ProtoReflect() protoreflect.Message
func (*ContentHash_Graph) Reset ¶
func (x *ContentHash_Graph) Reset()
func (*ContentHash_Graph) String ¶
func (x *ContentHash_Graph) String() string
type ContentHash_Graph_ ¶
type ContentHash_Graph_ struct { // Graph specifies graph data that conforms to the RDF data model. // The canonicalization algorithm used for an RDF graph is specified by GraphCanonicalizationAlgorithm. Graph *ContentHash_Graph `protobuf:"bytes,2,opt,name=graph,proto3,oneof"` }
type ContentHash_Raw ¶
type ContentHash_Raw struct { // hash represents the hash of the data based on the specified digest_algorithm Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // digest_algorithm represents the hash digest algorithm. DigestAlgorithm DigestAlgorithm `` /* 148-byte string literal not displayed */ // media_type represents the MediaType for raw data. MediaType MediaType `protobuf:"varint,3,opt,name=media_type,json=mediaType,proto3,enum=regen.data.v1alpha2.MediaType" json:"media_type,omitempty"` // contains filtered or unexported fields }
Raw is the content hash type used for raw data
func (*ContentHash_Raw) Descriptor
deprecated
func (*ContentHash_Raw) Descriptor() ([]byte, []int)
Deprecated: Use ContentHash_Raw.ProtoReflect.Descriptor instead.
func (*ContentHash_Raw) GetDigestAlgorithm ¶
func (x *ContentHash_Raw) GetDigestAlgorithm() DigestAlgorithm
func (*ContentHash_Raw) GetHash ¶
func (x *ContentHash_Raw) GetHash() []byte
func (*ContentHash_Raw) GetMediaType ¶
func (x *ContentHash_Raw) GetMediaType() MediaType
func (*ContentHash_Raw) ProtoMessage ¶
func (*ContentHash_Raw) ProtoMessage()
func (*ContentHash_Raw) ProtoReflect ¶
func (x *ContentHash_Raw) ProtoReflect() protoreflect.Message
func (*ContentHash_Raw) Reset ¶
func (x *ContentHash_Raw) Reset()
func (*ContentHash_Raw) String ¶
func (x *ContentHash_Raw) String() string
type ContentHash_Raw_ ¶
type ContentHash_Raw_ struct { // Raw specifies "raw" data which does not specify a deterministic, canonical encoding. // Users of these hashes MUST maintain a copy of the hashed data which is preserved bit by bit. // All other content encodings specify a deterministic, canonical encoding allowing implementations to // choose from a variety of alternative formats for transport and encoding while maintaining the guarantee // that the canonical hash will not change. The media type for "raw" data is defined by the MediaType enum. Raw *ContentHash_Raw `protobuf:"bytes,1,opt,name=raw,proto3,oneof"` }
type DigestAlgorithm ¶
type DigestAlgorithm int32
DigestAlgorithm is the hash digest algorithm
const ( // unspecified and invalid DigestAlgorithm_DIGEST_ALGORITHM_UNSPECIFIED DigestAlgorithm = 0 // BLAKE2b-256 DigestAlgorithm_DIGEST_ALGORITHM_BLAKE2B_256 DigestAlgorithm = 1 )
func (DigestAlgorithm) Descriptor ¶
func (DigestAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (DigestAlgorithm) Enum ¶
func (x DigestAlgorithm) Enum() *DigestAlgorithm
func (DigestAlgorithm) EnumDescriptor
deprecated
func (DigestAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use DigestAlgorithm.Descriptor instead.
func (DigestAlgorithm) Number ¶
func (x DigestAlgorithm) Number() protoreflect.EnumNumber
func (DigestAlgorithm) String ¶
func (x DigestAlgorithm) String() string
func (DigestAlgorithm) Type ¶
func (DigestAlgorithm) Type() protoreflect.EnumType
type EventAnchorData ¶
type EventAnchorData struct { // iri is the data IRI Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // contains filtered or unexported fields }
EventAnchorData is an event emitted when data is anchored on-chain.
func (*EventAnchorData) Descriptor
deprecated
func (*EventAnchorData) Descriptor() ([]byte, []int)
Deprecated: Use EventAnchorData.ProtoReflect.Descriptor instead.
func (*EventAnchorData) GetIri ¶
func (x *EventAnchorData) GetIri() string
func (*EventAnchorData) ProtoMessage ¶
func (*EventAnchorData) ProtoMessage()
func (*EventAnchorData) ProtoReflect ¶
func (x *EventAnchorData) ProtoReflect() protoreflect.Message
func (*EventAnchorData) Reset ¶
func (x *EventAnchorData) Reset()
func (*EventAnchorData) String ¶
func (x *EventAnchorData) String() string
type EventSignData ¶
type EventSignData struct { // iri is the data IRI Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // signers are the addresses of the accounts which have signed the data. Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` // contains filtered or unexported fields }
EventSignData is an event emitted when data is signed on-chain.
func (*EventSignData) Descriptor
deprecated
func (*EventSignData) Descriptor() ([]byte, []int)
Deprecated: Use EventSignData.ProtoReflect.Descriptor instead.
func (*EventSignData) GetIri ¶
func (x *EventSignData) GetIri() string
func (*EventSignData) GetSigners ¶
func (x *EventSignData) GetSigners() []string
func (*EventSignData) ProtoMessage ¶
func (*EventSignData) ProtoMessage()
func (*EventSignData) ProtoReflect ¶
func (x *EventSignData) ProtoReflect() protoreflect.Message
func (*EventSignData) Reset ¶
func (x *EventSignData) Reset()
func (*EventSignData) String ¶
func (x *EventSignData) String() string
type EventStoreRawData ¶
type EventStoreRawData struct { // iri is the data IRI Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // contains filtered or unexported fields }
EventStoreRawData is an event emitted when data is stored on-chain.
func (*EventStoreRawData) Descriptor
deprecated
func (*EventStoreRawData) Descriptor() ([]byte, []int)
Deprecated: Use EventStoreRawData.ProtoReflect.Descriptor instead.
func (*EventStoreRawData) GetIri ¶
func (x *EventStoreRawData) GetIri() string
func (*EventStoreRawData) ProtoMessage ¶
func (*EventStoreRawData) ProtoMessage()
func (*EventStoreRawData) ProtoReflect ¶
func (x *EventStoreRawData) ProtoReflect() protoreflect.Message
func (*EventStoreRawData) Reset ¶
func (x *EventStoreRawData) Reset()
func (*EventStoreRawData) String ¶
func (x *EventStoreRawData) String() string
type GenesisContentEntry ¶
type GenesisContentEntry struct { // hash is the ContentHash Hash *ContentHash `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // timestamp is the anchor Timestamp Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // signers are the signers, if any Signers []*SignerEntry `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"` // contains filtered or unexported fields }
GenesisContentEntry is a genesis content entry
func (*GenesisContentEntry) Descriptor
deprecated
func (*GenesisContentEntry) Descriptor() ([]byte, []int)
Deprecated: Use GenesisContentEntry.ProtoReflect.Descriptor instead.
func (*GenesisContentEntry) GetHash ¶
func (x *GenesisContentEntry) GetHash() *ContentHash
func (*GenesisContentEntry) GetSigners ¶
func (x *GenesisContentEntry) GetSigners() []*SignerEntry
func (*GenesisContentEntry) GetTimestamp ¶
func (x *GenesisContentEntry) GetTimestamp() *timestamppb.Timestamp
func (*GenesisContentEntry) ProtoMessage ¶
func (*GenesisContentEntry) ProtoMessage()
func (*GenesisContentEntry) ProtoReflect ¶
func (x *GenesisContentEntry) ProtoReflect() protoreflect.Message
func (*GenesisContentEntry) Reset ¶
func (x *GenesisContentEntry) Reset()
func (*GenesisContentEntry) String ¶
func (x *GenesisContentEntry) String() string
type GenesisState ¶
type GenesisState struct { // entries are the content entries Entries []*GenesisContentEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
GenesisState is the genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetEntries ¶
func (x *GenesisState) GetEntries() []*GenesisContentEntry
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type GraphCanonicalizationAlgorithm ¶
type GraphCanonicalizationAlgorithm int32
GraphCanonicalizationAlgorithm is the graph canonicalization algorithm
const ( // unspecified and invalid GraphCanonicalizationAlgorithm_GRAPH_CANONICALIZATION_ALGORITHM_UNSPECIFIED GraphCanonicalizationAlgorithm = 0 // URDNA2015 graph hashing GraphCanonicalizationAlgorithm_GRAPH_CANONICALIZATION_ALGORITHM_URDNA2015 GraphCanonicalizationAlgorithm = 1 )
func (GraphCanonicalizationAlgorithm) Descriptor ¶
func (GraphCanonicalizationAlgorithm) Descriptor() protoreflect.EnumDescriptor
func (GraphCanonicalizationAlgorithm) Enum ¶
func (x GraphCanonicalizationAlgorithm) Enum() *GraphCanonicalizationAlgorithm
func (GraphCanonicalizationAlgorithm) EnumDescriptor
deprecated
func (GraphCanonicalizationAlgorithm) EnumDescriptor() ([]byte, []int)
Deprecated: Use GraphCanonicalizationAlgorithm.Descriptor instead.
func (GraphCanonicalizationAlgorithm) Number ¶
func (x GraphCanonicalizationAlgorithm) Number() protoreflect.EnumNumber
func (GraphCanonicalizationAlgorithm) String ¶
func (x GraphCanonicalizationAlgorithm) String() string
func (GraphCanonicalizationAlgorithm) Type ¶
func (GraphCanonicalizationAlgorithm) Type() protoreflect.EnumType
type GraphMerkleTree ¶
type GraphMerkleTree int32
GraphMerkleTree is the graph merkle tree type used for hashing, if any
const ( // no merkle tree GraphMerkleTree_GRAPH_MERKLE_TREE_NONE_UNSPECIFIED GraphMerkleTree = 0 )
func (GraphMerkleTree) Descriptor ¶
func (GraphMerkleTree) Descriptor() protoreflect.EnumDescriptor
func (GraphMerkleTree) Enum ¶
func (x GraphMerkleTree) Enum() *GraphMerkleTree
func (GraphMerkleTree) EnumDescriptor
deprecated
func (GraphMerkleTree) EnumDescriptor() ([]byte, []int)
Deprecated: Use GraphMerkleTree.Descriptor instead.
func (GraphMerkleTree) Number ¶
func (x GraphMerkleTree) Number() protoreflect.EnumNumber
func (GraphMerkleTree) String ¶
func (x GraphMerkleTree) String() string
func (GraphMerkleTree) Type ¶
func (GraphMerkleTree) Type() protoreflect.EnumType
type MediaType ¶
type MediaType int32
MediaType defines MIME media types to be used with a ContentHash.Raw hash.
const ( // MEDIA_TYPE_UNSPECIFIED can be used for raw binary data MediaType_MEDIA_TYPE_UNSPECIFIED MediaType = 0 // plain text MediaType_MEDIA_TYPE_TEXT_PLAIN MediaType = 1 // JSON MediaType_MEDIA_TYPE_JSON MediaType = 2 // CSV MediaType_MEDIA_TYPE_CSV MediaType = 3 // XML MediaType_MEDIA_TYPE_XML MediaType = 4 // PDF MediaType_MEDIA_TYPE_PDF MediaType = 5 // TIIF MediaType_MEDIA_TYPE_TIFF MediaType = 16 // JPG MediaType_MEDIA_TYPE_JPG MediaType = 17 // PNG MediaType_MEDIA_TYPE_PNG MediaType = 18 // SVG MediaType_MEDIA_TYPE_SVG MediaType = 19 // WEBP MediaType_MEDIA_TYPE_WEBP MediaType = 20 // AVIF MediaType_MEDIA_TYPE_AVIF MediaType = 21 // GIF MediaType_MEDIA_TYPE_GIF MediaType = 22 // APNG MediaType_MEDIA_TYPE_APNG MediaType = 23 // MPEG MediaType_MEDIA_TYPE_MPEG MediaType = 32 // MP4 MediaType_MEDIA_TYPE_MP4 MediaType = 33 // WEBM MediaType_MEDIA_TYPE_WEBM MediaType = 34 // OGG MediaType_MEDIA_TYPE_OGG MediaType = 35 )
func (MediaType) Descriptor ¶
func (MediaType) Descriptor() protoreflect.EnumDescriptor
func (MediaType) EnumDescriptor
deprecated
func (MediaType) Number ¶
func (x MediaType) Number() protoreflect.EnumNumber
func (MediaType) Type ¶
func (MediaType) Type() protoreflect.EnumType
type MsgAnchorData ¶
type MsgAnchorData struct { // sender is the address of the sender of the transaction. // The sender in StoreData is not attesting to the veracity of the underlying // data. They can simply be a intermediary providing services. Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` // hash is the hash-based identifier for the anchored content. Hash *ContentHash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
MsgAnchorData is the Msg/AnchorData request type.
func (*MsgAnchorData) Descriptor
deprecated
func (*MsgAnchorData) Descriptor() ([]byte, []int)
Deprecated: Use MsgAnchorData.ProtoReflect.Descriptor instead.
func (*MsgAnchorData) GetHash ¶
func (x *MsgAnchorData) GetHash() *ContentHash
func (*MsgAnchorData) GetSender ¶
func (x *MsgAnchorData) GetSender() string
func (*MsgAnchorData) ProtoMessage ¶
func (*MsgAnchorData) ProtoMessage()
func (*MsgAnchorData) ProtoReflect ¶
func (x *MsgAnchorData) ProtoReflect() protoreflect.Message
func (*MsgAnchorData) Reset ¶
func (x *MsgAnchorData) Reset()
func (*MsgAnchorData) String ¶
func (x *MsgAnchorData) String() string
type MsgAnchorDataResponse ¶
type MsgAnchorDataResponse struct { // timestamp is the timestamp of the block at which the data was anchored. Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // iri is the IRI of the data that was anchored. Iri string `protobuf:"bytes,2,opt,name=iri,proto3" json:"iri,omitempty"` // contains filtered or unexported fields }
MsgAnchorData is the Msg/AnchorData response type.
func (*MsgAnchorDataResponse) Descriptor
deprecated
func (*MsgAnchorDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgAnchorDataResponse.ProtoReflect.Descriptor instead.
func (*MsgAnchorDataResponse) GetIri ¶
func (x *MsgAnchorDataResponse) GetIri() string
func (*MsgAnchorDataResponse) GetTimestamp ¶
func (x *MsgAnchorDataResponse) GetTimestamp() *timestamppb.Timestamp
func (*MsgAnchorDataResponse) ProtoMessage ¶
func (*MsgAnchorDataResponse) ProtoMessage()
func (*MsgAnchorDataResponse) ProtoReflect ¶
func (x *MsgAnchorDataResponse) ProtoReflect() protoreflect.Message
func (*MsgAnchorDataResponse) Reset ¶
func (x *MsgAnchorDataResponse) Reset()
func (*MsgAnchorDataResponse) String ¶
func (x *MsgAnchorDataResponse) String() string
type MsgClient ¶
type MsgClient interface { // AnchorData "anchors" a piece of data to the blockchain based on its secure // hash, effectively providing a tamper resistant timestamp. // // The sender in AnchorData is not attesting to the veracity of the underlying // data. They can simply be a intermediary providing timestamp services. // SignData should be used to create a digital signature attesting to the // veracity of some piece of data. AnchorData(ctx context.Context, in *MsgAnchorData, opts ...grpc.CallOption) (*MsgAnchorDataResponse, error) // SignData allows for signing of an arbitrary piece of data on the // blockchain. By "signing" data the signers are making a statement about the // veracity of the data itself. It is like signing a legal document, meaning // that I agree to all conditions and to the best of my knowledge everything // is true. When anchoring data, the sender is not attesting to the veracity // of the data, they are simply communicating that it exists. // // On-chain signatures have the following benefits: // - on-chain identities can be managed using different cryptographic keys // that change over time through key rotation practices // - an on-chain identity may represent an organization and through delegation // individual members may sign on behalf of the group // - the blockchain transaction envelope provides built-in replay protection // and timestamping // // SignData implicitly calls AnchorData if the data was not already anchored. // // SignData can be called multiple times for the same content hash with different // signers and those signers will be appended to the list of signers. SignData(ctx context.Context, in *MsgSignData, opts ...grpc.CallOption) (*MsgSignDataResponse, error) }
MsgClient is the client API for Msg 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 NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgServer ¶
type MsgServer interface { // AnchorData "anchors" a piece of data to the blockchain based on its secure // hash, effectively providing a tamper resistant timestamp. // // The sender in AnchorData is not attesting to the veracity of the underlying // data. They can simply be a intermediary providing timestamp services. // SignData should be used to create a digital signature attesting to the // veracity of some piece of data. AnchorData(context.Context, *MsgAnchorData) (*MsgAnchorDataResponse, error) // SignData allows for signing of an arbitrary piece of data on the // blockchain. By "signing" data the signers are making a statement about the // veracity of the data itself. It is like signing a legal document, meaning // that I agree to all conditions and to the best of my knowledge everything // is true. When anchoring data, the sender is not attesting to the veracity // of the data, they are simply communicating that it exists. // // On-chain signatures have the following benefits: // - on-chain identities can be managed using different cryptographic keys // that change over time through key rotation practices // - an on-chain identity may represent an organization and through delegation // individual members may sign on behalf of the group // - the blockchain transaction envelope provides built-in replay protection // and timestamping // // SignData implicitly calls AnchorData if the data was not already anchored. // // SignData can be called multiple times for the same content hash with different // signers and those signers will be appended to the list of signers. SignData(context.Context, *MsgSignData) (*MsgSignDataResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSignData ¶
type MsgSignData struct { // signers are the addresses of the accounts signing the data. // By making a SignData request, the signers are attesting to the veracity // of the data referenced by the cid. The precise meaning of this may vary // depending on the underlying data. Signers []string `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"` // hash is the hash-based identifier for the anchored content. Only RDF graph // data can be signed as its data model is intended to specifically convey semantic meaning. Hash *ContentHash_Graph `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
MsgSignData is the Msg/SignData request type.
func (*MsgSignData) Descriptor
deprecated
func (*MsgSignData) Descriptor() ([]byte, []int)
Deprecated: Use MsgSignData.ProtoReflect.Descriptor instead.
func (*MsgSignData) GetHash ¶
func (x *MsgSignData) GetHash() *ContentHash_Graph
func (*MsgSignData) GetSigners ¶
func (x *MsgSignData) GetSigners() []string
func (*MsgSignData) ProtoMessage ¶
func (*MsgSignData) ProtoMessage()
func (*MsgSignData) ProtoReflect ¶
func (x *MsgSignData) ProtoReflect() protoreflect.Message
func (*MsgSignData) Reset ¶
func (x *MsgSignData) Reset()
func (*MsgSignData) String ¶
func (x *MsgSignData) String() string
type MsgSignDataResponse ¶
type MsgSignDataResponse struct {
// contains filtered or unexported fields
}
MsgSignDataResponse is the Msg/SignData response type.
func (*MsgSignDataResponse) Descriptor
deprecated
func (*MsgSignDataResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSignDataResponse.ProtoReflect.Descriptor instead.
func (*MsgSignDataResponse) ProtoMessage ¶
func (*MsgSignDataResponse) ProtoMessage()
func (*MsgSignDataResponse) ProtoReflect ¶
func (x *MsgSignDataResponse) ProtoReflect() protoreflect.Message
func (*MsgSignDataResponse) Reset ¶
func (x *MsgSignDataResponse) Reset()
func (*MsgSignDataResponse) String ¶
func (x *MsgSignDataResponse) String() string
type QueryByIRIRequest ¶
type QueryByIRIRequest struct { // hash is the hash-based identifier for the anchored content. Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // contains filtered or unexported fields }
QueryByContentHashRequest is the Query/ByContentHash request type.
func (*QueryByIRIRequest) Descriptor
deprecated
func (*QueryByIRIRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryByIRIRequest.ProtoReflect.Descriptor instead.
func (*QueryByIRIRequest) GetIri ¶
func (x *QueryByIRIRequest) GetIri() string
func (*QueryByIRIRequest) ProtoMessage ¶
func (*QueryByIRIRequest) ProtoMessage()
func (*QueryByIRIRequest) ProtoReflect ¶
func (x *QueryByIRIRequest) ProtoReflect() protoreflect.Message
func (*QueryByIRIRequest) Reset ¶
func (x *QueryByIRIRequest) Reset()
func (*QueryByIRIRequest) String ¶
func (x *QueryByIRIRequest) String() string
type QueryByIRIResponse ¶
type QueryByIRIResponse struct { // entry is the ContentEntry Entry *ContentEntry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // contains filtered or unexported fields }
QueryByContentHashResponse is the Query/ByContentHash response type.
func (*QueryByIRIResponse) Descriptor
deprecated
func (*QueryByIRIResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryByIRIResponse.ProtoReflect.Descriptor instead.
func (*QueryByIRIResponse) GetEntry ¶
func (x *QueryByIRIResponse) GetEntry() *ContentEntry
func (*QueryByIRIResponse) ProtoMessage ¶
func (*QueryByIRIResponse) ProtoMessage()
func (*QueryByIRIResponse) ProtoReflect ¶
func (x *QueryByIRIResponse) ProtoReflect() protoreflect.Message
func (*QueryByIRIResponse) Reset ¶
func (x *QueryByIRIResponse) Reset()
func (*QueryByIRIResponse) String ¶
func (x *QueryByIRIResponse) String() string
type QueryBySignerRequest ¶
type QueryBySignerRequest struct { // signer is the address of the signer to query by. Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBySignerRequest is the Query/BySigner request type.
func (*QueryBySignerRequest) Descriptor
deprecated
func (*QueryBySignerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBySignerRequest.ProtoReflect.Descriptor instead.
func (*QueryBySignerRequest) GetPagination ¶
func (x *QueryBySignerRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBySignerRequest) GetSigner ¶
func (x *QueryBySignerRequest) GetSigner() string
func (*QueryBySignerRequest) ProtoMessage ¶
func (*QueryBySignerRequest) ProtoMessage()
func (*QueryBySignerRequest) ProtoReflect ¶
func (x *QueryBySignerRequest) ProtoReflect() protoreflect.Message
func (*QueryBySignerRequest) Reset ¶
func (x *QueryBySignerRequest) Reset()
func (*QueryBySignerRequest) String ¶
func (x *QueryBySignerRequest) String() string
type QueryBySignerResponse ¶
type QueryBySignerResponse struct { // entries is the ContentEntry's signed by the queried signer Entries []*ContentEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // pagination is the pagination PageResponse. Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBySignerResponse is the Query/BySigner response type.
func (*QueryBySignerResponse) Descriptor
deprecated
func (*QueryBySignerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBySignerResponse.ProtoReflect.Descriptor instead.
func (*QueryBySignerResponse) GetEntries ¶
func (x *QueryBySignerResponse) GetEntries() []*ContentEntry
func (*QueryBySignerResponse) GetPagination ¶
func (x *QueryBySignerResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBySignerResponse) ProtoMessage ¶
func (*QueryBySignerResponse) ProtoMessage()
func (*QueryBySignerResponse) ProtoReflect ¶
func (x *QueryBySignerResponse) ProtoReflect() protoreflect.Message
func (*QueryBySignerResponse) Reset ¶
func (x *QueryBySignerResponse) Reset()
func (*QueryBySignerResponse) String ¶
func (x *QueryBySignerResponse) String() string
type QueryClient ¶
type QueryClient interface { // ByHash queries data based on its ContentHash. ByIRI(ctx context.Context, in *QueryByIRIRequest, opts ...grpc.CallOption) (*QueryByIRIResponse, error) // BySigner queries data based on signers. BySigner(ctx context.Context, in *QueryBySignerRequest, opts ...grpc.CallOption) (*QueryBySignerResponse, error) // Signers queries signers based on IRI. Signers(ctx context.Context, in *QuerySignersRequest, opts ...grpc.CallOption) (*QuerySignersResponse, error) }
QueryClient is the client API for Query 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 NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryServer ¶
type QueryServer interface { // ByHash queries data based on its ContentHash. ByIRI(context.Context, *QueryByIRIRequest) (*QueryByIRIResponse, error) // BySigner queries data based on signers. BySigner(context.Context, *QueryBySignerRequest) (*QueryBySignerResponse, error) // Signers queries signers based on IRI. Signers(context.Context, *QuerySignersRequest) (*QuerySignersResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QuerySignersRequest ¶
type QuerySignersRequest struct { // iri is the content IRI Iri string `protobuf:"bytes,1,opt,name=iri,proto3" json:"iri,omitempty"` // pagination is the PageRequest to use for pagination. Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySignersRequest is the Query/Signers request type.
func (*QuerySignersRequest) Descriptor
deprecated
func (*QuerySignersRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySignersRequest.ProtoReflect.Descriptor instead.
func (*QuerySignersRequest) GetIri ¶
func (x *QuerySignersRequest) GetIri() string
func (*QuerySignersRequest) GetPagination ¶
func (x *QuerySignersRequest) GetPagination() *v1beta1.PageRequest
func (*QuerySignersRequest) ProtoMessage ¶
func (*QuerySignersRequest) ProtoMessage()
func (*QuerySignersRequest) ProtoReflect ¶
func (x *QuerySignersRequest) ProtoReflect() protoreflect.Message
func (*QuerySignersRequest) Reset ¶
func (x *QuerySignersRequest) Reset()
func (*QuerySignersRequest) String ¶
func (x *QuerySignersRequest) String() string
type QuerySignersResponse ¶
type QuerySignersResponse struct { // signers are the addresses of the signers. Signers []string `protobuf:"bytes,1,rep,name=signers,proto3" json:"signers,omitempty"` // pagination is the pagination PageResponse. Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QuerySignersResponse is the Query/QuerySigners response type.
func (*QuerySignersResponse) Descriptor
deprecated
func (*QuerySignersResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySignersResponse.ProtoReflect.Descriptor instead.
func (*QuerySignersResponse) GetPagination ¶
func (x *QuerySignersResponse) GetPagination() *v1beta1.PageResponse
func (*QuerySignersResponse) GetSigners ¶
func (x *QuerySignersResponse) GetSigners() []string
func (*QuerySignersResponse) ProtoMessage ¶
func (*QuerySignersResponse) ProtoMessage()
func (*QuerySignersResponse) ProtoReflect ¶
func (x *QuerySignersResponse) ProtoReflect() protoreflect.Message
func (*QuerySignersResponse) Reset ¶
func (x *QuerySignersResponse) Reset()
func (*QuerySignersResponse) String ¶
func (x *QuerySignersResponse) String() string
type SignerEntry ¶
type SignerEntry struct { // signer is the address of the signer Signer string `protobuf:"bytes,1,opt,name=signer,proto3" json:"signer,omitempty"` // timestamp is the time at which the data was signed Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
SignerEntry is a signer entry wrapping a signer address and timestamp
func (*SignerEntry) Descriptor
deprecated
func (*SignerEntry) Descriptor() ([]byte, []int)
Deprecated: Use SignerEntry.ProtoReflect.Descriptor instead.
func (*SignerEntry) GetSigner ¶
func (x *SignerEntry) GetSigner() string
func (*SignerEntry) GetTimestamp ¶
func (x *SignerEntry) GetTimestamp() *timestamppb.Timestamp
func (*SignerEntry) ProtoMessage ¶
func (*SignerEntry) ProtoMessage()
func (*SignerEntry) ProtoReflect ¶
func (x *SignerEntry) ProtoReflect() protoreflect.Message
func (*SignerEntry) Reset ¶
func (x *SignerEntry) Reset()
func (*SignerEntry) String ¶
func (x *SignerEntry) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) AnchorData ¶
func (UnimplementedMsgServer) AnchorData(context.Context, *MsgAnchorData) (*MsgAnchorDataResponse, error)
func (UnimplementedMsgServer) SignData ¶
func (UnimplementedMsgServer) SignData(context.Context, *MsgSignData) (*MsgSignDataResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) ByIRI ¶
func (UnimplementedQueryServer) ByIRI(context.Context, *QueryByIRIRequest) (*QueryByIRIResponse, error)
func (UnimplementedQueryServer) BySigner ¶
func (UnimplementedQueryServer) BySigner(context.Context, *QueryBySignerRequest) (*QueryBySignerResponse, error)
func (UnimplementedQueryServer) Signers ¶
func (UnimplementedQueryServer) Signers(context.Context, *QuerySignersRequest) (*QuerySignersResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.