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)
- type AccountKeeper
- type BankKeeper
- type Did
- func (*Did) Descriptor() ([]byte, []int)
- func (m *Did) GetAlsoKnownAs() []string
- func (m *Did) GetAssertionMethod() []string
- func (m *Did) GetAuthentication() []string
- func (m *Did) GetCapabilityDelegation() []string
- func (m *Did) GetCapabilityInvocation() []string
- func (m *Did) GetContext() []string
- func (m *Did) GetController() []string
- func (m *Did) GetCreated() string
- func (m *Did) GetId() string
- func (m *Did) GetKeyAgreement() []string
- func (m *Did) GetService() []*Service
- func (msg *Did) GetSignBytes() []byte
- func (msg *Did) GetSigners() []Signer
- func (m *Did) GetUpdated() string
- func (m *Did) GetVerificationMethod() []*VerificationMethod
- func (m *Did) Marshal() (dAtA []byte, err error)
- func (m *Did) MarshalTo(dAtA []byte) (int, error)
- func (m *Did) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Did) ProtoMessage()
- func (m *Did) Reset()
- func (m *Did) Size() (n int)
- func (m *Did) String() string
- func (m *Did) Unmarshal(dAtA []byte) error
- func (m *Did) XXX_DiscardUnknown()
- func (m *Did) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Did) XXX_Merge(src proto.Message)
- func (m *Did) XXX_Size() int
- func (m *Did) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- 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 IdentityMsg
- type MsgClient
- type MsgCreateDID
- func (*MsgCreateDID) Descriptor() ([]byte, []int)
- func (m *MsgCreateDID) GetCreator() string
- func (m *MsgCreateDID) GetDidDocString() *Did
- func (msg *MsgCreateDID) GetSignBytes() []byte
- func (m *MsgCreateDID) GetSignatures() []*SignInfo
- func (msg *MsgCreateDID) GetSigners() []sdk.AccAddress
- func (m *MsgCreateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDID) ProtoMessage()
- func (m *MsgCreateDID) Reset()
- func (msg *MsgCreateDID) Route() string
- func (m *MsgCreateDID) Size() (n int)
- func (m *MsgCreateDID) String() string
- func (msg *MsgCreateDID) Type() string
- func (m *MsgCreateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateDID) ValidateBasic() error
- func (m *MsgCreateDID) XXX_DiscardUnknown()
- func (m *MsgCreateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDID) XXX_Merge(src proto.Message)
- func (m *MsgCreateDID) XXX_Size() int
- func (m *MsgCreateDID) XXX_Unmarshal(b []byte) error
- type MsgCreateDIDResponse
- func (*MsgCreateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateDIDResponse) GetId() uint64
- func (m *MsgCreateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateDIDResponse) ProtoMessage()
- func (m *MsgCreateDIDResponse) Reset()
- func (m *MsgCreateDIDResponse) Size() (n int)
- func (m *MsgCreateDIDResponse) String() string
- func (m *MsgCreateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgCreateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateDIDResponse) XXX_Size() int
- func (m *MsgCreateDIDResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateSchema
- func (*MsgCreateSchema) Descriptor() ([]byte, []int)
- func (m *MsgCreateSchema) GetCreator() string
- func (m *MsgCreateSchema) GetSchema() *Schema
- func (msg *MsgCreateSchema) GetSignBytes() []byte
- func (m *MsgCreateSchema) GetSignatures() []*SignInfo
- func (msg *MsgCreateSchema) GetSigners() []sdk.AccAddress
- func (m *MsgCreateSchema) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSchema) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSchema) ProtoMessage()
- func (m *MsgCreateSchema) Reset()
- func (msg *MsgCreateSchema) Route() string
- func (m *MsgCreateSchema) Size() (n int)
- func (m *MsgCreateSchema) String() string
- func (msg *MsgCreateSchema) Type() string
- func (m *MsgCreateSchema) Unmarshal(dAtA []byte) error
- func (msg *MsgCreateSchema) ValidateBasic() error
- func (m *MsgCreateSchema) XXX_DiscardUnknown()
- func (m *MsgCreateSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSchema) XXX_Merge(src proto.Message)
- func (m *MsgCreateSchema) XXX_Size() int
- func (m *MsgCreateSchema) XXX_Unmarshal(b []byte) error
- type MsgCreateSchemaResponse
- func (*MsgCreateSchemaResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateSchemaResponse) GetId() uint64
- func (m *MsgCreateSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateSchemaResponse) ProtoMessage()
- func (m *MsgCreateSchemaResponse) Reset()
- func (m *MsgCreateSchemaResponse) Size() (n int)
- func (m *MsgCreateSchemaResponse) String() string
- func (m *MsgCreateSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateSchemaResponse) XXX_DiscardUnknown()
- func (m *MsgCreateSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateSchemaResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateSchemaResponse) XXX_Size() int
- func (m *MsgCreateSchemaResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateDID
- func (*MsgUpdateDID) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDID) GetCreator() string
- func (m *MsgUpdateDID) GetDidDocString() *Did
- func (msg *MsgUpdateDID) GetSignBytes() []byte
- func (m *MsgUpdateDID) GetSignatures() []*SignInfo
- func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDID) ProtoMessage()
- func (m *MsgUpdateDID) Reset()
- func (msg *MsgUpdateDID) Route() string
- func (m *MsgUpdateDID) Size() (n int)
- func (m *MsgUpdateDID) String() string
- func (msg *MsgUpdateDID) Type() string
- func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgUpdateDID) ValidateBasic() error
- func (m *MsgUpdateDID) XXX_DiscardUnknown()
- func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDID) XXX_Size() int
- func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
- type MsgUpdateDIDResponse
- func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateDIDResponse) GetUpdateId() string
- func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateDIDResponse) ProtoMessage()
- func (m *MsgUpdateDIDResponse) Reset()
- func (m *MsgUpdateDIDResponse) Size() (n int)
- func (m *MsgUpdateDIDResponse) String() string
- func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateDIDResponse) XXX_Size() int
- func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
- 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 QueryClient
- type QueryDidDocCountRequest
- func (*QueryDidDocCountRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidDocCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocCountRequest) ProtoMessage()
- func (m *QueryDidDocCountRequest) Reset()
- func (m *QueryDidDocCountRequest) Size() (n int)
- func (m *QueryDidDocCountRequest) String() string
- func (m *QueryDidDocCountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocCountRequest) XXX_DiscardUnknown()
- func (m *QueryDidDocCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocCountRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidDocCountRequest) XXX_Size() int
- func (m *QueryDidDocCountRequest) XXX_Unmarshal(b []byte) error
- type QueryDidDocCountResponse
- func (*QueryDidDocCountResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidDocCountResponse) GetCount() uint64
- func (m *QueryDidDocCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidDocCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidDocCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidDocCountResponse) ProtoMessage()
- func (m *QueryDidDocCountResponse) Reset()
- func (m *QueryDidDocCountResponse) Size() (n int)
- func (m *QueryDidDocCountResponse) String() string
- func (m *QueryDidDocCountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidDocCountResponse) XXX_DiscardUnknown()
- func (m *QueryDidDocCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidDocCountResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidDocCountResponse) XXX_Size() int
- func (m *QueryDidDocCountResponse) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocByIdRequest
- func (*QueryGetDidDocByIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocByIdRequest) GetDidDocId() string
- func (m *QueryGetDidDocByIdRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocByIdRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDidDocByIdRequest) ProtoMessage()
- func (m *QueryGetDidDocByIdRequest) Reset()
- func (m *QueryGetDidDocByIdRequest) Size() (n int)
- func (m *QueryGetDidDocByIdRequest) String() string
- func (m *QueryGetDidDocByIdRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocByIdRequest) XXX_DiscardUnknown()
- func (m *QueryGetDidDocByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocByIdRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocByIdRequest) XXX_Size() int
- func (m *QueryGetDidDocByIdRequest) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocByIdResponse
- func (*QueryGetDidDocByIdResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocByIdResponse) GetDidDoc() *Did
- func (m *QueryGetDidDocByIdResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetDidDocByIdResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetDidDocByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetDidDocByIdResponse) ProtoMessage()
- func (m *QueryGetDidDocByIdResponse) Reset()
- func (m *QueryGetDidDocByIdResponse) Size() (n int)
- func (m *QueryGetDidDocByIdResponse) String() string
- func (m *QueryGetDidDocByIdResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetDidDocByIdResponse) XXX_DiscardUnknown()
- func (m *QueryGetDidDocByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetDidDocByIdResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetDidDocByIdResponse) XXX_Size() int
- func (m *QueryGetDidDocByIdResponse) XXX_Unmarshal(b []byte) error
- type QueryGetSchemaRequest
- func (*QueryGetSchemaRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetSchemaRequest) GetSchemaId() string
- func (m *QueryGetSchemaRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSchemaRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSchemaRequest) ProtoMessage()
- func (m *QueryGetSchemaRequest) Reset()
- func (m *QueryGetSchemaRequest) Size() (n int)
- func (m *QueryGetSchemaRequest) String() string
- func (m *QueryGetSchemaRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetSchemaRequest) XXX_DiscardUnknown()
- func (m *QueryGetSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSchemaRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetSchemaRequest) XXX_Size() int
- func (m *QueryGetSchemaRequest) XXX_Unmarshal(b []byte) error
- type QueryGetSchemaResponse
- func (*QueryGetSchemaResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetSchemaResponse) GetSchema() *Schema
- func (m *QueryGetSchemaResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetSchemaResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetSchemaResponse) ProtoMessage()
- func (m *QueryGetSchemaResponse) Reset()
- func (m *QueryGetSchemaResponse) Size() (n int)
- func (m *QueryGetSchemaResponse) String() string
- func (m *QueryGetSchemaResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetSchemaResponse) XXX_DiscardUnknown()
- func (m *QueryGetSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetSchemaResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetSchemaResponse) XXX_Size() int
- func (m *QueryGetSchemaResponse) 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 QuerySchemaCountRequest
- func (*QuerySchemaCountRequest) Descriptor() ([]byte, []int)
- func (m *QuerySchemaCountRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaCountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaCountRequest) ProtoMessage()
- func (m *QuerySchemaCountRequest) Reset()
- func (m *QuerySchemaCountRequest) Size() (n int)
- func (m *QuerySchemaCountRequest) String() string
- func (m *QuerySchemaCountRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaCountRequest) XXX_DiscardUnknown()
- func (m *QuerySchemaCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaCountRequest) XXX_Merge(src proto.Message)
- func (m *QuerySchemaCountRequest) XXX_Size() int
- func (m *QuerySchemaCountRequest) XXX_Unmarshal(b []byte) error
- type QuerySchemaCountResponse
- func (*QuerySchemaCountResponse) Descriptor() ([]byte, []int)
- func (m *QuerySchemaCountResponse) GetCount() uint64
- func (m *QuerySchemaCountResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaCountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaCountResponse) ProtoMessage()
- func (m *QuerySchemaCountResponse) Reset()
- func (m *QuerySchemaCountResponse) Size() (n int)
- func (m *QuerySchemaCountResponse) String() string
- func (m *QuerySchemaCountResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaCountResponse) XXX_DiscardUnknown()
- func (m *QuerySchemaCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaCountResponse) XXX_Merge(src proto.Message)
- func (m *QuerySchemaCountResponse) XXX_Size() int
- func (m *QuerySchemaCountResponse) XXX_Unmarshal(b []byte) error
- type QuerySchemasRequest
- func (*QuerySchemasRequest) Descriptor() ([]byte, []int)
- func (m *QuerySchemasRequest) GetPagination() *query.PageRequest
- func (m *QuerySchemasRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemasRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemasRequest) ProtoMessage()
- func (m *QuerySchemasRequest) Reset()
- func (m *QuerySchemasRequest) Size() (n int)
- func (m *QuerySchemasRequest) String() string
- func (m *QuerySchemasRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySchemasRequest) XXX_DiscardUnknown()
- func (m *QuerySchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemasRequest) XXX_Merge(src proto.Message)
- func (m *QuerySchemasRequest) XXX_Size() int
- func (m *QuerySchemasRequest) XXX_Unmarshal(b []byte) error
- type QuerySchemasResponse
- func (*QuerySchemasResponse) Descriptor() ([]byte, []int)
- func (m *QuerySchemasResponse) GetPagination() *query.PageResponse
- func (m *QuerySchemasResponse) GetSchemaList() []*Schema
- func (m *QuerySchemasResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemasResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemasResponse) ProtoMessage()
- func (m *QuerySchemasResponse) Reset()
- func (m *QuerySchemasResponse) Size() (n int)
- func (m *QuerySchemasResponse) String() string
- func (m *QuerySchemasResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySchemasResponse) XXX_DiscardUnknown()
- func (m *QuerySchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemasResponse) XXX_Merge(src proto.Message)
- func (m *QuerySchemasResponse) XXX_Size() int
- func (m *QuerySchemasResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type Schema
- func (*Schema) Descriptor() ([]byte, []int)
- func (m *Schema) GetAuthor() string
- func (m *Schema) GetAuthored() string
- func (m *Schema) GetId() string
- func (m *Schema) GetModelVersion() string
- func (m *Schema) GetName() string
- func (m *Schema) GetSchema() *SchemaProperty
- func (msg *Schema) GetSignBytes() []byte
- func (m *Schema) GetType() string
- func (m *Schema) Marshal() (dAtA []byte, err error)
- func (m *Schema) MarshalTo(dAtA []byte) (int, error)
- func (m *Schema) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Schema) ProtoMessage()
- func (m *Schema) Reset()
- func (m *Schema) Size() (n int)
- func (m *Schema) String() string
- func (m *Schema) Unmarshal(dAtA []byte) error
- func (m *Schema) XXX_DiscardUnknown()
- func (m *Schema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Schema) XXX_Merge(src proto.Message)
- func (m *Schema) XXX_Size() int
- func (m *Schema) XXX_Unmarshal(b []byte) error
- type SchemaProperty
- func (*SchemaProperty) Descriptor() ([]byte, []int)
- func (m *SchemaProperty) GetAdditionalProperties() bool
- func (m *SchemaProperty) GetDescription() string
- func (m *SchemaProperty) GetProperties() string
- func (m *SchemaProperty) GetRequired() []string
- func (m *SchemaProperty) GetSchema() string
- func (m *SchemaProperty) GetType() string
- func (m *SchemaProperty) Marshal() (dAtA []byte, err error)
- func (m *SchemaProperty) MarshalTo(dAtA []byte) (int, error)
- func (m *SchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SchemaProperty) ProtoMessage()
- func (m *SchemaProperty) Reset()
- func (m *SchemaProperty) Size() (n int)
- func (m *SchemaProperty) String() string
- func (m *SchemaProperty) Unmarshal(dAtA []byte) error
- func (m *SchemaProperty) XXX_DiscardUnknown()
- func (m *SchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SchemaProperty) XXX_Merge(src proto.Message)
- func (m *SchemaProperty) XXX_Size() int
- func (m *SchemaProperty) XXX_Unmarshal(b []byte) error
- type Service
- func (*Service) Descriptor() ([]byte, []int)
- func (m *Service) GetId() string
- func (m *Service) GetServiceEndpoint() string
- func (m *Service) GetType() string
- func (m *Service) Marshal() (dAtA []byte, err error)
- func (m *Service) MarshalTo(dAtA []byte) (int, error)
- func (m *Service) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Service) ProtoMessage()
- func (m *Service) Reset()
- func (m *Service) Size() (n int)
- func (m *Service) String() string
- func (m *Service) Unmarshal(dAtA []byte) error
- func (m *Service) XXX_DiscardUnknown()
- func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Service) XXX_Merge(src proto.Message)
- func (m *Service) XXX_Size() int
- func (m *Service) XXX_Unmarshal(b []byte) error
- type SignInfo
- func (*SignInfo) Descriptor() ([]byte, []int)
- func (m *SignInfo) GetSignature() string
- func (m *SignInfo) GetVerificationMethodId() string
- func (m *SignInfo) Marshal() (dAtA []byte, err error)
- func (m *SignInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SignInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignInfo) ProtoMessage()
- func (m *SignInfo) Reset()
- func (m *SignInfo) Size() (n int)
- func (m *SignInfo) String() string
- func (m *SignInfo) Unmarshal(dAtA []byte) error
- func (m *SignInfo) XXX_DiscardUnknown()
- func (m *SignInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignInfo) XXX_Merge(src proto.Message)
- func (m *SignInfo) XXX_Size() int
- func (m *SignInfo) XXX_Unmarshal(b []byte) error
- type Signer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateDID(ctx context.Context, req *MsgCreateDID) (*MsgCreateDIDResponse, error)
- func (*UnimplementedMsgServer) CreateSchema(ctx context.Context, req *MsgCreateSchema) (*MsgCreateSchemaResponse, error)
- func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DidDocCount(ctx context.Context, req *QueryDidDocCountRequest) (*QueryDidDocCountResponse, error)
- func (*UnimplementedQueryServer) GetDidDocById(ctx context.Context, req *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error)
- func (*UnimplementedQueryServer) GetSchema(ctx context.Context, req *QueryGetSchemaRequest) (*QueryGetSchemaResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) SchemaCount(ctx context.Context, req *QuerySchemaCountRequest) (*QuerySchemaCountResponse, error)
- func (*UnimplementedQueryServer) Schemas(ctx context.Context, req *QuerySchemasRequest) (*QuerySchemasResponse, error)
- type ValidDid
- type VerificationMethod
- func (*VerificationMethod) Descriptor() ([]byte, []int)
- func (m *VerificationMethod) GetController() string
- func (m *VerificationMethod) GetId() string
- func (v VerificationMethod) GetPublicKey() ([]byte, error)
- func (m *VerificationMethod) GetPublicKeyMultibase() string
- func (m *VerificationMethod) GetType() string
- func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
- func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
- func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VerificationMethod) ProtoMessage()
- func (m *VerificationMethod) Reset()
- func (m *VerificationMethod) Size() (n int)
- func (m *VerificationMethod) String() string
- func (m *VerificationMethod) Unmarshal(dAtA []byte) error
- func (m *VerificationMethod) XXX_DiscardUnknown()
- func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VerificationMethod) XXX_Merge(src proto.Message)
- func (m *VerificationMethod) XXX_Size() int
- func (m *VerificationMethod) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "ssi" // 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_ssi" )
const ( DidKey = "Did-value-" DidCountKey = "Did-count-" SchemaKey = "Schema-value-" SchemaCountKey = "Schema-count-" )
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const TypeMsgCreateDID = "create_did"
const TypeMsgCreateSchema = "create_schema"
const TypeMsgUpdateDID = "update_did"
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthDid = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDid = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDid = fmt.Errorf("proto: unexpected end of group") )
var ( ErrBadRequestIsRequired = sdkerrors.Register(ModuleName, 101, "is required") ErrBadRequestIsNotDid = sdkerrors.Register(ModuleName, 102, "is an invalid Hypersign DID format") ErrDidDocExists = sdkerrors.Register(ModuleName, 103, "DidDoc already exists") ErrInvalidDidDoc = sdkerrors.Register(ModuleName, 104, "DidDoc is invalid") ErrVerificationMethodNotFound = sdkerrors.Register(ModuleName, 105, "verification method not found") ErrInvalidPublicKey = sdkerrors.Register(ModuleName, 106, "invalid public key") ErrInvalidSignature = sdkerrors.Register(ModuleName, 107, "invalid signature detected") ErrDidDocNotFound = sdkerrors.Register(ModuleName, 108, "DID Doc not found") ErrSchemaExists = sdkerrors.Register(ModuleName, 109, "Schema already exists") ErrInvalidSchemaID = sdkerrors.Register(ModuleName, 110, "Invalid schema Id") ErrBadRequestInvalidVerMethod = sdkerrors.Register(ModuleName, 111, "Invalid verification method") ErrInvalidService = sdkerrors.Register(ModuleName, 112, "Invalid Service") )
x/ssi module sentinel errors
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 ( 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") )
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 Did ¶
type Did struct { Context []string `protobuf:"bytes,1,rep,name=context,proto3" json:"context,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Controller []string `protobuf:"bytes,3,rep,name=controller,proto3" json:"controller,omitempty"` AlsoKnownAs []string `protobuf:"bytes,4,rep,name=alsoKnownAs,proto3" json:"alsoKnownAs,omitempty"` VerificationMethod []*VerificationMethod `protobuf:"bytes,5,rep,name=verificationMethod,proto3" json:"verificationMethod,omitempty"` Authentication []string `protobuf:"bytes,6,rep,name=authentication,proto3" json:"authentication,omitempty"` AssertionMethod []string `protobuf:"bytes,7,rep,name=assertionMethod,proto3" json:"assertionMethod,omitempty"` KeyAgreement []string `protobuf:"bytes,8,rep,name=keyAgreement,proto3" json:"keyAgreement,omitempty"` CapabilityInvocation []string `protobuf:"bytes,9,rep,name=capabilityInvocation,proto3" json:"capabilityInvocation,omitempty"` CapabilityDelegation []string `protobuf:"bytes,10,rep,name=capabilityDelegation,proto3" json:"capabilityDelegation,omitempty"` Service []*Service `protobuf:"bytes,11,rep,name=service,proto3" json:"service,omitempty"` Created string `protobuf:"bytes,12,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,13,opt,name=updated,proto3" json:"updated,omitempty"` }
func (*Did) Descriptor ¶
func (*Did) GetAlsoKnownAs ¶ added in v0.0.2
func (*Did) GetAssertionMethod ¶
func (*Did) GetAuthentication ¶
func (*Did) GetCapabilityDelegation ¶ added in v0.0.2
func (*Did) GetCapabilityInvocation ¶
func (*Did) GetContext ¶
func (*Did) GetController ¶ added in v0.0.2
func (*Did) GetCreated ¶
func (*Did) GetKeyAgreement ¶
func (*Did) GetService ¶ added in v0.0.2
func (*Did) GetSignBytes ¶ added in v0.0.2
func (*Did) GetSigners ¶ added in v0.0.2
func (*Did) GetUpdated ¶
func (*Did) GetVerificationMethod ¶ added in v0.0.2
func (m *Did) GetVerificationMethod() []*VerificationMethod
func (*Did) ProtoMessage ¶
func (*Did) ProtoMessage()
func (*Did) XXX_DiscardUnknown ¶
func (m *Did) XXX_DiscardUnknown()
func (*Did) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct {
Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}
GenesisState defines the ssi 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) 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 IdentityMsg ¶
type MsgClient ¶
type MsgClient interface { CreateDID(ctx context.Context, in *MsgCreateDID, opts ...grpc.CallOption) (*MsgCreateDIDResponse, error) UpdateDID(ctx context.Context, in *MsgUpdateDID, opts ...grpc.CallOption) (*MsgUpdateDIDResponse, error) CreateSchema(ctx context.Context, in *MsgCreateSchema, opts ...grpc.CallOption) (*MsgCreateSchemaResponse, 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 MsgCreateDID ¶
type MsgCreateDID struct { DidDocString *Did `protobuf:"bytes,1,opt,name=didDocString,proto3" json:"didDocString,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgCreateDID ¶
func NewMsgCreateDID(did string, didDocString *Did) *MsgCreateDID
func (*MsgCreateDID) Descriptor ¶
func (*MsgCreateDID) Descriptor() ([]byte, []int)
func (*MsgCreateDID) GetCreator ¶
func (m *MsgCreateDID) GetCreator() string
func (*MsgCreateDID) GetDidDocString ¶
func (m *MsgCreateDID) GetDidDocString() *Did
func (*MsgCreateDID) GetSignBytes ¶
func (msg *MsgCreateDID) GetSignBytes() []byte
func (*MsgCreateDID) GetSignatures ¶
func (m *MsgCreateDID) GetSignatures() []*SignInfo
func (*MsgCreateDID) GetSigners ¶
func (msg *MsgCreateDID) GetSigners() []sdk.AccAddress
func (*MsgCreateDID) Marshal ¶
func (m *MsgCreateDID) Marshal() (dAtA []byte, err error)
func (*MsgCreateDID) MarshalToSizedBuffer ¶
func (m *MsgCreateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDID) ProtoMessage ¶
func (*MsgCreateDID) ProtoMessage()
func (*MsgCreateDID) Reset ¶
func (m *MsgCreateDID) Reset()
func (*MsgCreateDID) Route ¶
func (msg *MsgCreateDID) Route() string
func (*MsgCreateDID) Size ¶
func (m *MsgCreateDID) Size() (n int)
func (*MsgCreateDID) String ¶
func (m *MsgCreateDID) String() string
func (*MsgCreateDID) Type ¶
func (msg *MsgCreateDID) Type() string
func (*MsgCreateDID) Unmarshal ¶
func (m *MsgCreateDID) Unmarshal(dAtA []byte) error
func (*MsgCreateDID) ValidateBasic ¶
func (msg *MsgCreateDID) ValidateBasic() error
func (*MsgCreateDID) XXX_DiscardUnknown ¶
func (m *MsgCreateDID) XXX_DiscardUnknown()
func (*MsgCreateDID) XXX_Marshal ¶
func (m *MsgCreateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDID) XXX_Merge ¶
func (m *MsgCreateDID) XXX_Merge(src proto.Message)
func (*MsgCreateDID) XXX_Size ¶
func (m *MsgCreateDID) XXX_Size() int
func (*MsgCreateDID) XXX_Unmarshal ¶
func (m *MsgCreateDID) XXX_Unmarshal(b []byte) error
type MsgCreateDIDResponse ¶
type MsgCreateDIDResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCreateDIDResponse) Descriptor ¶
func (*MsgCreateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgCreateDIDResponse) GetId ¶
func (m *MsgCreateDIDResponse) GetId() uint64
func (*MsgCreateDIDResponse) Marshal ¶
func (m *MsgCreateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateDIDResponse) MarshalTo ¶
func (m *MsgCreateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateDIDResponse) ProtoMessage ¶
func (*MsgCreateDIDResponse) ProtoMessage()
func (*MsgCreateDIDResponse) Reset ¶
func (m *MsgCreateDIDResponse) Reset()
func (*MsgCreateDIDResponse) Size ¶
func (m *MsgCreateDIDResponse) Size() (n int)
func (*MsgCreateDIDResponse) String ¶
func (m *MsgCreateDIDResponse) String() string
func (*MsgCreateDIDResponse) Unmarshal ¶
func (m *MsgCreateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateDIDResponse) XXX_DiscardUnknown()
func (*MsgCreateDIDResponse) XXX_Marshal ¶
func (m *MsgCreateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateDIDResponse) XXX_Merge ¶
func (m *MsgCreateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgCreateDIDResponse) XXX_Size ¶
func (m *MsgCreateDIDResponse) XXX_Size() int
func (*MsgCreateDIDResponse) XXX_Unmarshal ¶
func (m *MsgCreateDIDResponse) XXX_Unmarshal(b []byte) error
type MsgCreateSchema ¶
type MsgCreateSchema struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` Signatures []*SignInfo `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgCreateSchema ¶
func NewMsgCreateSchema(creator string, schema *Schema, signatures []*SignInfo) *MsgCreateSchema
func (*MsgCreateSchema) Descriptor ¶
func (*MsgCreateSchema) Descriptor() ([]byte, []int)
func (*MsgCreateSchema) GetCreator ¶
func (m *MsgCreateSchema) GetCreator() string
func (*MsgCreateSchema) GetSchema ¶
func (m *MsgCreateSchema) GetSchema() *Schema
func (*MsgCreateSchema) GetSignBytes ¶
func (msg *MsgCreateSchema) GetSignBytes() []byte
func (*MsgCreateSchema) GetSignatures ¶
func (m *MsgCreateSchema) GetSignatures() []*SignInfo
func (*MsgCreateSchema) GetSigners ¶
func (msg *MsgCreateSchema) GetSigners() []sdk.AccAddress
func (*MsgCreateSchema) Marshal ¶
func (m *MsgCreateSchema) Marshal() (dAtA []byte, err error)
func (*MsgCreateSchema) MarshalToSizedBuffer ¶
func (m *MsgCreateSchema) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSchema) ProtoMessage ¶
func (*MsgCreateSchema) ProtoMessage()
func (*MsgCreateSchema) Reset ¶
func (m *MsgCreateSchema) Reset()
func (*MsgCreateSchema) Route ¶
func (msg *MsgCreateSchema) Route() string
func (*MsgCreateSchema) Size ¶
func (m *MsgCreateSchema) Size() (n int)
func (*MsgCreateSchema) String ¶
func (m *MsgCreateSchema) String() string
func (*MsgCreateSchema) Type ¶
func (msg *MsgCreateSchema) Type() string
func (*MsgCreateSchema) Unmarshal ¶
func (m *MsgCreateSchema) Unmarshal(dAtA []byte) error
func (*MsgCreateSchema) ValidateBasic ¶
func (msg *MsgCreateSchema) ValidateBasic() error
func (*MsgCreateSchema) XXX_DiscardUnknown ¶
func (m *MsgCreateSchema) XXX_DiscardUnknown()
func (*MsgCreateSchema) XXX_Marshal ¶
func (m *MsgCreateSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSchema) XXX_Merge ¶
func (m *MsgCreateSchema) XXX_Merge(src proto.Message)
func (*MsgCreateSchema) XXX_Size ¶
func (m *MsgCreateSchema) XXX_Size() int
func (*MsgCreateSchema) XXX_Unmarshal ¶
func (m *MsgCreateSchema) XXX_Unmarshal(b []byte) error
type MsgCreateSchemaResponse ¶
type MsgCreateSchemaResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgCreateSchemaResponse) Descriptor ¶
func (*MsgCreateSchemaResponse) Descriptor() ([]byte, []int)
func (*MsgCreateSchemaResponse) GetId ¶
func (m *MsgCreateSchemaResponse) GetId() uint64
func (*MsgCreateSchemaResponse) Marshal ¶
func (m *MsgCreateSchemaResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateSchemaResponse) MarshalTo ¶
func (m *MsgCreateSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateSchemaResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateSchemaResponse) ProtoMessage ¶
func (*MsgCreateSchemaResponse) ProtoMessage()
func (*MsgCreateSchemaResponse) Reset ¶
func (m *MsgCreateSchemaResponse) Reset()
func (*MsgCreateSchemaResponse) Size ¶
func (m *MsgCreateSchemaResponse) Size() (n int)
func (*MsgCreateSchemaResponse) String ¶
func (m *MsgCreateSchemaResponse) String() string
func (*MsgCreateSchemaResponse) Unmarshal ¶
func (m *MsgCreateSchemaResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateSchemaResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateSchemaResponse) XXX_DiscardUnknown()
func (*MsgCreateSchemaResponse) XXX_Marshal ¶
func (m *MsgCreateSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateSchemaResponse) XXX_Merge ¶
func (m *MsgCreateSchemaResponse) XXX_Merge(src proto.Message)
func (*MsgCreateSchemaResponse) XXX_Size ¶
func (m *MsgCreateSchemaResponse) XXX_Size() int
func (*MsgCreateSchemaResponse) XXX_Unmarshal ¶
func (m *MsgCreateSchemaResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { CreateDID(context.Context, *MsgCreateDID) (*MsgCreateDIDResponse, error) UpdateDID(context.Context, *MsgUpdateDID) (*MsgUpdateDIDResponse, error) CreateSchema(context.Context, *MsgCreateSchema) (*MsgCreateSchemaResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateDID ¶
type MsgUpdateDID struct { DidDocString *Did `protobuf:"bytes,1,opt,name=didDocString,proto3" json:"didDocString,omitempty"` Signatures []*SignInfo `protobuf:"bytes,2,rep,name=signatures,proto3" json:"signatures,omitempty"` Creator string `protobuf:"bytes,3,opt,name=creator,proto3" json:"creator,omitempty"` }
func NewMsgUpdateDID ¶
func NewMsgUpdateDID(creator string, didDocString *Did, signatures []*SignInfo) *MsgUpdateDID
func (*MsgUpdateDID) Descriptor ¶
func (*MsgUpdateDID) Descriptor() ([]byte, []int)
func (*MsgUpdateDID) GetCreator ¶
func (m *MsgUpdateDID) GetCreator() string
func (*MsgUpdateDID) GetDidDocString ¶
func (m *MsgUpdateDID) GetDidDocString() *Did
func (*MsgUpdateDID) GetSignBytes ¶
func (msg *MsgUpdateDID) GetSignBytes() []byte
func (*MsgUpdateDID) GetSignatures ¶
func (m *MsgUpdateDID) GetSignatures() []*SignInfo
func (*MsgUpdateDID) GetSigners ¶
func (msg *MsgUpdateDID) GetSigners() []sdk.AccAddress
func (*MsgUpdateDID) Marshal ¶
func (m *MsgUpdateDID) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDID) MarshalToSizedBuffer ¶
func (m *MsgUpdateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDID) ProtoMessage ¶
func (*MsgUpdateDID) ProtoMessage()
func (*MsgUpdateDID) Reset ¶
func (m *MsgUpdateDID) Reset()
func (*MsgUpdateDID) Route ¶
func (msg *MsgUpdateDID) Route() string
func (*MsgUpdateDID) Size ¶
func (m *MsgUpdateDID) Size() (n int)
func (*MsgUpdateDID) String ¶
func (m *MsgUpdateDID) String() string
func (*MsgUpdateDID) Type ¶
func (msg *MsgUpdateDID) Type() string
func (*MsgUpdateDID) Unmarshal ¶
func (m *MsgUpdateDID) Unmarshal(dAtA []byte) error
func (*MsgUpdateDID) ValidateBasic ¶
func (msg *MsgUpdateDID) ValidateBasic() error
func (*MsgUpdateDID) XXX_DiscardUnknown ¶
func (m *MsgUpdateDID) XXX_DiscardUnknown()
func (*MsgUpdateDID) XXX_Marshal ¶
func (m *MsgUpdateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDID) XXX_Merge ¶
func (m *MsgUpdateDID) XXX_Merge(src proto.Message)
func (*MsgUpdateDID) XXX_Size ¶
func (m *MsgUpdateDID) XXX_Size() int
func (*MsgUpdateDID) XXX_Unmarshal ¶
func (m *MsgUpdateDID) XXX_Unmarshal(b []byte) error
type MsgUpdateDIDResponse ¶
type MsgUpdateDIDResponse struct {
UpdateId string `protobuf:"bytes,1,opt,name=updateId,proto3" json:"updateId,omitempty"`
}
func (*MsgUpdateDIDResponse) Descriptor ¶
func (*MsgUpdateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateDIDResponse) GetUpdateId ¶
func (m *MsgUpdateDIDResponse) GetUpdateId() string
func (*MsgUpdateDIDResponse) Marshal ¶
func (m *MsgUpdateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateDIDResponse) MarshalTo ¶
func (m *MsgUpdateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateDIDResponse) ProtoMessage ¶
func (*MsgUpdateDIDResponse) ProtoMessage()
func (*MsgUpdateDIDResponse) Reset ¶
func (m *MsgUpdateDIDResponse) Reset()
func (*MsgUpdateDIDResponse) Size ¶
func (m *MsgUpdateDIDResponse) Size() (n int)
func (*MsgUpdateDIDResponse) String ¶
func (m *MsgUpdateDIDResponse) String() string
func (*MsgUpdateDIDResponse) Unmarshal ¶
func (m *MsgUpdateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateDIDResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateDIDResponse) XXX_DiscardUnknown()
func (*MsgUpdateDIDResponse) XXX_Marshal ¶
func (m *MsgUpdateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateDIDResponse) XXX_Merge ¶
func (m *MsgUpdateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateDIDResponse) XXX_Size ¶
func (m *MsgUpdateDIDResponse) XXX_Size() int
func (*MsgUpdateDIDResponse) XXX_Unmarshal ¶
func (m *MsgUpdateDIDResponse) XXX_Unmarshal(b []byte) error
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 QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of GetSchema items. GetSchema(ctx context.Context, in *QueryGetSchemaRequest, opts ...grpc.CallOption) (*QueryGetSchemaResponse, error) // Queries a list of Schemas items. Schemas(ctx context.Context, in *QuerySchemasRequest, opts ...grpc.CallOption) (*QuerySchemasResponse, error) // Queries a list of SchemaCount items. SchemaCount(ctx context.Context, in *QuerySchemaCountRequest, opts ...grpc.CallOption) (*QuerySchemaCountResponse, error) // Queries a list of GetDidDocById items. GetDidDocById(ctx context.Context, in *QueryGetDidDocByIdRequest, opts ...grpc.CallOption) (*QueryGetDidDocByIdResponse, error) // Queries a list of DidDocCount items. DidDocCount(ctx context.Context, in *QueryDidDocCountRequest, opts ...grpc.CallOption) (*QueryDidDocCountResponse, 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 QueryDidDocCountRequest ¶
type QueryDidDocCountRequest struct { }
func (*QueryDidDocCountRequest) Descriptor ¶
func (*QueryDidDocCountRequest) Descriptor() ([]byte, []int)
func (*QueryDidDocCountRequest) Marshal ¶
func (m *QueryDidDocCountRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidDocCountRequest) MarshalTo ¶
func (m *QueryDidDocCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocCountRequest) MarshalToSizedBuffer ¶
func (m *QueryDidDocCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocCountRequest) ProtoMessage ¶
func (*QueryDidDocCountRequest) ProtoMessage()
func (*QueryDidDocCountRequest) Reset ¶
func (m *QueryDidDocCountRequest) Reset()
func (*QueryDidDocCountRequest) Size ¶
func (m *QueryDidDocCountRequest) Size() (n int)
func (*QueryDidDocCountRequest) String ¶
func (m *QueryDidDocCountRequest) String() string
func (*QueryDidDocCountRequest) Unmarshal ¶
func (m *QueryDidDocCountRequest) Unmarshal(dAtA []byte) error
func (*QueryDidDocCountRequest) XXX_DiscardUnknown ¶
func (m *QueryDidDocCountRequest) XXX_DiscardUnknown()
func (*QueryDidDocCountRequest) XXX_Marshal ¶
func (m *QueryDidDocCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocCountRequest) XXX_Merge ¶
func (m *QueryDidDocCountRequest) XXX_Merge(src proto.Message)
func (*QueryDidDocCountRequest) XXX_Size ¶
func (m *QueryDidDocCountRequest) XXX_Size() int
func (*QueryDidDocCountRequest) XXX_Unmarshal ¶
func (m *QueryDidDocCountRequest) XXX_Unmarshal(b []byte) error
type QueryDidDocCountResponse ¶
type QueryDidDocCountResponse struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (*QueryDidDocCountResponse) Descriptor ¶
func (*QueryDidDocCountResponse) Descriptor() ([]byte, []int)
func (*QueryDidDocCountResponse) GetCount ¶
func (m *QueryDidDocCountResponse) GetCount() uint64
func (*QueryDidDocCountResponse) Marshal ¶
func (m *QueryDidDocCountResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidDocCountResponse) MarshalTo ¶
func (m *QueryDidDocCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidDocCountResponse) MarshalToSizedBuffer ¶
func (m *QueryDidDocCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidDocCountResponse) ProtoMessage ¶
func (*QueryDidDocCountResponse) ProtoMessage()
func (*QueryDidDocCountResponse) Reset ¶
func (m *QueryDidDocCountResponse) Reset()
func (*QueryDidDocCountResponse) Size ¶
func (m *QueryDidDocCountResponse) Size() (n int)
func (*QueryDidDocCountResponse) String ¶
func (m *QueryDidDocCountResponse) String() string
func (*QueryDidDocCountResponse) Unmarshal ¶
func (m *QueryDidDocCountResponse) Unmarshal(dAtA []byte) error
func (*QueryDidDocCountResponse) XXX_DiscardUnknown ¶
func (m *QueryDidDocCountResponse) XXX_DiscardUnknown()
func (*QueryDidDocCountResponse) XXX_Marshal ¶
func (m *QueryDidDocCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidDocCountResponse) XXX_Merge ¶
func (m *QueryDidDocCountResponse) XXX_Merge(src proto.Message)
func (*QueryDidDocCountResponse) XXX_Size ¶
func (m *QueryDidDocCountResponse) XXX_Size() int
func (*QueryDidDocCountResponse) XXX_Unmarshal ¶
func (m *QueryDidDocCountResponse) XXX_Unmarshal(b []byte) error
type QueryGetDidDocByIdRequest ¶
type QueryGetDidDocByIdRequest struct {
DidDocId string `protobuf:"bytes,1,opt,name=didDocId,proto3" json:"didDocId,omitempty"`
}
func (*QueryGetDidDocByIdRequest) Descriptor ¶
func (*QueryGetDidDocByIdRequest) Descriptor() ([]byte, []int)
func (*QueryGetDidDocByIdRequest) GetDidDocId ¶
func (m *QueryGetDidDocByIdRequest) GetDidDocId() string
func (*QueryGetDidDocByIdRequest) Marshal ¶
func (m *QueryGetDidDocByIdRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocByIdRequest) MarshalTo ¶
func (m *QueryGetDidDocByIdRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocByIdRequest) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocByIdRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocByIdRequest) ProtoMessage ¶
func (*QueryGetDidDocByIdRequest) ProtoMessage()
func (*QueryGetDidDocByIdRequest) Reset ¶
func (m *QueryGetDidDocByIdRequest) Reset()
func (*QueryGetDidDocByIdRequest) Size ¶
func (m *QueryGetDidDocByIdRequest) Size() (n int)
func (*QueryGetDidDocByIdRequest) String ¶
func (m *QueryGetDidDocByIdRequest) String() string
func (*QueryGetDidDocByIdRequest) Unmarshal ¶
func (m *QueryGetDidDocByIdRequest) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocByIdRequest) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocByIdRequest) XXX_DiscardUnknown()
func (*QueryGetDidDocByIdRequest) XXX_Marshal ¶
func (m *QueryGetDidDocByIdRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocByIdRequest) XXX_Merge ¶
func (m *QueryGetDidDocByIdRequest) XXX_Merge(src proto.Message)
func (*QueryGetDidDocByIdRequest) XXX_Size ¶
func (m *QueryGetDidDocByIdRequest) XXX_Size() int
func (*QueryGetDidDocByIdRequest) XXX_Unmarshal ¶
func (m *QueryGetDidDocByIdRequest) XXX_Unmarshal(b []byte) error
type QueryGetDidDocByIdResponse ¶
type QueryGetDidDocByIdResponse struct {
DidDoc *Did `protobuf:"bytes,1,opt,name=didDoc,proto3" json:"didDoc,omitempty"`
}
func (*QueryGetDidDocByIdResponse) Descriptor ¶
func (*QueryGetDidDocByIdResponse) Descriptor() ([]byte, []int)
func (*QueryGetDidDocByIdResponse) GetDidDoc ¶
func (m *QueryGetDidDocByIdResponse) GetDidDoc() *Did
func (*QueryGetDidDocByIdResponse) Marshal ¶
func (m *QueryGetDidDocByIdResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetDidDocByIdResponse) MarshalTo ¶
func (m *QueryGetDidDocByIdResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetDidDocByIdResponse) MarshalToSizedBuffer ¶
func (m *QueryGetDidDocByIdResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetDidDocByIdResponse) ProtoMessage ¶
func (*QueryGetDidDocByIdResponse) ProtoMessage()
func (*QueryGetDidDocByIdResponse) Reset ¶
func (m *QueryGetDidDocByIdResponse) Reset()
func (*QueryGetDidDocByIdResponse) Size ¶
func (m *QueryGetDidDocByIdResponse) Size() (n int)
func (*QueryGetDidDocByIdResponse) String ¶
func (m *QueryGetDidDocByIdResponse) String() string
func (*QueryGetDidDocByIdResponse) Unmarshal ¶
func (m *QueryGetDidDocByIdResponse) Unmarshal(dAtA []byte) error
func (*QueryGetDidDocByIdResponse) XXX_DiscardUnknown ¶
func (m *QueryGetDidDocByIdResponse) XXX_DiscardUnknown()
func (*QueryGetDidDocByIdResponse) XXX_Marshal ¶
func (m *QueryGetDidDocByIdResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetDidDocByIdResponse) XXX_Merge ¶
func (m *QueryGetDidDocByIdResponse) XXX_Merge(src proto.Message)
func (*QueryGetDidDocByIdResponse) XXX_Size ¶
func (m *QueryGetDidDocByIdResponse) XXX_Size() int
func (*QueryGetDidDocByIdResponse) XXX_Unmarshal ¶
func (m *QueryGetDidDocByIdResponse) XXX_Unmarshal(b []byte) error
type QueryGetSchemaRequest ¶
type QueryGetSchemaRequest struct {
SchemaId string `protobuf:"bytes,1,opt,name=schemaId,proto3" json:"schemaId,omitempty"`
}
func (*QueryGetSchemaRequest) Descriptor ¶
func (*QueryGetSchemaRequest) Descriptor() ([]byte, []int)
func (*QueryGetSchemaRequest) GetSchemaId ¶
func (m *QueryGetSchemaRequest) GetSchemaId() string
func (*QueryGetSchemaRequest) Marshal ¶
func (m *QueryGetSchemaRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetSchemaRequest) MarshalTo ¶
func (m *QueryGetSchemaRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSchemaRequest) MarshalToSizedBuffer ¶
func (m *QueryGetSchemaRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSchemaRequest) ProtoMessage ¶
func (*QueryGetSchemaRequest) ProtoMessage()
func (*QueryGetSchemaRequest) Reset ¶
func (m *QueryGetSchemaRequest) Reset()
func (*QueryGetSchemaRequest) Size ¶
func (m *QueryGetSchemaRequest) Size() (n int)
func (*QueryGetSchemaRequest) String ¶
func (m *QueryGetSchemaRequest) String() string
func (*QueryGetSchemaRequest) Unmarshal ¶
func (m *QueryGetSchemaRequest) Unmarshal(dAtA []byte) error
func (*QueryGetSchemaRequest) XXX_DiscardUnknown ¶
func (m *QueryGetSchemaRequest) XXX_DiscardUnknown()
func (*QueryGetSchemaRequest) XXX_Marshal ¶
func (m *QueryGetSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSchemaRequest) XXX_Merge ¶
func (m *QueryGetSchemaRequest) XXX_Merge(src proto.Message)
func (*QueryGetSchemaRequest) XXX_Size ¶
func (m *QueryGetSchemaRequest) XXX_Size() int
func (*QueryGetSchemaRequest) XXX_Unmarshal ¶
func (m *QueryGetSchemaRequest) XXX_Unmarshal(b []byte) error
type QueryGetSchemaResponse ¶
type QueryGetSchemaResponse struct {
Schema *Schema `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"`
}
func (*QueryGetSchemaResponse) Descriptor ¶
func (*QueryGetSchemaResponse) Descriptor() ([]byte, []int)
func (*QueryGetSchemaResponse) GetSchema ¶
func (m *QueryGetSchemaResponse) GetSchema() *Schema
func (*QueryGetSchemaResponse) Marshal ¶
func (m *QueryGetSchemaResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetSchemaResponse) MarshalTo ¶
func (m *QueryGetSchemaResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetSchemaResponse) MarshalToSizedBuffer ¶
func (m *QueryGetSchemaResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetSchemaResponse) ProtoMessage ¶
func (*QueryGetSchemaResponse) ProtoMessage()
func (*QueryGetSchemaResponse) Reset ¶
func (m *QueryGetSchemaResponse) Reset()
func (*QueryGetSchemaResponse) Size ¶
func (m *QueryGetSchemaResponse) Size() (n int)
func (*QueryGetSchemaResponse) String ¶
func (m *QueryGetSchemaResponse) String() string
func (*QueryGetSchemaResponse) Unmarshal ¶
func (m *QueryGetSchemaResponse) Unmarshal(dAtA []byte) error
func (*QueryGetSchemaResponse) XXX_DiscardUnknown ¶
func (m *QueryGetSchemaResponse) XXX_DiscardUnknown()
func (*QueryGetSchemaResponse) XXX_Marshal ¶
func (m *QueryGetSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetSchemaResponse) XXX_Merge ¶
func (m *QueryGetSchemaResponse) XXX_Merge(src proto.Message)
func (*QueryGetSchemaResponse) XXX_Size ¶
func (m *QueryGetSchemaResponse) XXX_Size() int
func (*QueryGetSchemaResponse) XXX_Unmarshal ¶
func (m *QueryGetSchemaResponse) 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 QuerySchemaCountRequest ¶
type QuerySchemaCountRequest struct { }
func (*QuerySchemaCountRequest) Descriptor ¶
func (*QuerySchemaCountRequest) Descriptor() ([]byte, []int)
func (*QuerySchemaCountRequest) Marshal ¶
func (m *QuerySchemaCountRequest) Marshal() (dAtA []byte, err error)
func (*QuerySchemaCountRequest) MarshalTo ¶
func (m *QuerySchemaCountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaCountRequest) MarshalToSizedBuffer ¶
func (m *QuerySchemaCountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaCountRequest) ProtoMessage ¶
func (*QuerySchemaCountRequest) ProtoMessage()
func (*QuerySchemaCountRequest) Reset ¶
func (m *QuerySchemaCountRequest) Reset()
func (*QuerySchemaCountRequest) Size ¶
func (m *QuerySchemaCountRequest) Size() (n int)
func (*QuerySchemaCountRequest) String ¶
func (m *QuerySchemaCountRequest) String() string
func (*QuerySchemaCountRequest) Unmarshal ¶
func (m *QuerySchemaCountRequest) Unmarshal(dAtA []byte) error
func (*QuerySchemaCountRequest) XXX_DiscardUnknown ¶
func (m *QuerySchemaCountRequest) XXX_DiscardUnknown()
func (*QuerySchemaCountRequest) XXX_Marshal ¶
func (m *QuerySchemaCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaCountRequest) XXX_Merge ¶
func (m *QuerySchemaCountRequest) XXX_Merge(src proto.Message)
func (*QuerySchemaCountRequest) XXX_Size ¶
func (m *QuerySchemaCountRequest) XXX_Size() int
func (*QuerySchemaCountRequest) XXX_Unmarshal ¶
func (m *QuerySchemaCountRequest) XXX_Unmarshal(b []byte) error
type QuerySchemaCountResponse ¶
type QuerySchemaCountResponse struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
}
func (*QuerySchemaCountResponse) Descriptor ¶
func (*QuerySchemaCountResponse) Descriptor() ([]byte, []int)
func (*QuerySchemaCountResponse) GetCount ¶
func (m *QuerySchemaCountResponse) GetCount() uint64
func (*QuerySchemaCountResponse) Marshal ¶
func (m *QuerySchemaCountResponse) Marshal() (dAtA []byte, err error)
func (*QuerySchemaCountResponse) MarshalTo ¶
func (m *QuerySchemaCountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaCountResponse) MarshalToSizedBuffer ¶
func (m *QuerySchemaCountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaCountResponse) ProtoMessage ¶
func (*QuerySchemaCountResponse) ProtoMessage()
func (*QuerySchemaCountResponse) Reset ¶
func (m *QuerySchemaCountResponse) Reset()
func (*QuerySchemaCountResponse) Size ¶
func (m *QuerySchemaCountResponse) Size() (n int)
func (*QuerySchemaCountResponse) String ¶
func (m *QuerySchemaCountResponse) String() string
func (*QuerySchemaCountResponse) Unmarshal ¶
func (m *QuerySchemaCountResponse) Unmarshal(dAtA []byte) error
func (*QuerySchemaCountResponse) XXX_DiscardUnknown ¶
func (m *QuerySchemaCountResponse) XXX_DiscardUnknown()
func (*QuerySchemaCountResponse) XXX_Marshal ¶
func (m *QuerySchemaCountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaCountResponse) XXX_Merge ¶
func (m *QuerySchemaCountResponse) XXX_Merge(src proto.Message)
func (*QuerySchemaCountResponse) XXX_Size ¶
func (m *QuerySchemaCountResponse) XXX_Size() int
func (*QuerySchemaCountResponse) XXX_Unmarshal ¶
func (m *QuerySchemaCountResponse) XXX_Unmarshal(b []byte) error
type QuerySchemasRequest ¶
type QuerySchemasRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QuerySchemasRequest) Descriptor ¶
func (*QuerySchemasRequest) Descriptor() ([]byte, []int)
func (*QuerySchemasRequest) GetPagination ¶
func (m *QuerySchemasRequest) GetPagination() *query.PageRequest
func (*QuerySchemasRequest) Marshal ¶
func (m *QuerySchemasRequest) Marshal() (dAtA []byte, err error)
func (*QuerySchemasRequest) MarshalTo ¶
func (m *QuerySchemasRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemasRequest) MarshalToSizedBuffer ¶
func (m *QuerySchemasRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemasRequest) ProtoMessage ¶
func (*QuerySchemasRequest) ProtoMessage()
func (*QuerySchemasRequest) Reset ¶
func (m *QuerySchemasRequest) Reset()
func (*QuerySchemasRequest) Size ¶
func (m *QuerySchemasRequest) Size() (n int)
func (*QuerySchemasRequest) String ¶
func (m *QuerySchemasRequest) String() string
func (*QuerySchemasRequest) Unmarshal ¶
func (m *QuerySchemasRequest) Unmarshal(dAtA []byte) error
func (*QuerySchemasRequest) XXX_DiscardUnknown ¶
func (m *QuerySchemasRequest) XXX_DiscardUnknown()
func (*QuerySchemasRequest) XXX_Marshal ¶
func (m *QuerySchemasRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemasRequest) XXX_Merge ¶
func (m *QuerySchemasRequest) XXX_Merge(src proto.Message)
func (*QuerySchemasRequest) XXX_Size ¶
func (m *QuerySchemasRequest) XXX_Size() int
func (*QuerySchemasRequest) XXX_Unmarshal ¶
func (m *QuerySchemasRequest) XXX_Unmarshal(b []byte) error
type QuerySchemasResponse ¶
type QuerySchemasResponse struct { SchemaList []*Schema `protobuf:"bytes,1,rep,name=schemaList,proto3" json:"schemaList,omitempty"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QuerySchemasResponse) Descriptor ¶
func (*QuerySchemasResponse) Descriptor() ([]byte, []int)
func (*QuerySchemasResponse) GetPagination ¶
func (m *QuerySchemasResponse) GetPagination() *query.PageResponse
func (*QuerySchemasResponse) GetSchemaList ¶
func (m *QuerySchemasResponse) GetSchemaList() []*Schema
func (*QuerySchemasResponse) Marshal ¶
func (m *QuerySchemasResponse) Marshal() (dAtA []byte, err error)
func (*QuerySchemasResponse) MarshalTo ¶
func (m *QuerySchemasResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemasResponse) MarshalToSizedBuffer ¶
func (m *QuerySchemasResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemasResponse) ProtoMessage ¶
func (*QuerySchemasResponse) ProtoMessage()
func (*QuerySchemasResponse) Reset ¶
func (m *QuerySchemasResponse) Reset()
func (*QuerySchemasResponse) Size ¶
func (m *QuerySchemasResponse) Size() (n int)
func (*QuerySchemasResponse) String ¶
func (m *QuerySchemasResponse) String() string
func (*QuerySchemasResponse) Unmarshal ¶
func (m *QuerySchemasResponse) Unmarshal(dAtA []byte) error
func (*QuerySchemasResponse) XXX_DiscardUnknown ¶
func (m *QuerySchemasResponse) XXX_DiscardUnknown()
func (*QuerySchemasResponse) XXX_Marshal ¶
func (m *QuerySchemasResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemasResponse) XXX_Merge ¶
func (m *QuerySchemasResponse) XXX_Merge(src proto.Message)
func (*QuerySchemasResponse) XXX_Size ¶
func (m *QuerySchemasResponse) XXX_Size() int
func (*QuerySchemasResponse) XXX_Unmarshal ¶
func (m *QuerySchemasResponse) 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 list of GetSchema items. GetSchema(context.Context, *QueryGetSchemaRequest) (*QueryGetSchemaResponse, error) // Queries a list of Schemas items. Schemas(context.Context, *QuerySchemasRequest) (*QuerySchemasResponse, error) // Queries a list of SchemaCount items. SchemaCount(context.Context, *QuerySchemaCountRequest) (*QuerySchemaCountResponse, error) // Queries a list of GetDidDocById items. GetDidDocById(context.Context, *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error) // Queries a list of DidDocCount items. DidDocCount(context.Context, *QueryDidDocCountRequest) (*QueryDidDocCountResponse, error) }
QueryServer is the server API for Query service.
type Schema ¶
type Schema struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` ModelVersion string `protobuf:"bytes,2,opt,name=modelVersion,proto3" json:"modelVersion,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` Author string `protobuf:"bytes,5,opt,name=author,proto3" json:"author,omitempty"` Authored string `protobuf:"bytes,6,opt,name=authored,proto3" json:"authored,omitempty"` Schema *SchemaProperty `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"` }
func (*Schema) Descriptor ¶
func (*Schema) GetAuthored ¶
func (*Schema) GetModelVersion ¶
func (*Schema) GetSchema ¶
func (m *Schema) GetSchema() *SchemaProperty
func (*Schema) GetSignBytes ¶
func (*Schema) MarshalToSizedBuffer ¶
func (*Schema) ProtoMessage ¶
func (*Schema) ProtoMessage()
func (*Schema) XXX_DiscardUnknown ¶
func (m *Schema) XXX_DiscardUnknown()
func (*Schema) XXX_Marshal ¶
func (*Schema) XXX_Unmarshal ¶
type SchemaProperty ¶
type SchemaProperty struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"` Required []string `protobuf:"bytes,5,rep,name=required,proto3" json:"required,omitempty"` AdditionalProperties bool `protobuf:"varint,6,opt,name=additionalProperties,proto3" json:"additionalProperties,omitempty"` }
func (*SchemaProperty) Descriptor ¶
func (*SchemaProperty) Descriptor() ([]byte, []int)
func (*SchemaProperty) GetAdditionalProperties ¶
func (m *SchemaProperty) GetAdditionalProperties() bool
func (*SchemaProperty) GetDescription ¶
func (m *SchemaProperty) GetDescription() string
func (*SchemaProperty) GetProperties ¶
func (m *SchemaProperty) GetProperties() string
func (*SchemaProperty) GetRequired ¶
func (m *SchemaProperty) GetRequired() []string
func (*SchemaProperty) GetSchema ¶
func (m *SchemaProperty) GetSchema() string
func (*SchemaProperty) GetType ¶
func (m *SchemaProperty) GetType() string
func (*SchemaProperty) Marshal ¶
func (m *SchemaProperty) Marshal() (dAtA []byte, err error)
func (*SchemaProperty) MarshalToSizedBuffer ¶
func (m *SchemaProperty) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SchemaProperty) ProtoMessage ¶
func (*SchemaProperty) ProtoMessage()
func (*SchemaProperty) Reset ¶
func (m *SchemaProperty) Reset()
func (*SchemaProperty) Size ¶
func (m *SchemaProperty) Size() (n int)
func (*SchemaProperty) String ¶
func (m *SchemaProperty) String() string
func (*SchemaProperty) Unmarshal ¶
func (m *SchemaProperty) Unmarshal(dAtA []byte) error
func (*SchemaProperty) XXX_DiscardUnknown ¶
func (m *SchemaProperty) XXX_DiscardUnknown()
func (*SchemaProperty) XXX_Marshal ¶
func (m *SchemaProperty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SchemaProperty) XXX_Merge ¶
func (m *SchemaProperty) XXX_Merge(src proto.Message)
func (*SchemaProperty) XXX_Size ¶
func (m *SchemaProperty) XXX_Size() int
func (*SchemaProperty) XXX_Unmarshal ¶
func (m *SchemaProperty) XXX_Unmarshal(b []byte) error
type Service ¶ added in v0.0.2
type Service struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` ServiceEndpoint string `protobuf:"bytes,3,opt,name=serviceEndpoint,proto3" json:"serviceEndpoint,omitempty"` }
func (*Service) Descriptor ¶ added in v0.0.2
func (*Service) GetServiceEndpoint ¶ added in v0.0.2
func (*Service) MarshalToSizedBuffer ¶ added in v0.0.2
func (*Service) ProtoMessage ¶ added in v0.0.2
func (*Service) ProtoMessage()
func (*Service) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *Service) XXX_DiscardUnknown()
func (*Service) XXX_Marshal ¶ added in v0.0.2
func (*Service) XXX_Unmarshal ¶ added in v0.0.2
type SignInfo ¶
type SignInfo struct { VerificationMethodId string `protobuf:"bytes,1,opt,name=verification_method_id,json=verificationMethodId,proto3" json:"verification_method_id,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*SignInfo) Descriptor ¶
func (*SignInfo) GetSignature ¶
func (*SignInfo) GetVerificationMethodId ¶
func (*SignInfo) MarshalToSizedBuffer ¶
func (*SignInfo) ProtoMessage ¶
func (*SignInfo) ProtoMessage()
func (*SignInfo) XXX_DiscardUnknown ¶
func (m *SignInfo) XXX_DiscardUnknown()
func (*SignInfo) XXX_Marshal ¶
func (*SignInfo) XXX_Unmarshal ¶
type Signer ¶
type Signer struct { Signer string Authentication []string VerificationMethod []*VerificationMethod }
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateDID ¶
func (*UnimplementedMsgServer) CreateDID(ctx context.Context, req *MsgCreateDID) (*MsgCreateDIDResponse, error)
func (*UnimplementedMsgServer) CreateSchema ¶
func (*UnimplementedMsgServer) CreateSchema(ctx context.Context, req *MsgCreateSchema) (*MsgCreateSchemaResponse, error)
func (*UnimplementedMsgServer) UpdateDID ¶
func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) DidDocCount ¶
func (*UnimplementedQueryServer) DidDocCount(ctx context.Context, req *QueryDidDocCountRequest) (*QueryDidDocCountResponse, error)
func (*UnimplementedQueryServer) GetDidDocById ¶
func (*UnimplementedQueryServer) GetDidDocById(ctx context.Context, req *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error)
func (*UnimplementedQueryServer) GetSchema ¶
func (*UnimplementedQueryServer) GetSchema(ctx context.Context, req *QueryGetSchemaRequest) (*QueryGetSchemaResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) SchemaCount ¶
func (*UnimplementedQueryServer) SchemaCount(ctx context.Context, req *QuerySchemaCountRequest) (*QuerySchemaCountResponse, error)
func (*UnimplementedQueryServer) Schemas ¶
func (*UnimplementedQueryServer) Schemas(ctx context.Context, req *QuerySchemasRequest) (*QuerySchemasResponse, error)
type VerificationMethod ¶ added in v0.0.2
type VerificationMethod struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Controller string `protobuf:"bytes,3,opt,name=controller,proto3" json:"controller,omitempty"` PublicKeyMultibase string `protobuf:"bytes,4,opt,name=publicKeyMultibase,proto3" json:"publicKeyMultibase,omitempty"` }
func (*VerificationMethod) Descriptor ¶ added in v0.0.2
func (*VerificationMethod) Descriptor() ([]byte, []int)
func (*VerificationMethod) GetController ¶ added in v0.0.2
func (m *VerificationMethod) GetController() string
func (*VerificationMethod) GetId ¶ added in v0.0.2
func (m *VerificationMethod) GetId() string
func (VerificationMethod) GetPublicKey ¶ added in v0.0.2
func (v VerificationMethod) GetPublicKey() ([]byte, error)
func (*VerificationMethod) GetPublicKeyMultibase ¶ added in v0.0.2
func (m *VerificationMethod) GetPublicKeyMultibase() string
func (*VerificationMethod) GetType ¶ added in v0.0.2
func (m *VerificationMethod) GetType() string
func (*VerificationMethod) Marshal ¶ added in v0.0.2
func (m *VerificationMethod) Marshal() (dAtA []byte, err error)
func (*VerificationMethod) MarshalTo ¶ added in v0.0.2
func (m *VerificationMethod) MarshalTo(dAtA []byte) (int, error)
func (*VerificationMethod) MarshalToSizedBuffer ¶ added in v0.0.2
func (m *VerificationMethod) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VerificationMethod) ProtoMessage ¶ added in v0.0.2
func (*VerificationMethod) ProtoMessage()
func (*VerificationMethod) Reset ¶ added in v0.0.2
func (m *VerificationMethod) Reset()
func (*VerificationMethod) Size ¶ added in v0.0.2
func (m *VerificationMethod) Size() (n int)
func (*VerificationMethod) String ¶ added in v0.0.2
func (m *VerificationMethod) String() string
func (*VerificationMethod) Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) Unmarshal(dAtA []byte) error
func (*VerificationMethod) XXX_DiscardUnknown ¶ added in v0.0.2
func (m *VerificationMethod) XXX_DiscardUnknown()
func (*VerificationMethod) XXX_Marshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VerificationMethod) XXX_Merge ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Merge(src proto.Message)
func (*VerificationMethod) XXX_Size ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Size() int
func (*VerificationMethod) XXX_Unmarshal ¶ added in v0.0.2
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error