Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func WhatIsKey(index string) []byte
- type AccountKeeper
- type BankKeeper
- type CapabilityKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetWhatIsList() []WhatIs
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MintKeeper
- type MsgClient
- type MsgCreateObject
- func (*MsgCreateObject) Descriptor() ([]byte, []int)
- func (m *MsgCreateObject) GetCreator() string
- func (m *MsgCreateObject) GetDescription() string
- func (m *MsgCreateObject) GetFields() []*ObjectField
- func (m *MsgCreateObject) GetLabel() string
- func (msg *MsgCreateObject) GetSignBytes() []byte
- func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
- func (m *MsgCreateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObject) ProtoMessage()
- func (m *MsgCreateObject) Reset()
- func (msg *MsgCreateObject) Route() string
- func (m *MsgCreateObject) Size() (n int)
- func (m *MsgCreateObject) String() string
- func (msg *MsgCreateObject) Type() string
- func (m *MsgCreateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateObject) ValidateBasic() error
- func (m *MsgCreateObject) XXX_DiscardUnknown()
- func (m *MsgCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObject) XXX_Merge(src proto.Message)
- func (m *MsgCreateObject) XXX_Size() int
- func (m *MsgCreateObject) XXX_Unmarshal(b []byte) error
- type MsgCreateObjectResponse
- func (*MsgCreateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateObjectResponse) ProtoMessage()
- func (m *MsgCreateObjectResponse) Reset()
- func (m *MsgCreateObjectResponse) Size() (n int)
- func (m *MsgCreateObjectResponse) String() string
- func (m *MsgCreateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateObjectResponse) XXX_Size() int
- func (m *MsgCreateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateWhatIs
- func (*MsgCreateWhatIs) Descriptor() ([]byte, []int)
- func (m *MsgCreateWhatIs) GetCreator() string
- func (m *MsgCreateWhatIs) GetDid() string
- func (m *MsgCreateWhatIs) GetDocument() []byte
- func (m *MsgCreateWhatIs) GetIndex() string
- func (msg *MsgCreateWhatIs) GetSignBytes() []byte
- func (msg *MsgCreateWhatIs) GetSigners() []sdk.AccAddress
- func (m *MsgCreateWhatIs) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateWhatIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateWhatIs) ProtoMessage()
- func (m *MsgCreateWhatIs) Reset()
- func (msg *MsgCreateWhatIs) Route() string
- func (m *MsgCreateWhatIs) Size() (n int)
- func (m *MsgCreateWhatIs) String() string
- func (msg *MsgCreateWhatIs) Type() string
- func (m *MsgCreateWhatIs) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateWhatIs) ValidateBasic() error
- func (m *MsgCreateWhatIs) XXX_DiscardUnknown()
- func (m *MsgCreateWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateWhatIs) XXX_Merge(src proto.Message)
- func (m *MsgCreateWhatIs) XXX_Size() int
- func (m *MsgCreateWhatIs) XXX_Unmarshal(b []byte) error
- type MsgCreateWhatIsResponse
- func (*MsgCreateWhatIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateWhatIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateWhatIsResponse) ProtoMessage()
- func (m *MsgCreateWhatIsResponse) Reset()
- func (m *MsgCreateWhatIsResponse) Size() (n int)
- func (m *MsgCreateWhatIsResponse) String() string
- func (m *MsgCreateWhatIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateWhatIsResponse) XXX_DiscardUnknown()
- func (m *MsgCreateWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateWhatIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateWhatIsResponse) XXX_Size() int
- func (m *MsgCreateWhatIsResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteObject
- func (*MsgDeleteObject) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObject) GetCreator() string
- func (m *MsgDeleteObject) GetDid() string
- func (m *MsgDeleteObject) GetPublicKey() string
- func (msg *MsgDeleteObject) GetSignBytes() []byte
- func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObject) ProtoMessage()
- func (m *MsgDeleteObject) Reset()
- func (msg *MsgDeleteObject) Route() string
- func (m *MsgDeleteObject) Size() (n int)
- func (m *MsgDeleteObject) String() string
- func (msg *MsgDeleteObject) Type() string
- func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteObject) ValidateBasic() error
- func (m *MsgDeleteObject) XXX_DiscardUnknown()
- func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObject) XXX_Size() int
- func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
- type MsgDeleteObjectResponse
- func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteObjectResponse) ProtoMessage()
- func (m *MsgDeleteObjectResponse) Reset()
- func (m *MsgDeleteObjectResponse) Size() (n int)
- func (m *MsgDeleteObjectResponse) String() string
- func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteObjectResponse) XXX_Size() int
- func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteWhatIs
- func (*MsgDeleteWhatIs) Descriptor() ([]byte, []int)
- func (m *MsgDeleteWhatIs) GetCreator() string
- func (m *MsgDeleteWhatIs) GetIndex() string
- func (msg *MsgDeleteWhatIs) GetSignBytes() []byte
- func (msg *MsgDeleteWhatIs) GetSigners() []sdk.AccAddress
- func (m *MsgDeleteWhatIs) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteWhatIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteWhatIs) ProtoMessage()
- func (m *MsgDeleteWhatIs) Reset()
- func (msg *MsgDeleteWhatIs) Route() string
- func (m *MsgDeleteWhatIs) Size() (n int)
- func (m *MsgDeleteWhatIs) String() string
- func (msg *MsgDeleteWhatIs) Type() string
- func (m *MsgDeleteWhatIs) Unmarshal(dAtA []byte) error
- func (msg *MsgDeleteWhatIs) ValidateBasic() error
- func (m *MsgDeleteWhatIs) XXX_DiscardUnknown()
- func (m *MsgDeleteWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteWhatIs) XXX_Merge(src proto.Message)
- func (m *MsgDeleteWhatIs) XXX_Size() int
- func (m *MsgDeleteWhatIs) XXX_Unmarshal(b []byte) error
- type MsgDeleteWhatIsResponse
- func (*MsgDeleteWhatIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteWhatIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteWhatIsResponse) ProtoMessage()
- func (m *MsgDeleteWhatIsResponse) Reset()
- func (m *MsgDeleteWhatIsResponse) Size() (n int)
- func (m *MsgDeleteWhatIsResponse) String() string
- func (m *MsgDeleteWhatIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteWhatIsResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteWhatIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteWhatIsResponse) XXX_Size() int
- func (m *MsgDeleteWhatIsResponse) XXX_Unmarshal(b []byte) error
- type MsgReadObject
- func (*MsgReadObject) Descriptor() ([]byte, []int)
- func (m *MsgReadObject) GetCreator() string
- func (m *MsgReadObject) GetDid() string
- func (msg *MsgReadObject) GetSignBytes() []byte
- func (msg *MsgReadObject) GetSigners() []sdk.AccAddress
- func (m *MsgReadObject) Marshal() (dAtA []byte, err error)
- func (m *MsgReadObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReadObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReadObject) ProtoMessage()
- func (m *MsgReadObject) Reset()
- func (msg *MsgReadObject) Route() string
- func (m *MsgReadObject) Size() (n int)
- func (m *MsgReadObject) String() string
- func (msg *MsgReadObject) Type() string
- func (m *MsgReadObject) Unmarshal(dAtA []byte) error
- func (msg *MsgReadObject) ValidateBasic() error
- func (m *MsgReadObject) XXX_DiscardUnknown()
- func (m *MsgReadObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReadObject) XXX_Merge(src proto.Message)
- func (m *MsgReadObject) XXX_Size() int
- func (m *MsgReadObject) XXX_Unmarshal(b []byte) error
- type MsgReadObjectResponse
- func (*MsgReadObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgReadObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgReadObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgReadObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgReadObjectResponse) ProtoMessage()
- func (m *MsgReadObjectResponse) Reset()
- func (m *MsgReadObjectResponse) Size() (n int)
- func (m *MsgReadObjectResponse) String() string
- func (m *MsgReadObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgReadObjectResponse) XXX_DiscardUnknown()
- func (m *MsgReadObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgReadObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgReadObjectResponse) XXX_Size() int
- func (m *MsgReadObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateObject
- func (*MsgUpdateObject) Descriptor() ([]byte, []int)
- func (m *MsgUpdateObject) GetCreator() string
- func (m *MsgUpdateObject) GetDid() string
- func (msg *MsgUpdateObject) GetSignBytes() []byte
- func (msg *MsgUpdateObject) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateObject) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateObject) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateObject) ProtoMessage()
- func (m *MsgUpdateObject) Reset()
- func (msg *MsgUpdateObject) Route() string
- func (m *MsgUpdateObject) Size() (n int)
- func (m *MsgUpdateObject) String() string
- func (msg *MsgUpdateObject) Type() string
- func (m *MsgUpdateObject) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateObject) ValidateBasic() error
- func (m *MsgUpdateObject) XXX_DiscardUnknown()
- func (m *MsgUpdateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateObject) XXX_Merge(src proto.Message)
- func (m *MsgUpdateObject) XXX_Size() int
- func (m *MsgUpdateObject) XXX_Unmarshal(b []byte) error
- type MsgUpdateObjectResponse
- func (*MsgUpdateObjectResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateObjectResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateObjectResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateObjectResponse) ProtoMessage()
- func (m *MsgUpdateObjectResponse) Reset()
- func (m *MsgUpdateObjectResponse) Size() (n int)
- func (m *MsgUpdateObjectResponse) String() string
- func (m *MsgUpdateObjectResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateObjectResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateObjectResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateObjectResponse) XXX_Size() int
- func (m *MsgUpdateObjectResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateWhatIs
- func (*MsgUpdateWhatIs) Descriptor() ([]byte, []int)
- func (m *MsgUpdateWhatIs) GetCreator() string
- func (m *MsgUpdateWhatIs) GetDid() string
- func (m *MsgUpdateWhatIs) GetDocument() []byte
- func (m *MsgUpdateWhatIs) GetIndex() string
- func (msg *MsgUpdateWhatIs) GetSignBytes() []byte
- func (msg *MsgUpdateWhatIs) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateWhatIs) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateWhatIs) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateWhatIs) ProtoMessage()
- func (m *MsgUpdateWhatIs) Reset()
- func (msg *MsgUpdateWhatIs) Route() string
- func (m *MsgUpdateWhatIs) Size() (n int)
- func (m *MsgUpdateWhatIs) String() string
- func (msg *MsgUpdateWhatIs) Type() string
- func (m *MsgUpdateWhatIs) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateWhatIs) ValidateBasic() error
- func (m *MsgUpdateWhatIs) XXX_DiscardUnknown()
- func (m *MsgUpdateWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateWhatIs) XXX_Merge(src proto.Message)
- func (m *MsgUpdateWhatIs) XXX_Size() int
- func (m *MsgUpdateWhatIs) XXX_Unmarshal(b []byte) error
- type MsgUpdateWhatIsResponse
- func (*MsgUpdateWhatIsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateWhatIsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateWhatIsResponse) ProtoMessage()
- func (m *MsgUpdateWhatIsResponse) Reset()
- func (m *MsgUpdateWhatIsResponse) Size() (n int)
- func (m *MsgUpdateWhatIsResponse) String() string
- func (m *MsgUpdateWhatIsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateWhatIsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateWhatIsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateWhatIsResponse) XXX_Size() int
- func (m *MsgUpdateWhatIsResponse) XXX_Unmarshal(b []byte) error
- type ObjectDoc
- func (*ObjectDoc) Descriptor() ([]byte, []int)
- func (m *ObjectDoc) GetBucketDid() string
- func (m *ObjectDoc) GetDescription() string
- func (m *ObjectDoc) GetDid() string
- func (m *ObjectDoc) GetFields() map[string]*ObjectField
- func (m *ObjectDoc) GetLabel() string
- func (m *ObjectDoc) Marshal() (dAtA []byte, err error)
- func (m *ObjectDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectDoc) ProtoMessage()
- func (m *ObjectDoc) Reset()
- func (m *ObjectDoc) Size() (n int)
- func (m *ObjectDoc) String() string
- func (m *ObjectDoc) Unmarshal(dAtA []byte) error
- func (o *ObjectDoc) Validate(b *ObjectDoc) bool
- func (m *ObjectDoc) XXX_DiscardUnknown()
- func (m *ObjectDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectDoc) XXX_Merge(src proto.Message)
- func (m *ObjectDoc) XXX_Size() int
- func (m *ObjectDoc) XXX_Unmarshal(b []byte) error
- type ObjectField
- func (*ObjectField) Descriptor() ([]byte, []int)
- func (m *ObjectField) GetArrayValue() *ObjectFieldArray
- func (m *ObjectField) GetBlobValue() *ObjectFieldBlob
- func (m *ObjectField) GetBlockchainAddrValue() *ObjectFieldBlockchainAddress
- func (m *ObjectField) GetBoolValue() *ObjectFieldBool
- func (m *ObjectField) GetDid() string
- func (m *ObjectField) GetGeopointValue() *ObjectFieldGeopoint
- func (m *ObjectField) GetLabel() string
- func (m *ObjectField) GetMetadata() map[string]string
- func (m *ObjectField) GetNumberValue() *ObjectFieldNumber
- func (m *ObjectField) GetStringValue() *ObjectFieldText
- func (m *ObjectField) GetTimeStampValue() *ObjectFieldTime
- func (m *ObjectField) GetType() ObjectFieldType
- func (m *ObjectField) GetValue() isObjectField_Value
- func (m *ObjectField) Marshal() (dAtA []byte, err error)
- func (m *ObjectField) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectField) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectField) ProtoMessage()
- func (m *ObjectField) Reset()
- func (m *ObjectField) Size() (n int)
- func (m *ObjectField) String() string
- func (m *ObjectField) Unmarshal(dAtA []byte) error
- func (m *ObjectField) XXX_DiscardUnknown()
- func (m *ObjectField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectField) XXX_Merge(src proto.Message)
- func (*ObjectField) XXX_OneofWrappers() []interface{}
- func (m *ObjectField) XXX_Size() int
- func (m *ObjectField) XXX_Unmarshal(b []byte) error
- type ObjectFieldArray
- func (*ObjectFieldArray) Descriptor() ([]byte, []int)
- func (m *ObjectFieldArray) GetDid() string
- func (m *ObjectFieldArray) GetItems() []*ObjectField
- func (m *ObjectFieldArray) GetLabel() string
- func (m *ObjectFieldArray) GetType() ObjectFieldType
- func (m *ObjectFieldArray) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldArray) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldArray) ProtoMessage()
- func (m *ObjectFieldArray) Reset()
- func (m *ObjectFieldArray) Size() (n int)
- func (m *ObjectFieldArray) String() string
- func (m *ObjectFieldArray) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldArray) XXX_DiscardUnknown()
- func (m *ObjectFieldArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldArray) XXX_Merge(src proto.Message)
- func (m *ObjectFieldArray) XXX_Size() int
- func (m *ObjectFieldArray) XXX_Unmarshal(b []byte) error
- type ObjectFieldBlob
- func (*ObjectFieldBlob) Descriptor() ([]byte, []int)
- func (m *ObjectFieldBlob) GetDid() string
- func (m *ObjectFieldBlob) GetLabel() string
- func (m *ObjectFieldBlob) GetMetadata() map[string]string
- func (m *ObjectFieldBlob) GetValue() []byte
- func (m *ObjectFieldBlob) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldBlob) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldBlob) ProtoMessage()
- func (m *ObjectFieldBlob) Reset()
- func (m *ObjectFieldBlob) Size() (n int)
- func (m *ObjectFieldBlob) String() string
- func (m *ObjectFieldBlob) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldBlob) XXX_DiscardUnknown()
- func (m *ObjectFieldBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldBlob) XXX_Merge(src proto.Message)
- func (m *ObjectFieldBlob) XXX_Size() int
- func (m *ObjectFieldBlob) XXX_Unmarshal(b []byte) error
- type ObjectFieldBlockchainAddress
- func (*ObjectFieldBlockchainAddress) Descriptor() ([]byte, []int)
- func (m *ObjectFieldBlockchainAddress) GetDid() string
- func (m *ObjectFieldBlockchainAddress) GetLabel() string
- func (m *ObjectFieldBlockchainAddress) GetMetadata() map[string]string
- func (m *ObjectFieldBlockchainAddress) GetValue() string
- func (m *ObjectFieldBlockchainAddress) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldBlockchainAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldBlockchainAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldBlockchainAddress) ProtoMessage()
- func (m *ObjectFieldBlockchainAddress) Reset()
- func (m *ObjectFieldBlockchainAddress) Size() (n int)
- func (m *ObjectFieldBlockchainAddress) String() string
- func (m *ObjectFieldBlockchainAddress) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldBlockchainAddress) XXX_DiscardUnknown()
- func (m *ObjectFieldBlockchainAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldBlockchainAddress) XXX_Merge(src proto.Message)
- func (m *ObjectFieldBlockchainAddress) XXX_Size() int
- func (m *ObjectFieldBlockchainAddress) XXX_Unmarshal(b []byte) error
- type ObjectFieldBool
- func (*ObjectFieldBool) Descriptor() ([]byte, []int)
- func (m *ObjectFieldBool) GetDid() string
- func (m *ObjectFieldBool) GetLabel() string
- func (m *ObjectFieldBool) GetMetadata() map[string]string
- func (m *ObjectFieldBool) GetValue() bool
- func (m *ObjectFieldBool) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldBool) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldBool) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldBool) ProtoMessage()
- func (m *ObjectFieldBool) Reset()
- func (m *ObjectFieldBool) Size() (n int)
- func (m *ObjectFieldBool) String() string
- func (m *ObjectFieldBool) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldBool) XXX_DiscardUnknown()
- func (m *ObjectFieldBool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldBool) XXX_Merge(src proto.Message)
- func (m *ObjectFieldBool) XXX_Size() int
- func (m *ObjectFieldBool) XXX_Unmarshal(b []byte) error
- type ObjectFieldGeopoint
- func (*ObjectFieldGeopoint) Descriptor() ([]byte, []int)
- func (m *ObjectFieldGeopoint) GetDid() string
- func (m *ObjectFieldGeopoint) GetLabel() string
- func (m *ObjectFieldGeopoint) GetLatitude() float64
- func (m *ObjectFieldGeopoint) GetLongitude() float64
- func (m *ObjectFieldGeopoint) GetMetadata() map[string]string
- func (m *ObjectFieldGeopoint) GetType() ObjectFieldType
- func (m *ObjectFieldGeopoint) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldGeopoint) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldGeopoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldGeopoint) ProtoMessage()
- func (m *ObjectFieldGeopoint) Reset()
- func (m *ObjectFieldGeopoint) Size() (n int)
- func (m *ObjectFieldGeopoint) String() string
- func (m *ObjectFieldGeopoint) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldGeopoint) XXX_DiscardUnknown()
- func (m *ObjectFieldGeopoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldGeopoint) XXX_Merge(src proto.Message)
- func (m *ObjectFieldGeopoint) XXX_Size() int
- func (m *ObjectFieldGeopoint) XXX_Unmarshal(b []byte) error
- type ObjectFieldNumber
- func (*ObjectFieldNumber) Descriptor() ([]byte, []int)
- func (m *ObjectFieldNumber) GetDid() string
- func (m *ObjectFieldNumber) GetLabel() string
- func (m *ObjectFieldNumber) GetMetadata() map[string]string
- func (m *ObjectFieldNumber) GetValue() float64
- func (m *ObjectFieldNumber) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldNumber) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldNumber) ProtoMessage()
- func (m *ObjectFieldNumber) Reset()
- func (m *ObjectFieldNumber) Size() (n int)
- func (m *ObjectFieldNumber) String() string
- func (m *ObjectFieldNumber) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldNumber) XXX_DiscardUnknown()
- func (m *ObjectFieldNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldNumber) XXX_Merge(src proto.Message)
- func (m *ObjectFieldNumber) XXX_Size() int
- func (m *ObjectFieldNumber) XXX_Unmarshal(b []byte) error
- type ObjectFieldText
- func (*ObjectFieldText) Descriptor() ([]byte, []int)
- func (m *ObjectFieldText) GetDid() string
- func (m *ObjectFieldText) GetLabel() string
- func (m *ObjectFieldText) GetMetadata() map[string]string
- func (m *ObjectFieldText) GetValue() string
- func (m *ObjectFieldText) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldText) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldText) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldText) ProtoMessage()
- func (m *ObjectFieldText) Reset()
- func (m *ObjectFieldText) Size() (n int)
- func (m *ObjectFieldText) String() string
- func (m *ObjectFieldText) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldText) XXX_DiscardUnknown()
- func (m *ObjectFieldText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldText) XXX_Merge(src proto.Message)
- func (m *ObjectFieldText) XXX_Size() int
- func (m *ObjectFieldText) XXX_Unmarshal(b []byte) error
- type ObjectFieldTime
- func (*ObjectFieldTime) Descriptor() ([]byte, []int)
- func (m *ObjectFieldTime) GetDid() string
- func (m *ObjectFieldTime) GetLabel() string
- func (m *ObjectFieldTime) GetMetadata() map[string]string
- func (m *ObjectFieldTime) GetValue() int64
- func (m *ObjectFieldTime) Marshal() (dAtA []byte, err error)
- func (m *ObjectFieldTime) MarshalTo(dAtA []byte) (int, error)
- func (m *ObjectFieldTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ObjectFieldTime) ProtoMessage()
- func (m *ObjectFieldTime) Reset()
- func (m *ObjectFieldTime) Size() (n int)
- func (m *ObjectFieldTime) String() string
- func (m *ObjectFieldTime) Unmarshal(dAtA []byte) error
- func (m *ObjectFieldTime) XXX_DiscardUnknown()
- func (m *ObjectFieldTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectFieldTime) XXX_Merge(src proto.Message)
- func (m *ObjectFieldTime) XXX_Size() int
- func (m *ObjectFieldTime) XXX_Unmarshal(b []byte) error
- type ObjectFieldType
- type ObjectField_ArrayValue
- type ObjectField_BlobValue
- type ObjectField_BlockchainAddrValue
- type ObjectField_BoolValue
- type ObjectField_GeopointValue
- type ObjectField_NumberValue
- type ObjectField_StringValue
- type ObjectField_TimeStampValue
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type QueryAllWhatIsRequest
- func (*QueryAllWhatIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllWhatIsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllWhatIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllWhatIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllWhatIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllWhatIsRequest) ProtoMessage()
- func (m *QueryAllWhatIsRequest) Reset()
- func (m *QueryAllWhatIsRequest) Size() (n int)
- func (m *QueryAllWhatIsRequest) String() string
- func (m *QueryAllWhatIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllWhatIsRequest) XXX_DiscardUnknown()
- func (m *QueryAllWhatIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllWhatIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllWhatIsRequest) XXX_Size() int
- func (m *QueryAllWhatIsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllWhatIsResponse
- func (*QueryAllWhatIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllWhatIsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllWhatIsResponse) GetWhatIs() []WhatIs
- func (m *QueryAllWhatIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllWhatIsResponse) ProtoMessage()
- func (m *QueryAllWhatIsResponse) Reset()
- func (m *QueryAllWhatIsResponse) Size() (n int)
- func (m *QueryAllWhatIsResponse) String() string
- func (m *QueryAllWhatIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllWhatIsResponse) XXX_DiscardUnknown()
- func (m *QueryAllWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllWhatIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllWhatIsResponse) XXX_Size() int
- func (m *QueryAllWhatIsResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryGetWhatIsRequest
- func (*QueryGetWhatIsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetWhatIsRequest) GetIndex() string
- func (m *QueryGetWhatIsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetWhatIsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetWhatIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetWhatIsRequest) ProtoMessage()
- func (m *QueryGetWhatIsRequest) Reset()
- func (m *QueryGetWhatIsRequest) Size() (n int)
- func (m *QueryGetWhatIsRequest) String() string
- func (m *QueryGetWhatIsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetWhatIsRequest) XXX_DiscardUnknown()
- func (m *QueryGetWhatIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetWhatIsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetWhatIsRequest) XXX_Size() int
- func (m *QueryGetWhatIsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetWhatIsResponse
- func (*QueryGetWhatIsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetWhatIsResponse) GetWhatIs() WhatIs
- func (m *QueryGetWhatIsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetWhatIsResponse) ProtoMessage()
- func (m *QueryGetWhatIsResponse) Reset()
- func (m *QueryGetWhatIsResponse) Size() (n int)
- func (m *QueryGetWhatIsResponse) String() string
- func (m *QueryGetWhatIsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetWhatIsResponse) XXX_DiscardUnknown()
- func (m *QueryGetWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetWhatIsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetWhatIsResponse) XXX_Size() int
- func (m *QueryGetWhatIsResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateObject(ctx context.Context, req *MsgCreateObject) (*MsgCreateObjectResponse, error)
- func (*UnimplementedMsgServer) CreateWhatIs(ctx context.Context, req *MsgCreateWhatIs) (*MsgCreateWhatIsResponse, error)
- func (*UnimplementedMsgServer) DeleteObject(ctx context.Context, req *MsgDeleteObject) (*MsgDeleteObjectResponse, error)
- func (*UnimplementedMsgServer) DeleteWhatIs(ctx context.Context, req *MsgDeleteWhatIs) (*MsgDeleteWhatIsResponse, error)
- func (*UnimplementedMsgServer) ReadObject(ctx context.Context, req *MsgReadObject) (*MsgReadObjectResponse, error)
- func (*UnimplementedMsgServer) UpdateObject(ctx context.Context, req *MsgUpdateObject) (*MsgUpdateObjectResponse, error)
- func (*UnimplementedMsgServer) UpdateWhatIs(ctx context.Context, req *MsgUpdateWhatIs) (*MsgUpdateWhatIsResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) WhatIs(ctx context.Context, req *QueryGetWhatIsRequest) (*QueryGetWhatIsResponse, error)
- func (*UnimplementedQueryServer) WhatIsAll(ctx context.Context, req *QueryAllWhatIsRequest) (*QueryAllWhatIsResponse, error)
- type WhatIs
- func (*WhatIs) Descriptor() ([]byte, []int)
- func (m *WhatIs) GetCreator() string
- func (m *WhatIs) GetDid() string
- func (m *WhatIs) GetDocument() []byte
- func (m *WhatIs) GetIndex() string
- func (m *WhatIs) Marshal() (dAtA []byte, err error)
- func (m *WhatIs) MarshalTo(dAtA []byte) (int, error)
- func (m *WhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WhatIs) ProtoMessage()
- func (m *WhatIs) Reset()
- func (m *WhatIs) Size() (n int)
- func (m *WhatIs) String() string
- func (m *WhatIs) Unmarshal(dAtA []byte) error
- func (m *WhatIs) XXX_DiscardUnknown()
- func (m *WhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WhatIs) XXX_Merge(src proto.Message)
- func (m *WhatIs) XXX_Size() int
- func (m *WhatIs) XXX_Unmarshal(b []byte) error
- type Whatis
- func (*Whatis) Descriptor() ([]byte, []int)
- func (m *Whatis) GetCreator() string
- func (m *Whatis) GetDid() string
- func (m *Whatis) GetIndex() string
- func (m *Whatis) GetValue() string
- func (m *Whatis) Marshal() (dAtA []byte, err error)
- func (m *Whatis) MarshalTo(dAtA []byte) (int, error)
- func (m *Whatis) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Whatis) ProtoMessage()
- func (m *Whatis) Reset()
- func (m *Whatis) Size() (n int)
- func (m *Whatis) String() string
- func (m *Whatis) Unmarshal(dAtA []byte) error
- func (m *Whatis) XXX_DiscardUnknown()
- func (m *Whatis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Whatis) XXX_Merge(src proto.Message)
- func (m *Whatis) XXX_Size() int
- func (m *Whatis) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "object" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_object" )
const ( TypeMsgCreateWhatIs = "create_what_is" TypeMsgUpdateWhatIs = "update_what_is" TypeMsgDeleteWhatIs = "delete_what_is" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgCreateObject = "create_object"
const TypeMsgDeleteObject = "delete_object"
const TypeMsgReadObject = "read_object"
const TypeMsgUpdateObject = "update_object"
const (
// WhatIsKeyPrefix is the prefix to retrieve all WhatIs
WhatIsKeyPrefix = "WhatIs/value/"
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthObject = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowObject = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupObject = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWhatIs = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWhatIs = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWhatIs = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthWhatis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowWhatis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupWhatis = fmt.Errorf("proto: unexpected end of group") )
var (
ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error")
)
x/object module sentinel errors
var ObjectFieldType_name = map[int32]string{
0: "OBJECT_FIELD_TYPE_UNSPECIFIED",
1: "OBJECT_FIELD_TYPE_STRING",
2: "OBJECT_FIELD_TYPE_NUMBER",
3: "OBJECT_FIELD_TYPE_BOOL",
4: "OBJECT_FIELD_TYPE_ARRAY",
5: "OBJECT_FIELD_TYPE_TIMESTAMP",
6: "OBJECT_FIELD_TYPE_GEOPOINT",
7: "OBJECT_FIELD_TYPE_BLOB",
8: "OBJECT_FIELD_TYPE_BLOCKCHAIN_ADDRESS",
}
var ObjectFieldType_value = map[string]int32{
"OBJECT_FIELD_TYPE_UNSPECIFIED": 0,
"OBJECT_FIELD_TYPE_STRING": 1,
"OBJECT_FIELD_TYPE_NUMBER": 2,
"OBJECT_FIELD_TYPE_BOOL": 3,
"OBJECT_FIELD_TYPE_ARRAY": 4,
"OBJECT_FIELD_TYPE_TIMESTAMP": 5,
"OBJECT_FIELD_TYPE_GEOPOINT": 6,
"OBJECT_FIELD_TYPE_BLOB": 7,
"OBJECT_FIELD_TYPE_BLOCKCHAIN_ADDRESS": 8,
}
Functions ¶
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type AccountKeeper ¶
AccountKeeper defines the expected account keeper used for simulations (noalias)
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
type CapabilityKeeper ¶
type CapabilityKeeper interface { }
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` WhatIsList []WhatIs `protobuf:"bytes,2,rep,name=whatIsList,proto3" json:"whatIsList"` }
GenesisState defines the object module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetWhatIsList ¶
func (m *GenesisState) GetWhatIsList() []WhatIs
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MintKeeper ¶
type MintKeeper interface { }
type MsgClient ¶
type MsgClient interface { CreateObject(ctx context.Context, in *MsgCreateObject, opts ...grpc.CallOption) (*MsgCreateObjectResponse, error) ReadObject(ctx context.Context, in *MsgReadObject, opts ...grpc.CallOption) (*MsgReadObjectResponse, error) UpdateObject(ctx context.Context, in *MsgUpdateObject, opts ...grpc.CallOption) (*MsgUpdateObjectResponse, error) DeleteObject(ctx context.Context, in *MsgDeleteObject, opts ...grpc.CallOption) (*MsgDeleteObjectResponse, error) CreateWhatIs(ctx context.Context, in *MsgCreateWhatIs, opts ...grpc.CallOption) (*MsgCreateWhatIsResponse, error) UpdateWhatIs(ctx context.Context, in *MsgUpdateWhatIs, opts ...grpc.CallOption) (*MsgUpdateWhatIsResponse, error) DeleteWhatIs(ctx context.Context, in *MsgDeleteWhatIs, opts ...grpc.CallOption) (*MsgDeleteWhatIsResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateObject ¶
type MsgCreateObject struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Fields []*ObjectField `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` }
func NewMsgCreateObject ¶
func NewMsgCreateObject(creator string, label string, description string) *MsgCreateObject
func (*MsgCreateObject) Descriptor ¶
func (*MsgCreateObject) Descriptor() ([]byte, []int)
func (*MsgCreateObject) GetCreator ¶
func (m *MsgCreateObject) GetCreator() string
func (*MsgCreateObject) GetDescription ¶
func (m *MsgCreateObject) GetDescription() string
func (*MsgCreateObject) GetFields ¶
func (m *MsgCreateObject) GetFields() []*ObjectField
func (*MsgCreateObject) GetLabel ¶
func (m *MsgCreateObject) GetLabel() string
func (*MsgCreateObject) GetSignBytes ¶
func (msg *MsgCreateObject) GetSignBytes() []byte
func (*MsgCreateObject) GetSigners ¶
func (msg *MsgCreateObject) GetSigners() []sdk.AccAddress
func (*MsgCreateObject) Marshal ¶
func (m *MsgCreateObject) Marshal() (dAtA []byte, err error)
func (*MsgCreateObject) MarshalToSizedBuffer ¶
func (m *MsgCreateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateObject) ProtoMessage ¶
func (*MsgCreateObject) ProtoMessage()
func (*MsgCreateObject) Reset ¶
func (m *MsgCreateObject) Reset()
func (*MsgCreateObject) Route ¶
func (msg *MsgCreateObject) Route() string
func (*MsgCreateObject) Size ¶
func (m *MsgCreateObject) Size() (n int)
func (*MsgCreateObject) String ¶
func (m *MsgCreateObject) String() string
func (*MsgCreateObject) Type ¶
func (msg *MsgCreateObject) Type() string
func (*MsgCreateObject) Unmarshal ¶
func (m *MsgCreateObject) Unmarshal(dAtA []byte) error
func (*MsgCreateObject) ValidateBasic ¶
func (msg *MsgCreateObject) ValidateBasic() error
func (*MsgCreateObject) XXX_DiscardUnknown ¶
func (m *MsgCreateObject) XXX_DiscardUnknown()
func (*MsgCreateObject) XXX_Marshal ¶
func (m *MsgCreateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateObject) XXX_Merge ¶
func (m *MsgCreateObject) XXX_Merge(src proto.Message)
func (*MsgCreateObject) XXX_Size ¶
func (m *MsgCreateObject) XXX_Size() int
func (*MsgCreateObject) XXX_Unmarshal ¶
func (m *MsgCreateObject) XXX_Unmarshal(b []byte) error
type MsgCreateObjectResponse ¶
type MsgCreateObjectResponse struct { }
func (*MsgCreateObjectResponse) Descriptor ¶
func (*MsgCreateObjectResponse) Descriptor() ([]byte, []int)
func (*MsgCreateObjectResponse) Marshal ¶
func (m *MsgCreateObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateObjectResponse) MarshalTo ¶
func (m *MsgCreateObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateObjectResponse) ProtoMessage ¶
func (*MsgCreateObjectResponse) ProtoMessage()
func (*MsgCreateObjectResponse) Reset ¶
func (m *MsgCreateObjectResponse) Reset()
func (*MsgCreateObjectResponse) Size ¶
func (m *MsgCreateObjectResponse) Size() (n int)
func (*MsgCreateObjectResponse) String ¶
func (m *MsgCreateObjectResponse) String() string
func (*MsgCreateObjectResponse) Unmarshal ¶
func (m *MsgCreateObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateObjectResponse) XXX_DiscardUnknown()
func (*MsgCreateObjectResponse) XXX_Marshal ¶
func (m *MsgCreateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateObjectResponse) XXX_Merge ¶
func (m *MsgCreateObjectResponse) XXX_Merge(src proto.Message)
func (*MsgCreateObjectResponse) XXX_Size ¶
func (m *MsgCreateObjectResponse) XXX_Size() int
func (*MsgCreateObjectResponse) XXX_Unmarshal ¶
func (m *MsgCreateObjectResponse) XXX_Unmarshal(b []byte) error
type MsgCreateWhatIs ¶
type MsgCreateWhatIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` Document []byte `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"` }
func NewMsgCreateWhatIs ¶
func NewMsgCreateWhatIs( creator string, index string, did string, value []byte, ) *MsgCreateWhatIs
func (*MsgCreateWhatIs) Descriptor ¶
func (*MsgCreateWhatIs) Descriptor() ([]byte, []int)
func (*MsgCreateWhatIs) GetCreator ¶
func (m *MsgCreateWhatIs) GetCreator() string
func (*MsgCreateWhatIs) GetDid ¶
func (m *MsgCreateWhatIs) GetDid() string
func (*MsgCreateWhatIs) GetDocument ¶
func (m *MsgCreateWhatIs) GetDocument() []byte
func (*MsgCreateWhatIs) GetIndex ¶
func (m *MsgCreateWhatIs) GetIndex() string
func (*MsgCreateWhatIs) GetSignBytes ¶
func (msg *MsgCreateWhatIs) GetSignBytes() []byte
func (*MsgCreateWhatIs) GetSigners ¶
func (msg *MsgCreateWhatIs) GetSigners() []sdk.AccAddress
func (*MsgCreateWhatIs) Marshal ¶
func (m *MsgCreateWhatIs) Marshal() (dAtA []byte, err error)
func (*MsgCreateWhatIs) MarshalToSizedBuffer ¶
func (m *MsgCreateWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateWhatIs) ProtoMessage ¶
func (*MsgCreateWhatIs) ProtoMessage()
func (*MsgCreateWhatIs) Reset ¶
func (m *MsgCreateWhatIs) Reset()
func (*MsgCreateWhatIs) Route ¶
func (msg *MsgCreateWhatIs) Route() string
func (*MsgCreateWhatIs) Size ¶
func (m *MsgCreateWhatIs) Size() (n int)
func (*MsgCreateWhatIs) String ¶
func (m *MsgCreateWhatIs) String() string
func (*MsgCreateWhatIs) Type ¶
func (msg *MsgCreateWhatIs) Type() string
func (*MsgCreateWhatIs) Unmarshal ¶
func (m *MsgCreateWhatIs) Unmarshal(dAtA []byte) error
func (*MsgCreateWhatIs) ValidateBasic ¶
func (msg *MsgCreateWhatIs) ValidateBasic() error
func (*MsgCreateWhatIs) XXX_DiscardUnknown ¶
func (m *MsgCreateWhatIs) XXX_DiscardUnknown()
func (*MsgCreateWhatIs) XXX_Marshal ¶
func (m *MsgCreateWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateWhatIs) XXX_Merge ¶
func (m *MsgCreateWhatIs) XXX_Merge(src proto.Message)
func (*MsgCreateWhatIs) XXX_Size ¶
func (m *MsgCreateWhatIs) XXX_Size() int
func (*MsgCreateWhatIs) XXX_Unmarshal ¶
func (m *MsgCreateWhatIs) XXX_Unmarshal(b []byte) error
type MsgCreateWhatIsResponse ¶
type MsgCreateWhatIsResponse struct { }
func (*MsgCreateWhatIsResponse) Descriptor ¶
func (*MsgCreateWhatIsResponse) Descriptor() ([]byte, []int)
func (*MsgCreateWhatIsResponse) Marshal ¶
func (m *MsgCreateWhatIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateWhatIsResponse) MarshalTo ¶
func (m *MsgCreateWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateWhatIsResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateWhatIsResponse) ProtoMessage ¶
func (*MsgCreateWhatIsResponse) ProtoMessage()
func (*MsgCreateWhatIsResponse) Reset ¶
func (m *MsgCreateWhatIsResponse) Reset()
func (*MsgCreateWhatIsResponse) Size ¶
func (m *MsgCreateWhatIsResponse) Size() (n int)
func (*MsgCreateWhatIsResponse) String ¶
func (m *MsgCreateWhatIsResponse) String() string
func (*MsgCreateWhatIsResponse) Unmarshal ¶
func (m *MsgCreateWhatIsResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateWhatIsResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateWhatIsResponse) XXX_DiscardUnknown()
func (*MsgCreateWhatIsResponse) XXX_Marshal ¶
func (m *MsgCreateWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateWhatIsResponse) XXX_Merge ¶
func (m *MsgCreateWhatIsResponse) XXX_Merge(src proto.Message)
func (*MsgCreateWhatIsResponse) XXX_Size ¶
func (m *MsgCreateWhatIsResponse) XXX_Size() int
func (*MsgCreateWhatIsResponse) XXX_Unmarshal ¶
func (m *MsgCreateWhatIsResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteObject ¶
type MsgDeleteObject struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` PublicKey string `protobuf:"bytes,3,opt,name=publicKey,proto3" json:"publicKey,omitempty"` }
func NewMsgDeleteObject ¶
func NewMsgDeleteObject(creator string, did string, publicKey string) *MsgDeleteObject
func (*MsgDeleteObject) Descriptor ¶
func (*MsgDeleteObject) Descriptor() ([]byte, []int)
func (*MsgDeleteObject) GetCreator ¶
func (m *MsgDeleteObject) GetCreator() string
func (*MsgDeleteObject) GetDid ¶
func (m *MsgDeleteObject) GetDid() string
func (*MsgDeleteObject) GetPublicKey ¶
func (m *MsgDeleteObject) GetPublicKey() string
func (*MsgDeleteObject) GetSignBytes ¶
func (msg *MsgDeleteObject) GetSignBytes() []byte
func (*MsgDeleteObject) GetSigners ¶
func (msg *MsgDeleteObject) GetSigners() []sdk.AccAddress
func (*MsgDeleteObject) Marshal ¶
func (m *MsgDeleteObject) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObject) MarshalToSizedBuffer ¶
func (m *MsgDeleteObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObject) ProtoMessage ¶
func (*MsgDeleteObject) ProtoMessage()
func (*MsgDeleteObject) Reset ¶
func (m *MsgDeleteObject) Reset()
func (*MsgDeleteObject) Route ¶
func (msg *MsgDeleteObject) Route() string
func (*MsgDeleteObject) Size ¶
func (m *MsgDeleteObject) Size() (n int)
func (*MsgDeleteObject) String ¶
func (m *MsgDeleteObject) String() string
func (*MsgDeleteObject) Type ¶
func (msg *MsgDeleteObject) Type() string
func (*MsgDeleteObject) Unmarshal ¶
func (m *MsgDeleteObject) Unmarshal(dAtA []byte) error
func (*MsgDeleteObject) ValidateBasic ¶
func (msg *MsgDeleteObject) ValidateBasic() error
func (*MsgDeleteObject) XXX_DiscardUnknown ¶
func (m *MsgDeleteObject) XXX_DiscardUnknown()
func (*MsgDeleteObject) XXX_Marshal ¶
func (m *MsgDeleteObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObject) XXX_Merge ¶
func (m *MsgDeleteObject) XXX_Merge(src proto.Message)
func (*MsgDeleteObject) XXX_Size ¶
func (m *MsgDeleteObject) XXX_Size() int
func (*MsgDeleteObject) XXX_Unmarshal ¶
func (m *MsgDeleteObject) XXX_Unmarshal(b []byte) error
type MsgDeleteObjectResponse ¶
type MsgDeleteObjectResponse struct { }
func (*MsgDeleteObjectResponse) Descriptor ¶
func (*MsgDeleteObjectResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteObjectResponse) Marshal ¶
func (m *MsgDeleteObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteObjectResponse) MarshalTo ¶
func (m *MsgDeleteObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteObjectResponse) ProtoMessage ¶
func (*MsgDeleteObjectResponse) ProtoMessage()
func (*MsgDeleteObjectResponse) Reset ¶
func (m *MsgDeleteObjectResponse) Reset()
func (*MsgDeleteObjectResponse) Size ¶
func (m *MsgDeleteObjectResponse) Size() (n int)
func (*MsgDeleteObjectResponse) String ¶
func (m *MsgDeleteObjectResponse) String() string
func (*MsgDeleteObjectResponse) Unmarshal ¶
func (m *MsgDeleteObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteObjectResponse) XXX_DiscardUnknown()
func (*MsgDeleteObjectResponse) XXX_Marshal ¶
func (m *MsgDeleteObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteObjectResponse) XXX_Merge ¶
func (m *MsgDeleteObjectResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteObjectResponse) XXX_Size ¶
func (m *MsgDeleteObjectResponse) XXX_Size() int
func (*MsgDeleteObjectResponse) XXX_Unmarshal ¶
func (m *MsgDeleteObjectResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteWhatIs ¶
type MsgDeleteWhatIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` }
func NewMsgDeleteWhatIs ¶
func NewMsgDeleteWhatIs( creator string, index string, ) *MsgDeleteWhatIs
func (*MsgDeleteWhatIs) Descriptor ¶
func (*MsgDeleteWhatIs) Descriptor() ([]byte, []int)
func (*MsgDeleteWhatIs) GetCreator ¶
func (m *MsgDeleteWhatIs) GetCreator() string
func (*MsgDeleteWhatIs) GetIndex ¶
func (m *MsgDeleteWhatIs) GetIndex() string
func (*MsgDeleteWhatIs) GetSignBytes ¶
func (msg *MsgDeleteWhatIs) GetSignBytes() []byte
func (*MsgDeleteWhatIs) GetSigners ¶
func (msg *MsgDeleteWhatIs) GetSigners() []sdk.AccAddress
func (*MsgDeleteWhatIs) Marshal ¶
func (m *MsgDeleteWhatIs) Marshal() (dAtA []byte, err error)
func (*MsgDeleteWhatIs) MarshalToSizedBuffer ¶
func (m *MsgDeleteWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteWhatIs) ProtoMessage ¶
func (*MsgDeleteWhatIs) ProtoMessage()
func (*MsgDeleteWhatIs) Reset ¶
func (m *MsgDeleteWhatIs) Reset()
func (*MsgDeleteWhatIs) Route ¶
func (msg *MsgDeleteWhatIs) Route() string
func (*MsgDeleteWhatIs) Size ¶
func (m *MsgDeleteWhatIs) Size() (n int)
func (*MsgDeleteWhatIs) String ¶
func (m *MsgDeleteWhatIs) String() string
func (*MsgDeleteWhatIs) Type ¶
func (msg *MsgDeleteWhatIs) Type() string
func (*MsgDeleteWhatIs) Unmarshal ¶
func (m *MsgDeleteWhatIs) Unmarshal(dAtA []byte) error
func (*MsgDeleteWhatIs) ValidateBasic ¶
func (msg *MsgDeleteWhatIs) ValidateBasic() error
func (*MsgDeleteWhatIs) XXX_DiscardUnknown ¶
func (m *MsgDeleteWhatIs) XXX_DiscardUnknown()
func (*MsgDeleteWhatIs) XXX_Marshal ¶
func (m *MsgDeleteWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteWhatIs) XXX_Merge ¶
func (m *MsgDeleteWhatIs) XXX_Merge(src proto.Message)
func (*MsgDeleteWhatIs) XXX_Size ¶
func (m *MsgDeleteWhatIs) XXX_Size() int
func (*MsgDeleteWhatIs) XXX_Unmarshal ¶
func (m *MsgDeleteWhatIs) XXX_Unmarshal(b []byte) error
type MsgDeleteWhatIsResponse ¶
type MsgDeleteWhatIsResponse struct { }
func (*MsgDeleteWhatIsResponse) Descriptor ¶
func (*MsgDeleteWhatIsResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteWhatIsResponse) Marshal ¶
func (m *MsgDeleteWhatIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteWhatIsResponse) MarshalTo ¶
func (m *MsgDeleteWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteWhatIsResponse) MarshalToSizedBuffer ¶
func (m *MsgDeleteWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteWhatIsResponse) ProtoMessage ¶
func (*MsgDeleteWhatIsResponse) ProtoMessage()
func (*MsgDeleteWhatIsResponse) Reset ¶
func (m *MsgDeleteWhatIsResponse) Reset()
func (*MsgDeleteWhatIsResponse) Size ¶
func (m *MsgDeleteWhatIsResponse) Size() (n int)
func (*MsgDeleteWhatIsResponse) String ¶
func (m *MsgDeleteWhatIsResponse) String() string
func (*MsgDeleteWhatIsResponse) Unmarshal ¶
func (m *MsgDeleteWhatIsResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteWhatIsResponse) XXX_DiscardUnknown ¶
func (m *MsgDeleteWhatIsResponse) XXX_DiscardUnknown()
func (*MsgDeleteWhatIsResponse) XXX_Marshal ¶
func (m *MsgDeleteWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteWhatIsResponse) XXX_Merge ¶
func (m *MsgDeleteWhatIsResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteWhatIsResponse) XXX_Size ¶
func (m *MsgDeleteWhatIsResponse) XXX_Size() int
func (*MsgDeleteWhatIsResponse) XXX_Unmarshal ¶
func (m *MsgDeleteWhatIsResponse) XXX_Unmarshal(b []byte) error
type MsgReadObject ¶
type MsgReadObject struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` }
func NewMsgReadObject ¶
func NewMsgReadObject(creator string, did string) *MsgReadObject
func (*MsgReadObject) Descriptor ¶
func (*MsgReadObject) Descriptor() ([]byte, []int)
func (*MsgReadObject) GetCreator ¶
func (m *MsgReadObject) GetCreator() string
func (*MsgReadObject) GetDid ¶
func (m *MsgReadObject) GetDid() string
func (*MsgReadObject) GetSignBytes ¶
func (msg *MsgReadObject) GetSignBytes() []byte
func (*MsgReadObject) GetSigners ¶
func (msg *MsgReadObject) GetSigners() []sdk.AccAddress
func (*MsgReadObject) Marshal ¶
func (m *MsgReadObject) Marshal() (dAtA []byte, err error)
func (*MsgReadObject) MarshalToSizedBuffer ¶
func (m *MsgReadObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReadObject) ProtoMessage ¶
func (*MsgReadObject) ProtoMessage()
func (*MsgReadObject) Reset ¶
func (m *MsgReadObject) Reset()
func (*MsgReadObject) Route ¶
func (msg *MsgReadObject) Route() string
func (*MsgReadObject) Size ¶
func (m *MsgReadObject) Size() (n int)
func (*MsgReadObject) String ¶
func (m *MsgReadObject) String() string
func (*MsgReadObject) Type ¶
func (msg *MsgReadObject) Type() string
func (*MsgReadObject) Unmarshal ¶
func (m *MsgReadObject) Unmarshal(dAtA []byte) error
func (*MsgReadObject) ValidateBasic ¶
func (msg *MsgReadObject) ValidateBasic() error
func (*MsgReadObject) XXX_DiscardUnknown ¶
func (m *MsgReadObject) XXX_DiscardUnknown()
func (*MsgReadObject) XXX_Marshal ¶
func (m *MsgReadObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReadObject) XXX_Merge ¶
func (m *MsgReadObject) XXX_Merge(src proto.Message)
func (*MsgReadObject) XXX_Size ¶
func (m *MsgReadObject) XXX_Size() int
func (*MsgReadObject) XXX_Unmarshal ¶
func (m *MsgReadObject) XXX_Unmarshal(b []byte) error
type MsgReadObjectResponse ¶
type MsgReadObjectResponse struct { }
func (*MsgReadObjectResponse) Descriptor ¶
func (*MsgReadObjectResponse) Descriptor() ([]byte, []int)
func (*MsgReadObjectResponse) Marshal ¶
func (m *MsgReadObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgReadObjectResponse) MarshalTo ¶
func (m *MsgReadObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgReadObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgReadObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgReadObjectResponse) ProtoMessage ¶
func (*MsgReadObjectResponse) ProtoMessage()
func (*MsgReadObjectResponse) Reset ¶
func (m *MsgReadObjectResponse) Reset()
func (*MsgReadObjectResponse) Size ¶
func (m *MsgReadObjectResponse) Size() (n int)
func (*MsgReadObjectResponse) String ¶
func (m *MsgReadObjectResponse) String() string
func (*MsgReadObjectResponse) Unmarshal ¶
func (m *MsgReadObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgReadObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgReadObjectResponse) XXX_DiscardUnknown()
func (*MsgReadObjectResponse) XXX_Marshal ¶
func (m *MsgReadObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgReadObjectResponse) XXX_Merge ¶
func (m *MsgReadObjectResponse) XXX_Merge(src proto.Message)
func (*MsgReadObjectResponse) XXX_Size ¶
func (m *MsgReadObjectResponse) XXX_Size() int
func (*MsgReadObjectResponse) XXX_Unmarshal ¶
func (m *MsgReadObjectResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateObject(context.Context, *MsgCreateObject) (*MsgCreateObjectResponse, error) ReadObject(context.Context, *MsgReadObject) (*MsgReadObjectResponse, error) UpdateObject(context.Context, *MsgUpdateObject) (*MsgUpdateObjectResponse, error) DeleteObject(context.Context, *MsgDeleteObject) (*MsgDeleteObjectResponse, error) CreateWhatIs(context.Context, *MsgCreateWhatIs) (*MsgCreateWhatIsResponse, error) UpdateWhatIs(context.Context, *MsgUpdateWhatIs) (*MsgUpdateWhatIsResponse, error) DeleteWhatIs(context.Context, *MsgDeleteWhatIs) (*MsgDeleteWhatIsResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateObject ¶
type MsgUpdateObject struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` }
func NewMsgUpdateObject ¶
func NewMsgUpdateObject(creator string, did string) *MsgUpdateObject
func (*MsgUpdateObject) Descriptor ¶
func (*MsgUpdateObject) Descriptor() ([]byte, []int)
func (*MsgUpdateObject) GetCreator ¶
func (m *MsgUpdateObject) GetCreator() string
func (*MsgUpdateObject) GetDid ¶
func (m *MsgUpdateObject) GetDid() string
func (*MsgUpdateObject) GetSignBytes ¶
func (msg *MsgUpdateObject) GetSignBytes() []byte
func (*MsgUpdateObject) GetSigners ¶
func (msg *MsgUpdateObject) GetSigners() []sdk.AccAddress
func (*MsgUpdateObject) Marshal ¶
func (m *MsgUpdateObject) Marshal() (dAtA []byte, err error)
func (*MsgUpdateObject) MarshalToSizedBuffer ¶
func (m *MsgUpdateObject) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateObject) ProtoMessage ¶
func (*MsgUpdateObject) ProtoMessage()
func (*MsgUpdateObject) Reset ¶
func (m *MsgUpdateObject) Reset()
func (*MsgUpdateObject) Route ¶
func (msg *MsgUpdateObject) Route() string
func (*MsgUpdateObject) Size ¶
func (m *MsgUpdateObject) Size() (n int)
func (*MsgUpdateObject) String ¶
func (m *MsgUpdateObject) String() string
func (*MsgUpdateObject) Type ¶
func (msg *MsgUpdateObject) Type() string
func (*MsgUpdateObject) Unmarshal ¶
func (m *MsgUpdateObject) Unmarshal(dAtA []byte) error
func (*MsgUpdateObject) ValidateBasic ¶
func (msg *MsgUpdateObject) ValidateBasic() error
func (*MsgUpdateObject) XXX_DiscardUnknown ¶
func (m *MsgUpdateObject) XXX_DiscardUnknown()
func (*MsgUpdateObject) XXX_Marshal ¶
func (m *MsgUpdateObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateObject) XXX_Merge ¶
func (m *MsgUpdateObject) XXX_Merge(src proto.Message)
func (*MsgUpdateObject) XXX_Size ¶
func (m *MsgUpdateObject) XXX_Size() int
func (*MsgUpdateObject) XXX_Unmarshal ¶
func (m *MsgUpdateObject) XXX_Unmarshal(b []byte) error
type MsgUpdateObjectResponse ¶
type MsgUpdateObjectResponse struct { }
func (*MsgUpdateObjectResponse) Descriptor ¶
func (*MsgUpdateObjectResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateObjectResponse) Marshal ¶
func (m *MsgUpdateObjectResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateObjectResponse) MarshalTo ¶
func (m *MsgUpdateObjectResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateObjectResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateObjectResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateObjectResponse) ProtoMessage ¶
func (*MsgUpdateObjectResponse) ProtoMessage()
func (*MsgUpdateObjectResponse) Reset ¶
func (m *MsgUpdateObjectResponse) Reset()
func (*MsgUpdateObjectResponse) Size ¶
func (m *MsgUpdateObjectResponse) Size() (n int)
func (*MsgUpdateObjectResponse) String ¶
func (m *MsgUpdateObjectResponse) String() string
func (*MsgUpdateObjectResponse) Unmarshal ¶
func (m *MsgUpdateObjectResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateObjectResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateObjectResponse) XXX_DiscardUnknown()
func (*MsgUpdateObjectResponse) XXX_Marshal ¶
func (m *MsgUpdateObjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateObjectResponse) XXX_Merge ¶
func (m *MsgUpdateObjectResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateObjectResponse) XXX_Size ¶
func (m *MsgUpdateObjectResponse) XXX_Size() int
func (*MsgUpdateObjectResponse) XXX_Unmarshal ¶
func (m *MsgUpdateObjectResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateWhatIs ¶
type MsgUpdateWhatIs struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Index string `protobuf:"bytes,2,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` Document []byte `protobuf:"bytes,4,opt,name=document,proto3" json:"document,omitempty"` }
func NewMsgUpdateWhatIs ¶
func NewMsgUpdateWhatIs( creator string, index string, did string, value []byte, ) *MsgUpdateWhatIs
func (*MsgUpdateWhatIs) Descriptor ¶
func (*MsgUpdateWhatIs) Descriptor() ([]byte, []int)
func (*MsgUpdateWhatIs) GetCreator ¶
func (m *MsgUpdateWhatIs) GetCreator() string
func (*MsgUpdateWhatIs) GetDid ¶
func (m *MsgUpdateWhatIs) GetDid() string
func (*MsgUpdateWhatIs) GetDocument ¶
func (m *MsgUpdateWhatIs) GetDocument() []byte
func (*MsgUpdateWhatIs) GetIndex ¶
func (m *MsgUpdateWhatIs) GetIndex() string
func (*MsgUpdateWhatIs) GetSignBytes ¶
func (msg *MsgUpdateWhatIs) GetSignBytes() []byte
func (*MsgUpdateWhatIs) GetSigners ¶
func (msg *MsgUpdateWhatIs) GetSigners() []sdk.AccAddress
func (*MsgUpdateWhatIs) Marshal ¶
func (m *MsgUpdateWhatIs) Marshal() (dAtA []byte, err error)
func (*MsgUpdateWhatIs) MarshalToSizedBuffer ¶
func (m *MsgUpdateWhatIs) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateWhatIs) ProtoMessage ¶
func (*MsgUpdateWhatIs) ProtoMessage()
func (*MsgUpdateWhatIs) Reset ¶
func (m *MsgUpdateWhatIs) Reset()
func (*MsgUpdateWhatIs) Route ¶
func (msg *MsgUpdateWhatIs) Route() string
func (*MsgUpdateWhatIs) Size ¶
func (m *MsgUpdateWhatIs) Size() (n int)
func (*MsgUpdateWhatIs) String ¶
func (m *MsgUpdateWhatIs) String() string
func (*MsgUpdateWhatIs) Type ¶
func (msg *MsgUpdateWhatIs) Type() string
func (*MsgUpdateWhatIs) Unmarshal ¶
func (m *MsgUpdateWhatIs) Unmarshal(dAtA []byte) error
func (*MsgUpdateWhatIs) ValidateBasic ¶
func (msg *MsgUpdateWhatIs) ValidateBasic() error
func (*MsgUpdateWhatIs) XXX_DiscardUnknown ¶
func (m *MsgUpdateWhatIs) XXX_DiscardUnknown()
func (*MsgUpdateWhatIs) XXX_Marshal ¶
func (m *MsgUpdateWhatIs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateWhatIs) XXX_Merge ¶
func (m *MsgUpdateWhatIs) XXX_Merge(src proto.Message)
func (*MsgUpdateWhatIs) XXX_Size ¶
func (m *MsgUpdateWhatIs) XXX_Size() int
func (*MsgUpdateWhatIs) XXX_Unmarshal ¶
func (m *MsgUpdateWhatIs) XXX_Unmarshal(b []byte) error
type MsgUpdateWhatIsResponse ¶
type MsgUpdateWhatIsResponse struct { }
func (*MsgUpdateWhatIsResponse) Descriptor ¶
func (*MsgUpdateWhatIsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateWhatIsResponse) Marshal ¶
func (m *MsgUpdateWhatIsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateWhatIsResponse) MarshalTo ¶
func (m *MsgUpdateWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateWhatIsResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateWhatIsResponse) ProtoMessage ¶
func (*MsgUpdateWhatIsResponse) ProtoMessage()
func (*MsgUpdateWhatIsResponse) Reset ¶
func (m *MsgUpdateWhatIsResponse) Reset()
func (*MsgUpdateWhatIsResponse) Size ¶
func (m *MsgUpdateWhatIsResponse) Size() (n int)
func (*MsgUpdateWhatIsResponse) String ¶
func (m *MsgUpdateWhatIsResponse) String() string
func (*MsgUpdateWhatIsResponse) Unmarshal ¶
func (m *MsgUpdateWhatIsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateWhatIsResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateWhatIsResponse) XXX_DiscardUnknown()
func (*MsgUpdateWhatIsResponse) XXX_Marshal ¶
func (m *MsgUpdateWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateWhatIsResponse) XXX_Merge ¶
func (m *MsgUpdateWhatIsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateWhatIsResponse) XXX_Size ¶
func (m *MsgUpdateWhatIsResponse) XXX_Size() int
func (*MsgUpdateWhatIsResponse) XXX_Unmarshal ¶
func (m *MsgUpdateWhatIsResponse) XXX_Unmarshal(b []byte) error
type ObjectDoc ¶
type ObjectDoc struct { // Label is human-readable name of the bucket. Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Description is a human-readable description of the bucket. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Did is the identifier of the object. Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // Bucket is the did of the bucket that contains this object. BucketDid string `protobuf:"bytes,4,opt,name=bucket_did,json=bucketDid,proto3" json:"bucket_did,omitempty"` // Fields are the fields associated with the object. Fields map[string]*ObjectField `` /* 153-byte string literal not displayed */ }
ObjectDoc is a document for an Object stored in the graph.
func (*ObjectDoc) Descriptor ¶
func (*ObjectDoc) GetBucketDid ¶
func (*ObjectDoc) GetDescription ¶
func (*ObjectDoc) GetFields ¶
func (m *ObjectDoc) GetFields() map[string]*ObjectField
func (*ObjectDoc) MarshalToSizedBuffer ¶
func (*ObjectDoc) ProtoMessage ¶
func (*ObjectDoc) ProtoMessage()
func (*ObjectDoc) XXX_DiscardUnknown ¶
func (m *ObjectDoc) XXX_DiscardUnknown()
func (*ObjectDoc) XXX_Marshal ¶
func (*ObjectDoc) XXX_Unmarshal ¶
type ObjectField ¶
type ObjectField struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Type is the type of the field Type ObjectFieldType `protobuf:"varint,2,opt,name=type,proto3,enum=sonrio.sonr.object.ObjectFieldType" json:"type,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field // // Types that are valid to be assigned to Value: // *ObjectField_StringValue // *ObjectField_NumberValue // *ObjectField_BoolValue // *ObjectField_ArrayValue // *ObjectField_TimeStampValue // *ObjectField_GeopointValue // *ObjectField_BlobValue // *ObjectField_BlockchainAddrValue Value isObjectField_Value `protobuf_oneof:"value"` // Metadata is additional info about the field Metadata map[string]string `` /* 158-byte string literal not displayed */ }
ObjectField is a field of an Object.
func (*ObjectField) Descriptor ¶
func (*ObjectField) Descriptor() ([]byte, []int)
func (*ObjectField) GetArrayValue ¶
func (m *ObjectField) GetArrayValue() *ObjectFieldArray
func (*ObjectField) GetBlobValue ¶
func (m *ObjectField) GetBlobValue() *ObjectFieldBlob
func (*ObjectField) GetBlockchainAddrValue ¶
func (m *ObjectField) GetBlockchainAddrValue() *ObjectFieldBlockchainAddress
func (*ObjectField) GetBoolValue ¶
func (m *ObjectField) GetBoolValue() *ObjectFieldBool
func (*ObjectField) GetDid ¶
func (m *ObjectField) GetDid() string
func (*ObjectField) GetGeopointValue ¶
func (m *ObjectField) GetGeopointValue() *ObjectFieldGeopoint
func (*ObjectField) GetLabel ¶
func (m *ObjectField) GetLabel() string
func (*ObjectField) GetMetadata ¶
func (m *ObjectField) GetMetadata() map[string]string
func (*ObjectField) GetNumberValue ¶
func (m *ObjectField) GetNumberValue() *ObjectFieldNumber
func (*ObjectField) GetStringValue ¶
func (m *ObjectField) GetStringValue() *ObjectFieldText
func (*ObjectField) GetTimeStampValue ¶
func (m *ObjectField) GetTimeStampValue() *ObjectFieldTime
func (*ObjectField) GetType ¶
func (m *ObjectField) GetType() ObjectFieldType
func (*ObjectField) GetValue ¶
func (m *ObjectField) GetValue() isObjectField_Value
func (*ObjectField) Marshal ¶
func (m *ObjectField) Marshal() (dAtA []byte, err error)
func (*ObjectField) MarshalToSizedBuffer ¶
func (m *ObjectField) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField) ProtoMessage ¶
func (*ObjectField) ProtoMessage()
func (*ObjectField) Reset ¶
func (m *ObjectField) Reset()
func (*ObjectField) Size ¶
func (m *ObjectField) Size() (n int)
func (*ObjectField) String ¶
func (m *ObjectField) String() string
func (*ObjectField) Unmarshal ¶
func (m *ObjectField) Unmarshal(dAtA []byte) error
func (*ObjectField) XXX_DiscardUnknown ¶
func (m *ObjectField) XXX_DiscardUnknown()
func (*ObjectField) XXX_Marshal ¶
func (m *ObjectField) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectField) XXX_Merge ¶
func (m *ObjectField) XXX_Merge(src proto.Message)
func (*ObjectField) XXX_OneofWrappers ¶
func (*ObjectField) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ObjectField) XXX_Size ¶
func (m *ObjectField) XXX_Size() int
func (*ObjectField) XXX_Unmarshal ¶
func (m *ObjectField) XXX_Unmarshal(b []byte) error
type ObjectFieldArray ¶
type ObjectFieldArray struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Type is the type of the field Type ObjectFieldType `protobuf:"varint,2,opt,name=type,proto3,enum=sonrio.sonr.object.ObjectFieldType" json:"type,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // Entries are the values of the field Items []*ObjectField `protobuf:"bytes,4,rep,name=items,proto3" json:"items,omitempty"` }
ObjectFieldArray is an array of ObjectFields to be stored in the graph object.
func (*ObjectFieldArray) Descriptor ¶
func (*ObjectFieldArray) Descriptor() ([]byte, []int)
func (*ObjectFieldArray) GetDid ¶
func (m *ObjectFieldArray) GetDid() string
func (*ObjectFieldArray) GetItems ¶
func (m *ObjectFieldArray) GetItems() []*ObjectField
func (*ObjectFieldArray) GetLabel ¶
func (m *ObjectFieldArray) GetLabel() string
func (*ObjectFieldArray) GetType ¶
func (m *ObjectFieldArray) GetType() ObjectFieldType
func (*ObjectFieldArray) Marshal ¶
func (m *ObjectFieldArray) Marshal() (dAtA []byte, err error)
func (*ObjectFieldArray) MarshalToSizedBuffer ¶
func (m *ObjectFieldArray) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldArray) ProtoMessage ¶
func (*ObjectFieldArray) ProtoMessage()
func (*ObjectFieldArray) Reset ¶
func (m *ObjectFieldArray) Reset()
func (*ObjectFieldArray) Size ¶
func (m *ObjectFieldArray) Size() (n int)
func (*ObjectFieldArray) String ¶
func (m *ObjectFieldArray) String() string
func (*ObjectFieldArray) Unmarshal ¶
func (m *ObjectFieldArray) Unmarshal(dAtA []byte) error
func (*ObjectFieldArray) XXX_DiscardUnknown ¶
func (m *ObjectFieldArray) XXX_DiscardUnknown()
func (*ObjectFieldArray) XXX_Marshal ¶
func (m *ObjectFieldArray) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldArray) XXX_Merge ¶
func (m *ObjectFieldArray) XXX_Merge(src proto.Message)
func (*ObjectFieldArray) XXX_Size ¶
func (m *ObjectFieldArray) XXX_Size() int
func (*ObjectFieldArray) XXX_Unmarshal ¶
func (m *ObjectFieldArray) XXX_Unmarshal(b []byte) error
type ObjectFieldBlob ¶
type ObjectFieldBlob struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value []byte `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldBlob is a field of an Object for blobs.
func (*ObjectFieldBlob) Descriptor ¶
func (*ObjectFieldBlob) Descriptor() ([]byte, []int)
func (*ObjectFieldBlob) GetDid ¶
func (m *ObjectFieldBlob) GetDid() string
func (*ObjectFieldBlob) GetLabel ¶
func (m *ObjectFieldBlob) GetLabel() string
func (*ObjectFieldBlob) GetMetadata ¶
func (m *ObjectFieldBlob) GetMetadata() map[string]string
func (*ObjectFieldBlob) GetValue ¶
func (m *ObjectFieldBlob) GetValue() []byte
func (*ObjectFieldBlob) Marshal ¶
func (m *ObjectFieldBlob) Marshal() (dAtA []byte, err error)
func (*ObjectFieldBlob) MarshalToSizedBuffer ¶
func (m *ObjectFieldBlob) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldBlob) ProtoMessage ¶
func (*ObjectFieldBlob) ProtoMessage()
func (*ObjectFieldBlob) Reset ¶
func (m *ObjectFieldBlob) Reset()
func (*ObjectFieldBlob) Size ¶
func (m *ObjectFieldBlob) Size() (n int)
func (*ObjectFieldBlob) String ¶
func (m *ObjectFieldBlob) String() string
func (*ObjectFieldBlob) Unmarshal ¶
func (m *ObjectFieldBlob) Unmarshal(dAtA []byte) error
func (*ObjectFieldBlob) XXX_DiscardUnknown ¶
func (m *ObjectFieldBlob) XXX_DiscardUnknown()
func (*ObjectFieldBlob) XXX_Marshal ¶
func (m *ObjectFieldBlob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldBlob) XXX_Merge ¶
func (m *ObjectFieldBlob) XXX_Merge(src proto.Message)
func (*ObjectFieldBlob) XXX_Size ¶
func (m *ObjectFieldBlob) XXX_Size() int
func (*ObjectFieldBlob) XXX_Unmarshal ¶
func (m *ObjectFieldBlob) XXX_Unmarshal(b []byte) error
type ObjectFieldBlockchainAddress ¶
type ObjectFieldBlockchainAddress struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldBlockchainAddress is a field of an Object for blockchain addresses.
func (*ObjectFieldBlockchainAddress) Descriptor ¶
func (*ObjectFieldBlockchainAddress) Descriptor() ([]byte, []int)
func (*ObjectFieldBlockchainAddress) GetDid ¶
func (m *ObjectFieldBlockchainAddress) GetDid() string
func (*ObjectFieldBlockchainAddress) GetLabel ¶
func (m *ObjectFieldBlockchainAddress) GetLabel() string
func (*ObjectFieldBlockchainAddress) GetMetadata ¶
func (m *ObjectFieldBlockchainAddress) GetMetadata() map[string]string
func (*ObjectFieldBlockchainAddress) GetValue ¶
func (m *ObjectFieldBlockchainAddress) GetValue() string
func (*ObjectFieldBlockchainAddress) Marshal ¶
func (m *ObjectFieldBlockchainAddress) Marshal() (dAtA []byte, err error)
func (*ObjectFieldBlockchainAddress) MarshalTo ¶
func (m *ObjectFieldBlockchainAddress) MarshalTo(dAtA []byte) (int, error)
func (*ObjectFieldBlockchainAddress) MarshalToSizedBuffer ¶
func (m *ObjectFieldBlockchainAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldBlockchainAddress) ProtoMessage ¶
func (*ObjectFieldBlockchainAddress) ProtoMessage()
func (*ObjectFieldBlockchainAddress) Reset ¶
func (m *ObjectFieldBlockchainAddress) Reset()
func (*ObjectFieldBlockchainAddress) Size ¶
func (m *ObjectFieldBlockchainAddress) Size() (n int)
func (*ObjectFieldBlockchainAddress) String ¶
func (m *ObjectFieldBlockchainAddress) String() string
func (*ObjectFieldBlockchainAddress) Unmarshal ¶
func (m *ObjectFieldBlockchainAddress) Unmarshal(dAtA []byte) error
func (*ObjectFieldBlockchainAddress) XXX_DiscardUnknown ¶
func (m *ObjectFieldBlockchainAddress) XXX_DiscardUnknown()
func (*ObjectFieldBlockchainAddress) XXX_Marshal ¶
func (m *ObjectFieldBlockchainAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldBlockchainAddress) XXX_Merge ¶
func (m *ObjectFieldBlockchainAddress) XXX_Merge(src proto.Message)
func (*ObjectFieldBlockchainAddress) XXX_Size ¶
func (m *ObjectFieldBlockchainAddress) XXX_Size() int
func (*ObjectFieldBlockchainAddress) XXX_Unmarshal ¶
func (m *ObjectFieldBlockchainAddress) XXX_Unmarshal(b []byte) error
type ObjectFieldBool ¶
type ObjectFieldBool struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value bool `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldBool is a boolean field of an Object.
func (*ObjectFieldBool) Descriptor ¶
func (*ObjectFieldBool) Descriptor() ([]byte, []int)
func (*ObjectFieldBool) GetDid ¶
func (m *ObjectFieldBool) GetDid() string
func (*ObjectFieldBool) GetLabel ¶
func (m *ObjectFieldBool) GetLabel() string
func (*ObjectFieldBool) GetMetadata ¶
func (m *ObjectFieldBool) GetMetadata() map[string]string
func (*ObjectFieldBool) GetValue ¶
func (m *ObjectFieldBool) GetValue() bool
func (*ObjectFieldBool) Marshal ¶
func (m *ObjectFieldBool) Marshal() (dAtA []byte, err error)
func (*ObjectFieldBool) MarshalToSizedBuffer ¶
func (m *ObjectFieldBool) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldBool) ProtoMessage ¶
func (*ObjectFieldBool) ProtoMessage()
func (*ObjectFieldBool) Reset ¶
func (m *ObjectFieldBool) Reset()
func (*ObjectFieldBool) Size ¶
func (m *ObjectFieldBool) Size() (n int)
func (*ObjectFieldBool) String ¶
func (m *ObjectFieldBool) String() string
func (*ObjectFieldBool) Unmarshal ¶
func (m *ObjectFieldBool) Unmarshal(dAtA []byte) error
func (*ObjectFieldBool) XXX_DiscardUnknown ¶
func (m *ObjectFieldBool) XXX_DiscardUnknown()
func (*ObjectFieldBool) XXX_Marshal ¶
func (m *ObjectFieldBool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldBool) XXX_Merge ¶
func (m *ObjectFieldBool) XXX_Merge(src proto.Message)
func (*ObjectFieldBool) XXX_Size ¶
func (m *ObjectFieldBool) XXX_Size() int
func (*ObjectFieldBool) XXX_Unmarshal ¶
func (m *ObjectFieldBool) XXX_Unmarshal(b []byte) error
type ObjectFieldGeopoint ¶
type ObjectFieldGeopoint struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Type is the type of the field Type ObjectFieldType `protobuf:"varint,2,opt,name=type,proto3,enum=sonrio.sonr.object.ObjectFieldType" json:"type,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,3,opt,name=did,proto3" json:"did,omitempty"` // Latitude is the geo-latitude of the point. Latitude float64 `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"` // Longitude is the geo-longitude of the field Longitude float64 `protobuf:"fixed64,5,opt,name=longitude,proto3" json:"longitude,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldGeopoint is a field of an Object for geopoints.
func (*ObjectFieldGeopoint) Descriptor ¶
func (*ObjectFieldGeopoint) Descriptor() ([]byte, []int)
func (*ObjectFieldGeopoint) GetDid ¶
func (m *ObjectFieldGeopoint) GetDid() string
func (*ObjectFieldGeopoint) GetLabel ¶
func (m *ObjectFieldGeopoint) GetLabel() string
func (*ObjectFieldGeopoint) GetLatitude ¶
func (m *ObjectFieldGeopoint) GetLatitude() float64
func (*ObjectFieldGeopoint) GetLongitude ¶
func (m *ObjectFieldGeopoint) GetLongitude() float64
func (*ObjectFieldGeopoint) GetMetadata ¶
func (m *ObjectFieldGeopoint) GetMetadata() map[string]string
func (*ObjectFieldGeopoint) GetType ¶
func (m *ObjectFieldGeopoint) GetType() ObjectFieldType
func (*ObjectFieldGeopoint) Marshal ¶
func (m *ObjectFieldGeopoint) Marshal() (dAtA []byte, err error)
func (*ObjectFieldGeopoint) MarshalTo ¶
func (m *ObjectFieldGeopoint) MarshalTo(dAtA []byte) (int, error)
func (*ObjectFieldGeopoint) MarshalToSizedBuffer ¶
func (m *ObjectFieldGeopoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldGeopoint) ProtoMessage ¶
func (*ObjectFieldGeopoint) ProtoMessage()
func (*ObjectFieldGeopoint) Reset ¶
func (m *ObjectFieldGeopoint) Reset()
func (*ObjectFieldGeopoint) Size ¶
func (m *ObjectFieldGeopoint) Size() (n int)
func (*ObjectFieldGeopoint) String ¶
func (m *ObjectFieldGeopoint) String() string
func (*ObjectFieldGeopoint) Unmarshal ¶
func (m *ObjectFieldGeopoint) Unmarshal(dAtA []byte) error
func (*ObjectFieldGeopoint) XXX_DiscardUnknown ¶
func (m *ObjectFieldGeopoint) XXX_DiscardUnknown()
func (*ObjectFieldGeopoint) XXX_Marshal ¶
func (m *ObjectFieldGeopoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldGeopoint) XXX_Merge ¶
func (m *ObjectFieldGeopoint) XXX_Merge(src proto.Message)
func (*ObjectFieldGeopoint) XXX_Size ¶
func (m *ObjectFieldGeopoint) XXX_Size() int
func (*ObjectFieldGeopoint) XXX_Unmarshal ¶
func (m *ObjectFieldGeopoint) XXX_Unmarshal(b []byte) error
type ObjectFieldNumber ¶
type ObjectFieldNumber struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value float64 `protobuf:"fixed64,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldNumber is a number field of an Object.
func (*ObjectFieldNumber) Descriptor ¶
func (*ObjectFieldNumber) Descriptor() ([]byte, []int)
func (*ObjectFieldNumber) GetDid ¶
func (m *ObjectFieldNumber) GetDid() string
func (*ObjectFieldNumber) GetLabel ¶
func (m *ObjectFieldNumber) GetLabel() string
func (*ObjectFieldNumber) GetMetadata ¶
func (m *ObjectFieldNumber) GetMetadata() map[string]string
func (*ObjectFieldNumber) GetValue ¶
func (m *ObjectFieldNumber) GetValue() float64
func (*ObjectFieldNumber) Marshal ¶
func (m *ObjectFieldNumber) Marshal() (dAtA []byte, err error)
func (*ObjectFieldNumber) MarshalTo ¶
func (m *ObjectFieldNumber) MarshalTo(dAtA []byte) (int, error)
func (*ObjectFieldNumber) MarshalToSizedBuffer ¶
func (m *ObjectFieldNumber) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldNumber) ProtoMessage ¶
func (*ObjectFieldNumber) ProtoMessage()
func (*ObjectFieldNumber) Reset ¶
func (m *ObjectFieldNumber) Reset()
func (*ObjectFieldNumber) Size ¶
func (m *ObjectFieldNumber) Size() (n int)
func (*ObjectFieldNumber) String ¶
func (m *ObjectFieldNumber) String() string
func (*ObjectFieldNumber) Unmarshal ¶
func (m *ObjectFieldNumber) Unmarshal(dAtA []byte) error
func (*ObjectFieldNumber) XXX_DiscardUnknown ¶
func (m *ObjectFieldNumber) XXX_DiscardUnknown()
func (*ObjectFieldNumber) XXX_Marshal ¶
func (m *ObjectFieldNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldNumber) XXX_Merge ¶
func (m *ObjectFieldNumber) XXX_Merge(src proto.Message)
func (*ObjectFieldNumber) XXX_Size ¶
func (m *ObjectFieldNumber) XXX_Size() int
func (*ObjectFieldNumber) XXX_Unmarshal ¶
func (m *ObjectFieldNumber) XXX_Unmarshal(b []byte) error
type ObjectFieldText ¶
type ObjectFieldText struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldText is a text field of an Object.
func (*ObjectFieldText) Descriptor ¶
func (*ObjectFieldText) Descriptor() ([]byte, []int)
func (*ObjectFieldText) GetDid ¶
func (m *ObjectFieldText) GetDid() string
func (*ObjectFieldText) GetLabel ¶
func (m *ObjectFieldText) GetLabel() string
func (*ObjectFieldText) GetMetadata ¶
func (m *ObjectFieldText) GetMetadata() map[string]string
func (*ObjectFieldText) GetValue ¶
func (m *ObjectFieldText) GetValue() string
func (*ObjectFieldText) Marshal ¶
func (m *ObjectFieldText) Marshal() (dAtA []byte, err error)
func (*ObjectFieldText) MarshalToSizedBuffer ¶
func (m *ObjectFieldText) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldText) ProtoMessage ¶
func (*ObjectFieldText) ProtoMessage()
func (*ObjectFieldText) Reset ¶
func (m *ObjectFieldText) Reset()
func (*ObjectFieldText) Size ¶
func (m *ObjectFieldText) Size() (n int)
func (*ObjectFieldText) String ¶
func (m *ObjectFieldText) String() string
func (*ObjectFieldText) Unmarshal ¶
func (m *ObjectFieldText) Unmarshal(dAtA []byte) error
func (*ObjectFieldText) XXX_DiscardUnknown ¶
func (m *ObjectFieldText) XXX_DiscardUnknown()
func (*ObjectFieldText) XXX_Marshal ¶
func (m *ObjectFieldText) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldText) XXX_Merge ¶
func (m *ObjectFieldText) XXX_Merge(src proto.Message)
func (*ObjectFieldText) XXX_Size ¶
func (m *ObjectFieldText) XXX_Size() int
func (*ObjectFieldText) XXX_Unmarshal ¶
func (m *ObjectFieldText) XXX_Unmarshal(b []byte) error
type ObjectFieldTime ¶
type ObjectFieldTime struct { // Label is the name of the field Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` // Did is the identifier of the field. Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` // Value is the value of the field Value int64 `protobuf:"varint,3,opt,name=value,proto3" json:"value,omitempty"` // Metadata is additional info about the field Metadata map[string]string `` /* 157-byte string literal not displayed */ }
ObjectFieldTime is a time field of an Object.
func (*ObjectFieldTime) Descriptor ¶
func (*ObjectFieldTime) Descriptor() ([]byte, []int)
func (*ObjectFieldTime) GetDid ¶
func (m *ObjectFieldTime) GetDid() string
func (*ObjectFieldTime) GetLabel ¶
func (m *ObjectFieldTime) GetLabel() string
func (*ObjectFieldTime) GetMetadata ¶
func (m *ObjectFieldTime) GetMetadata() map[string]string
func (*ObjectFieldTime) GetValue ¶
func (m *ObjectFieldTime) GetValue() int64
func (*ObjectFieldTime) Marshal ¶
func (m *ObjectFieldTime) Marshal() (dAtA []byte, err error)
func (*ObjectFieldTime) MarshalToSizedBuffer ¶
func (m *ObjectFieldTime) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectFieldTime) ProtoMessage ¶
func (*ObjectFieldTime) ProtoMessage()
func (*ObjectFieldTime) Reset ¶
func (m *ObjectFieldTime) Reset()
func (*ObjectFieldTime) Size ¶
func (m *ObjectFieldTime) Size() (n int)
func (*ObjectFieldTime) String ¶
func (m *ObjectFieldTime) String() string
func (*ObjectFieldTime) Unmarshal ¶
func (m *ObjectFieldTime) Unmarshal(dAtA []byte) error
func (*ObjectFieldTime) XXX_DiscardUnknown ¶
func (m *ObjectFieldTime) XXX_DiscardUnknown()
func (*ObjectFieldTime) XXX_Marshal ¶
func (m *ObjectFieldTime) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectFieldTime) XXX_Merge ¶
func (m *ObjectFieldTime) XXX_Merge(src proto.Message)
func (*ObjectFieldTime) XXX_Size ¶
func (m *ObjectFieldTime) XXX_Size() int
func (*ObjectFieldTime) XXX_Unmarshal ¶
func (m *ObjectFieldTime) XXX_Unmarshal(b []byte) error
type ObjectFieldType ¶
type ObjectFieldType int32
ObjectFieldType is the type of the field
const ( // ObjectFieldTypeUnspecified is the default value ObjectFieldType_OBJECT_FIELD_TYPE_UNSPECIFIED ObjectFieldType = 0 // ObjectFieldTypeString is a string or text field ObjectFieldType_OBJECT_FIELD_TYPE_STRING ObjectFieldType = 1 // ObjectFieldTypeInt is an integer ObjectFieldType_OBJECT_FIELD_TYPE_NUMBER ObjectFieldType = 2 // ObjectFieldTypeBool is a boolean ObjectFieldType_OBJECT_FIELD_TYPE_BOOL ObjectFieldType = 3 // ObjectFieldTypeArray is a list of values ObjectFieldType_OBJECT_FIELD_TYPE_ARRAY ObjectFieldType = 4 // ObjectFieldTypeDateTime is a datetime ObjectFieldType_OBJECT_FIELD_TYPE_TIMESTAMP ObjectFieldType = 5 // ObjectFieldTypeGeopoint is a geopoint ObjectFieldType_OBJECT_FIELD_TYPE_GEOPOINT ObjectFieldType = 6 // ObjectFieldTypeBlob is a blob of data ObjectFieldType_OBJECT_FIELD_TYPE_BLOB ObjectFieldType = 7 // ObjectFieldTypeETU is a pointer to an Ethereum account address. ObjectFieldType_OBJECT_FIELD_TYPE_BLOCKCHAIN_ADDRESS ObjectFieldType = 8 )
func (ObjectFieldType) EnumDescriptor ¶
func (ObjectFieldType) EnumDescriptor() ([]byte, []int)
func (ObjectFieldType) String ¶
func (x ObjectFieldType) String() string
type ObjectField_ArrayValue ¶
type ObjectField_ArrayValue struct {
ArrayValue *ObjectFieldArray `protobuf:"bytes,7,opt,name=array_value,json=arrayValue,proto3,oneof" json:"array_value,omitempty"`
}
func (*ObjectField_ArrayValue) MarshalTo ¶
func (m *ObjectField_ArrayValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_ArrayValue) MarshalToSizedBuffer ¶
func (m *ObjectField_ArrayValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_ArrayValue) Size ¶
func (m *ObjectField_ArrayValue) Size() (n int)
type ObjectField_BlobValue ¶
type ObjectField_BlobValue struct {
BlobValue *ObjectFieldBlob `protobuf:"bytes,10,opt,name=blob_value,json=blobValue,proto3,oneof" json:"blob_value,omitempty"`
}
func (*ObjectField_BlobValue) MarshalTo ¶
func (m *ObjectField_BlobValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_BlobValue) MarshalToSizedBuffer ¶
func (m *ObjectField_BlobValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_BlobValue) Size ¶
func (m *ObjectField_BlobValue) Size() (n int)
type ObjectField_BlockchainAddrValue ¶
type ObjectField_BlockchainAddrValue struct {
BlockchainAddrValue *ObjectFieldBlockchainAddress `` /* 127-byte string literal not displayed */
}
func (*ObjectField_BlockchainAddrValue) MarshalTo ¶
func (m *ObjectField_BlockchainAddrValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_BlockchainAddrValue) MarshalToSizedBuffer ¶
func (m *ObjectField_BlockchainAddrValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_BlockchainAddrValue) Size ¶
func (m *ObjectField_BlockchainAddrValue) Size() (n int)
type ObjectField_BoolValue ¶
type ObjectField_BoolValue struct {
BoolValue *ObjectFieldBool `protobuf:"bytes,6,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func (*ObjectField_BoolValue) MarshalTo ¶
func (m *ObjectField_BoolValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_BoolValue) MarshalToSizedBuffer ¶
func (m *ObjectField_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_BoolValue) Size ¶
func (m *ObjectField_BoolValue) Size() (n int)
type ObjectField_GeopointValue ¶
type ObjectField_GeopointValue struct {
GeopointValue *ObjectFieldGeopoint `protobuf:"bytes,9,opt,name=geopoint_value,json=geopointValue,proto3,oneof" json:"geopoint_value,omitempty"`
}
func (*ObjectField_GeopointValue) MarshalTo ¶
func (m *ObjectField_GeopointValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_GeopointValue) MarshalToSizedBuffer ¶
func (m *ObjectField_GeopointValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_GeopointValue) Size ¶
func (m *ObjectField_GeopointValue) Size() (n int)
type ObjectField_NumberValue ¶
type ObjectField_NumberValue struct {
NumberValue *ObjectFieldNumber `protobuf:"bytes,5,opt,name=number_value,json=numberValue,proto3,oneof" json:"number_value,omitempty"`
}
func (*ObjectField_NumberValue) MarshalTo ¶
func (m *ObjectField_NumberValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_NumberValue) MarshalToSizedBuffer ¶
func (m *ObjectField_NumberValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_NumberValue) Size ¶
func (m *ObjectField_NumberValue) Size() (n int)
type ObjectField_StringValue ¶
type ObjectField_StringValue struct {
StringValue *ObjectFieldText `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func (*ObjectField_StringValue) MarshalTo ¶
func (m *ObjectField_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_StringValue) MarshalToSizedBuffer ¶
func (m *ObjectField_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_StringValue) Size ¶
func (m *ObjectField_StringValue) Size() (n int)
type ObjectField_TimeStampValue ¶
type ObjectField_TimeStampValue struct {
TimeStampValue *ObjectFieldTime `protobuf:"bytes,8,opt,name=time_stamp_value,json=timeStampValue,proto3,oneof" json:"time_stamp_value,omitempty"`
}
func (*ObjectField_TimeStampValue) MarshalTo ¶
func (m *ObjectField_TimeStampValue) MarshalTo(dAtA []byte) (int, error)
func (*ObjectField_TimeStampValue) MarshalToSizedBuffer ¶
func (m *ObjectField_TimeStampValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ObjectField_TimeStampValue) Size ¶
func (m *ObjectField_TimeStampValue) Size() (n int)
type Params ¶
type Params struct { }
Params defines the parameters for the module.
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type QueryAllWhatIsRequest ¶
type QueryAllWhatIsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllWhatIsRequest) Descriptor ¶
func (*QueryAllWhatIsRequest) Descriptor() ([]byte, []int)
func (*QueryAllWhatIsRequest) GetPagination ¶
func (m *QueryAllWhatIsRequest) GetPagination() *query.PageRequest
func (*QueryAllWhatIsRequest) Marshal ¶
func (m *QueryAllWhatIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllWhatIsRequest) MarshalTo ¶
func (m *QueryAllWhatIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllWhatIsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllWhatIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllWhatIsRequest) ProtoMessage ¶
func (*QueryAllWhatIsRequest) ProtoMessage()
func (*QueryAllWhatIsRequest) Reset ¶
func (m *QueryAllWhatIsRequest) Reset()
func (*QueryAllWhatIsRequest) Size ¶
func (m *QueryAllWhatIsRequest) Size() (n int)
func (*QueryAllWhatIsRequest) String ¶
func (m *QueryAllWhatIsRequest) String() string
func (*QueryAllWhatIsRequest) Unmarshal ¶
func (m *QueryAllWhatIsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllWhatIsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllWhatIsRequest) XXX_DiscardUnknown()
func (*QueryAllWhatIsRequest) XXX_Marshal ¶
func (m *QueryAllWhatIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllWhatIsRequest) XXX_Merge ¶
func (m *QueryAllWhatIsRequest) XXX_Merge(src proto.Message)
func (*QueryAllWhatIsRequest) XXX_Size ¶
func (m *QueryAllWhatIsRequest) XXX_Size() int
func (*QueryAllWhatIsRequest) XXX_Unmarshal ¶
func (m *QueryAllWhatIsRequest) XXX_Unmarshal(b []byte) error
type QueryAllWhatIsResponse ¶
type QueryAllWhatIsResponse struct { WhatIs []WhatIs `protobuf:"bytes,1,rep,name=whatIs,proto3" json:"whatIs"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllWhatIsResponse) Descriptor ¶
func (*QueryAllWhatIsResponse) Descriptor() ([]byte, []int)
func (*QueryAllWhatIsResponse) GetPagination ¶
func (m *QueryAllWhatIsResponse) GetPagination() *query.PageResponse
func (*QueryAllWhatIsResponse) GetWhatIs ¶
func (m *QueryAllWhatIsResponse) GetWhatIs() []WhatIs
func (*QueryAllWhatIsResponse) Marshal ¶
func (m *QueryAllWhatIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllWhatIsResponse) MarshalTo ¶
func (m *QueryAllWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllWhatIsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllWhatIsResponse) ProtoMessage ¶
func (*QueryAllWhatIsResponse) ProtoMessage()
func (*QueryAllWhatIsResponse) Reset ¶
func (m *QueryAllWhatIsResponse) Reset()
func (*QueryAllWhatIsResponse) Size ¶
func (m *QueryAllWhatIsResponse) Size() (n int)
func (*QueryAllWhatIsResponse) String ¶
func (m *QueryAllWhatIsResponse) String() string
func (*QueryAllWhatIsResponse) Unmarshal ¶
func (m *QueryAllWhatIsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllWhatIsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllWhatIsResponse) XXX_DiscardUnknown()
func (*QueryAllWhatIsResponse) XXX_Marshal ¶
func (m *QueryAllWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllWhatIsResponse) XXX_Merge ¶
func (m *QueryAllWhatIsResponse) XXX_Merge(src proto.Message)
func (*QueryAllWhatIsResponse) XXX_Size ¶
func (m *QueryAllWhatIsResponse) XXX_Size() int
func (*QueryAllWhatIsResponse) XXX_Unmarshal ¶
func (m *QueryAllWhatIsResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a WhatIs by index. WhatIs(ctx context.Context, in *QueryGetWhatIsRequest, opts ...grpc.CallOption) (*QueryGetWhatIsResponse, error) // Queries a list of WhatIs items. WhatIsAll(ctx context.Context, in *QueryAllWhatIsRequest, opts ...grpc.CallOption) (*QueryAllWhatIsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGetWhatIsRequest ¶
type QueryGetWhatIsRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetWhatIsRequest) Descriptor ¶
func (*QueryGetWhatIsRequest) Descriptor() ([]byte, []int)
func (*QueryGetWhatIsRequest) GetIndex ¶
func (m *QueryGetWhatIsRequest) GetIndex() string
func (*QueryGetWhatIsRequest) Marshal ¶
func (m *QueryGetWhatIsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetWhatIsRequest) MarshalTo ¶
func (m *QueryGetWhatIsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetWhatIsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetWhatIsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetWhatIsRequest) ProtoMessage ¶
func (*QueryGetWhatIsRequest) ProtoMessage()
func (*QueryGetWhatIsRequest) Reset ¶
func (m *QueryGetWhatIsRequest) Reset()
func (*QueryGetWhatIsRequest) Size ¶
func (m *QueryGetWhatIsRequest) Size() (n int)
func (*QueryGetWhatIsRequest) String ¶
func (m *QueryGetWhatIsRequest) String() string
func (*QueryGetWhatIsRequest) Unmarshal ¶
func (m *QueryGetWhatIsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetWhatIsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetWhatIsRequest) XXX_DiscardUnknown()
func (*QueryGetWhatIsRequest) XXX_Marshal ¶
func (m *QueryGetWhatIsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetWhatIsRequest) XXX_Merge ¶
func (m *QueryGetWhatIsRequest) XXX_Merge(src proto.Message)
func (*QueryGetWhatIsRequest) XXX_Size ¶
func (m *QueryGetWhatIsRequest) XXX_Size() int
func (*QueryGetWhatIsRequest) XXX_Unmarshal ¶
func (m *QueryGetWhatIsRequest) XXX_Unmarshal(b []byte) error
type QueryGetWhatIsResponse ¶
type QueryGetWhatIsResponse struct {
WhatIs WhatIs `protobuf:"bytes,1,opt,name=whatIs,proto3" json:"whatIs"`
}
func (*QueryGetWhatIsResponse) Descriptor ¶
func (*QueryGetWhatIsResponse) Descriptor() ([]byte, []int)
func (*QueryGetWhatIsResponse) GetWhatIs ¶
func (m *QueryGetWhatIsResponse) GetWhatIs() WhatIs
func (*QueryGetWhatIsResponse) Marshal ¶
func (m *QueryGetWhatIsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetWhatIsResponse) MarshalTo ¶
func (m *QueryGetWhatIsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetWhatIsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetWhatIsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetWhatIsResponse) ProtoMessage ¶
func (*QueryGetWhatIsResponse) ProtoMessage()
func (*QueryGetWhatIsResponse) Reset ¶
func (m *QueryGetWhatIsResponse) Reset()
func (*QueryGetWhatIsResponse) Size ¶
func (m *QueryGetWhatIsResponse) Size() (n int)
func (*QueryGetWhatIsResponse) String ¶
func (m *QueryGetWhatIsResponse) String() string
func (*QueryGetWhatIsResponse) Unmarshal ¶
func (m *QueryGetWhatIsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetWhatIsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetWhatIsResponse) XXX_DiscardUnknown()
func (*QueryGetWhatIsResponse) XXX_Marshal ¶
func (m *QueryGetWhatIsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetWhatIsResponse) XXX_Merge ¶
func (m *QueryGetWhatIsResponse) XXX_Merge(src proto.Message)
func (*QueryGetWhatIsResponse) XXX_Size ¶
func (m *QueryGetWhatIsResponse) XXX_Size() int
func (*QueryGetWhatIsResponse) XXX_Unmarshal ¶
func (m *QueryGetWhatIsResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a WhatIs by index. WhatIs(context.Context, *QueryGetWhatIsRequest) (*QueryGetWhatIsResponse, error) // Queries a list of WhatIs items. WhatIsAll(context.Context, *QueryAllWhatIsRequest) (*QueryAllWhatIsResponse, error) }
QueryServer is the server API for Query service.
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateObject ¶
func (*UnimplementedMsgServer) CreateObject(ctx context.Context, req *MsgCreateObject) (*MsgCreateObjectResponse, error)
func (*UnimplementedMsgServer) CreateWhatIs ¶
func (*UnimplementedMsgServer) CreateWhatIs(ctx context.Context, req *MsgCreateWhatIs) (*MsgCreateWhatIsResponse, error)
func (*UnimplementedMsgServer) DeleteObject ¶
func (*UnimplementedMsgServer) DeleteObject(ctx context.Context, req *MsgDeleteObject) (*MsgDeleteObjectResponse, error)
func (*UnimplementedMsgServer) DeleteWhatIs ¶
func (*UnimplementedMsgServer) DeleteWhatIs(ctx context.Context, req *MsgDeleteWhatIs) (*MsgDeleteWhatIsResponse, error)
func (*UnimplementedMsgServer) ReadObject ¶
func (*UnimplementedMsgServer) ReadObject(ctx context.Context, req *MsgReadObject) (*MsgReadObjectResponse, error)
func (*UnimplementedMsgServer) UpdateObject ¶
func (*UnimplementedMsgServer) UpdateObject(ctx context.Context, req *MsgUpdateObject) (*MsgUpdateObjectResponse, error)
func (*UnimplementedMsgServer) UpdateWhatIs ¶
func (*UnimplementedMsgServer) UpdateWhatIs(ctx context.Context, req *MsgUpdateWhatIs) (*MsgUpdateWhatIsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) WhatIs ¶
func (*UnimplementedQueryServer) WhatIs(ctx context.Context, req *QueryGetWhatIsRequest) (*QueryGetWhatIsResponse, error)
func (*UnimplementedQueryServer) WhatIsAll ¶
func (*UnimplementedQueryServer) WhatIsAll(ctx context.Context, req *QueryAllWhatIsRequest) (*QueryAllWhatIsResponse, error)
type WhatIs ¶
type WhatIs struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` Document []byte `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*WhatIs) Descriptor ¶
func (*WhatIs) GetCreator ¶
func (*WhatIs) GetDocument ¶
func (*WhatIs) MarshalToSizedBuffer ¶
func (*WhatIs) ProtoMessage ¶
func (*WhatIs) ProtoMessage()
func (*WhatIs) XXX_DiscardUnknown ¶
func (m *WhatIs) XXX_DiscardUnknown()
func (*WhatIs) XXX_Marshal ¶
func (*WhatIs) XXX_Unmarshal ¶
type Whatis ¶
type Whatis struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Did string `protobuf:"bytes,2,opt,name=did,proto3" json:"did,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"` }
func (*Whatis) Descriptor ¶
func (*Whatis) GetCreator ¶
func (*Whatis) MarshalToSizedBuffer ¶
func (*Whatis) ProtoMessage ¶
func (*Whatis) ProtoMessage()
func (*Whatis) XXX_DiscardUnknown ¶
func (m *Whatis) XXX_DiscardUnknown()
func (*Whatis) XXX_Marshal ¶
func (*Whatis) XXX_Unmarshal ¶
Source Files ¶
- codec.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_what_is.go
- keys.go
- message_create_object.go
- message_delete_object.go
- message_read_object.go
- message_update_object.go
- messages_what_is.go
- object.go
- object.pb.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- tx.pb.go
- types.go
- what_is.pb.go
- whatis.pb.go