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) 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) 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 DidDocument
- func (*DidDocument) Descriptor() ([]byte, []int)
- func (m *DidDocument) GetDid() *Did
- func (m *DidDocument) GetMetadata() *Metadata
- func (m *DidDocument) Marshal() (dAtA []byte, err error)
- func (m *DidDocument) MarshalTo(dAtA []byte) (int, error)
- func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidDocument) ProtoMessage()
- func (m *DidDocument) Reset()
- func (m *DidDocument) Size() (n int)
- func (m *DidDocument) String() string
- func (m *DidDocument) Unmarshal(dAtA []byte) error
- func (m *DidDocument) XXX_DiscardUnknown()
- func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidDocument) XXX_Merge(src proto.Message)
- func (m *DidDocument) XXX_Size() int
- func (m *DidDocument) XXX_Unmarshal(b []byte) error
- type DidResolutionResponse
- func (*DidResolutionResponse) Descriptor() ([]byte, []int)
- func (m *DidResolutionResponse) GetDidDocument() *Did
- func (m *DidResolutionResponse) GetDidDocumentMetadata() *Metadata
- func (m *DidResolutionResponse) GetDidResolutionMetadata() *DidResolveMeta
- func (m *DidResolutionResponse) GetXAtContext() string
- func (m *DidResolutionResponse) Marshal() (dAtA []byte, err error)
- func (m *DidResolutionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *DidResolutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidResolutionResponse) ProtoMessage()
- func (m *DidResolutionResponse) Reset()
- func (m *DidResolutionResponse) Size() (n int)
- func (m *DidResolutionResponse) String() string
- func (m *DidResolutionResponse) Unmarshal(dAtA []byte) error
- func (m *DidResolutionResponse) XXX_DiscardUnknown()
- func (m *DidResolutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidResolutionResponse) XXX_Merge(src proto.Message)
- func (m *DidResolutionResponse) XXX_Size() int
- func (m *DidResolutionResponse) XXX_Unmarshal(b []byte) error
- type DidResolveMeta
- func (*DidResolveMeta) Descriptor() ([]byte, []int)
- func (m *DidResolveMeta) GetError() string
- func (m *DidResolveMeta) GetRetrieved() string
- func (m *DidResolveMeta) Marshal() (dAtA []byte, err error)
- func (m *DidResolveMeta) MarshalTo(dAtA []byte) (int, error)
- func (m *DidResolveMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DidResolveMeta) ProtoMessage()
- func (m *DidResolveMeta) Reset()
- func (m *DidResolveMeta) Size() (n int)
- func (m *DidResolveMeta) String() string
- func (m *DidResolveMeta) Unmarshal(dAtA []byte) error
- func (m *DidResolveMeta) XXX_DiscardUnknown()
- func (m *DidResolveMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DidResolveMeta) XXX_Merge(src proto.Message)
- func (m *DidResolveMeta) XXX_Size() int
- func (m *DidResolveMeta) 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 Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetCreated() string
- func (m *Metadata) GetDeactivated() bool
- func (m *Metadata) GetUpdated() string
- func (m *Metadata) GetVersionId() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- 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 MsgDeactivateDID
- func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDID) GetCreator() string
- func (m *MsgDeactivateDID) GetDidDocString() *Did
- func (msg *MsgDeactivateDID) GetSignBytes() []byte
- func (m *MsgDeactivateDID) GetSignatures() []*SignInfo
- func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
- func (m *MsgDeactivateDID) GetVersionId() string
- func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDID) ProtoMessage()
- func (m *MsgDeactivateDID) Reset()
- func (msg *MsgDeactivateDID) Route() string
- func (m *MsgDeactivateDID) Size() (n int)
- func (m *MsgDeactivateDID) String() string
- func (msg *MsgDeactivateDID) Type() string
- func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
- func (msg *MsgDeactivateDID) ValidateBasic() error
- func (m *MsgDeactivateDID) XXX_DiscardUnknown()
- func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDID) XXX_Size() int
- func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
- type MsgDeactivateDIDResponse
- func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeactivateDIDResponse) GetId() uint64
- func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeactivateDIDResponse) ProtoMessage()
- func (m *MsgDeactivateDIDResponse) Reset()
- func (m *MsgDeactivateDIDResponse) Size() (n int)
- func (m *MsgDeactivateDIDResponse) String() string
- func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
- func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeactivateDIDResponse) XXX_Size() int
- func (m *MsgDeactivateDIDResponse) 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) GetVersionId() string
- 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 QueryDidParamRequest
- func (*QueryDidParamRequest) Descriptor() ([]byte, []int)
- func (m *QueryDidParamRequest) GetCount() bool
- func (m *QueryDidParamRequest) GetPagination() *query.PageRequest
- func (m *QueryDidParamRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryDidParamRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidParamRequest) ProtoMessage()
- func (m *QueryDidParamRequest) Reset()
- func (m *QueryDidParamRequest) Size() (n int)
- func (m *QueryDidParamRequest) String() string
- func (m *QueryDidParamRequest) Unmarshal(dAtA []byte) error
- func (m *QueryDidParamRequest) XXX_DiscardUnknown()
- func (m *QueryDidParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidParamRequest) XXX_Merge(src proto.Message)
- func (m *QueryDidParamRequest) XXX_Size() int
- func (m *QueryDidParamRequest) XXX_Unmarshal(b []byte) error
- type QueryDidParamResponse
- func (*QueryDidParamResponse) Descriptor() ([]byte, []int)
- func (m *QueryDidParamResponse) GetDidDocList() []*DidResolutionResponse
- func (m *QueryDidParamResponse) GetTotalDidCount() uint64
- func (m *QueryDidParamResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDidParamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDidParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDidParamResponse) ProtoMessage()
- func (m *QueryDidParamResponse) Reset()
- func (m *QueryDidParamResponse) Size() (n int)
- func (m *QueryDidParamResponse) String() string
- func (m *QueryDidParamResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDidParamResponse) XXX_DiscardUnknown()
- func (m *QueryDidParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDidParamResponse) XXX_Merge(src proto.Message)
- func (m *QueryDidParamResponse) XXX_Size() int
- func (m *QueryDidParamResponse) XXX_Unmarshal(b []byte) error
- type QueryGetDidDocByIdRequest
- func (*QueryGetDidDocByIdRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetDidDocByIdRequest) GetDidId() string
- func (m *QueryGetDidDocByIdRequest) GetVersionId() 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) GetDidDocument() *Did
- func (m *QueryGetDidDocByIdResponse) GetDidDocumentMetadata() *Metadata
- func (m *QueryGetDidDocByIdResponse) GetDidResolutionMetadata() *DidResolveMeta
- func (m *QueryGetDidDocByIdResponse) GetXAtContext() string
- 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 QuerySchemaParamRequest
- func (*QuerySchemaParamRequest) Descriptor() ([]byte, []int)
- func (m *QuerySchemaParamRequest) GetPagination() *query.PageRequest
- func (m *QuerySchemaParamRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaParamRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaParamRequest) ProtoMessage()
- func (m *QuerySchemaParamRequest) Reset()
- func (m *QuerySchemaParamRequest) Size() (n int)
- func (m *QuerySchemaParamRequest) String() string
- func (m *QuerySchemaParamRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaParamRequest) XXX_DiscardUnknown()
- func (m *QuerySchemaParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaParamRequest) XXX_Merge(src proto.Message)
- func (m *QuerySchemaParamRequest) XXX_Size() int
- func (m *QuerySchemaParamRequest) XXX_Unmarshal(b []byte) error
- type QuerySchemaParamResponse
- func (*QuerySchemaParamResponse) Descriptor() ([]byte, []int)
- func (m *QuerySchemaParamResponse) GetSchemaList() []*Schema
- func (m *QuerySchemaParamResponse) GetTotalCount() uint64
- func (m *QuerySchemaParamResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySchemaParamResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySchemaParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySchemaParamResponse) ProtoMessage()
- func (m *QuerySchemaParamResponse) Reset()
- func (m *QuerySchemaParamResponse) Size() (n int)
- func (m *QuerySchemaParamResponse) String() string
- func (m *QuerySchemaParamResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySchemaParamResponse) XXX_DiscardUnknown()
- func (m *QuerySchemaParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySchemaParamResponse) XXX_Merge(src proto.Message)
- func (m *QuerySchemaParamResponse) XXX_Size() int
- func (m *QuerySchemaParamResponse) 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) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, error)
- func (*UnimplementedMsgServer) UpdateDID(ctx context.Context, req *MsgUpdateDID) (*MsgUpdateDIDResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) DidParam(ctx context.Context, req *QueryDidParamRequest) (*QueryDidParamResponse, error)
- func (*UnimplementedQueryServer) GetSchema(ctx context.Context, req *QueryGetSchemaRequest) (*QueryGetSchemaResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ResolveDid(ctx context.Context, req *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error)
- func (*UnimplementedQueryServer) SchemaParam(ctx context.Context, req *QuerySchemaParamRequest) (*QuerySchemaParamResponse, 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 TypeMsgDeactivateDID = "deactivate_did"
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") ErrUnexpectedDidVersion = sdkerrors.Register(ModuleName, 113, "Unexpected DID version") ErrDidDocDeactivated = sdkerrors.Register(ModuleName, 114, "DID Document is deactivated") ErrInvalidDidElements = sdkerrors.Register(ModuleName, 115, "Invalid DID elements") ErrInvalidDidMethod = sdkerrors.Register(ModuleName, 116, "Invalid DID method") )
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"` }
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) 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) 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 DidDocument ¶ added in v0.0.3
type DidDocument struct { Did *Did `protobuf:"bytes,1,opt,name=did,proto3" json:"did,omitempty"` Metadata *Metadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` }
func (*DidDocument) Descriptor ¶ added in v0.0.3
func (*DidDocument) Descriptor() ([]byte, []int)
func (*DidDocument) GetDid ¶ added in v0.0.3
func (m *DidDocument) GetDid() *Did
func (*DidDocument) GetMetadata ¶ added in v0.0.3
func (m *DidDocument) GetMetadata() *Metadata
func (*DidDocument) Marshal ¶ added in v0.0.3
func (m *DidDocument) Marshal() (dAtA []byte, err error)
func (*DidDocument) MarshalTo ¶ added in v0.0.3
func (m *DidDocument) MarshalTo(dAtA []byte) (int, error)
func (*DidDocument) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *DidDocument) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidDocument) ProtoMessage ¶ added in v0.0.3
func (*DidDocument) ProtoMessage()
func (*DidDocument) Reset ¶ added in v0.0.3
func (m *DidDocument) Reset()
func (*DidDocument) Size ¶ added in v0.0.3
func (m *DidDocument) Size() (n int)
func (*DidDocument) String ¶ added in v0.0.3
func (m *DidDocument) String() string
func (*DidDocument) Unmarshal ¶ added in v0.0.3
func (m *DidDocument) Unmarshal(dAtA []byte) error
func (*DidDocument) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *DidDocument) XXX_DiscardUnknown()
func (*DidDocument) XXX_Marshal ¶ added in v0.0.3
func (m *DidDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidDocument) XXX_Merge ¶ added in v0.0.3
func (m *DidDocument) XXX_Merge(src proto.Message)
func (*DidDocument) XXX_Size ¶ added in v0.0.3
func (m *DidDocument) XXX_Size() int
func (*DidDocument) XXX_Unmarshal ¶ added in v0.0.3
func (m *DidDocument) XXX_Unmarshal(b []byte) error
type DidResolutionResponse ¶ added in v0.0.3
type DidResolutionResponse struct { XAtContext string `protobuf:"bytes,1,opt,name=_at_context,json=AtContext,proto3" json:"_at_context,omitempty"` DidDocument *Did `protobuf:"bytes,2,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *Metadata `protobuf:"bytes,3,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` DidResolutionMetadata *DidResolveMeta `protobuf:"bytes,4,opt,name=didResolutionMetadata,proto3" json:"didResolutionMetadata,omitempty"` }
func (*DidResolutionResponse) Descriptor ¶ added in v0.0.3
func (*DidResolutionResponse) Descriptor() ([]byte, []int)
func (*DidResolutionResponse) GetDidDocument ¶ added in v0.0.3
func (m *DidResolutionResponse) GetDidDocument() *Did
func (*DidResolutionResponse) GetDidDocumentMetadata ¶ added in v0.0.3
func (m *DidResolutionResponse) GetDidDocumentMetadata() *Metadata
func (*DidResolutionResponse) GetDidResolutionMetadata ¶ added in v0.0.3
func (m *DidResolutionResponse) GetDidResolutionMetadata() *DidResolveMeta
func (*DidResolutionResponse) GetXAtContext ¶ added in v0.0.3
func (m *DidResolutionResponse) GetXAtContext() string
func (*DidResolutionResponse) Marshal ¶ added in v0.0.3
func (m *DidResolutionResponse) Marshal() (dAtA []byte, err error)
func (*DidResolutionResponse) MarshalTo ¶ added in v0.0.3
func (m *DidResolutionResponse) MarshalTo(dAtA []byte) (int, error)
func (*DidResolutionResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *DidResolutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidResolutionResponse) ProtoMessage ¶ added in v0.0.3
func (*DidResolutionResponse) ProtoMessage()
func (*DidResolutionResponse) Reset ¶ added in v0.0.3
func (m *DidResolutionResponse) Reset()
func (*DidResolutionResponse) Size ¶ added in v0.0.3
func (m *DidResolutionResponse) Size() (n int)
func (*DidResolutionResponse) String ¶ added in v0.0.3
func (m *DidResolutionResponse) String() string
func (*DidResolutionResponse) Unmarshal ¶ added in v0.0.3
func (m *DidResolutionResponse) Unmarshal(dAtA []byte) error
func (*DidResolutionResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *DidResolutionResponse) XXX_DiscardUnknown()
func (*DidResolutionResponse) XXX_Marshal ¶ added in v0.0.3
func (m *DidResolutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidResolutionResponse) XXX_Merge ¶ added in v0.0.3
func (m *DidResolutionResponse) XXX_Merge(src proto.Message)
func (*DidResolutionResponse) XXX_Size ¶ added in v0.0.3
func (m *DidResolutionResponse) XXX_Size() int
func (*DidResolutionResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *DidResolutionResponse) XXX_Unmarshal(b []byte) error
type DidResolveMeta ¶ added in v0.0.3
type DidResolveMeta struct { Retrieved string `protobuf:"bytes,2,opt,name=retrieved,proto3" json:"retrieved,omitempty"` Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` }
func (*DidResolveMeta) Descriptor ¶ added in v0.0.3
func (*DidResolveMeta) Descriptor() ([]byte, []int)
func (*DidResolveMeta) GetError ¶ added in v0.0.3
func (m *DidResolveMeta) GetError() string
func (*DidResolveMeta) GetRetrieved ¶ added in v0.0.3
func (m *DidResolveMeta) GetRetrieved() string
func (*DidResolveMeta) Marshal ¶ added in v0.0.3
func (m *DidResolveMeta) Marshal() (dAtA []byte, err error)
func (*DidResolveMeta) MarshalTo ¶ added in v0.0.3
func (m *DidResolveMeta) MarshalTo(dAtA []byte) (int, error)
func (*DidResolveMeta) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *DidResolveMeta) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DidResolveMeta) ProtoMessage ¶ added in v0.0.3
func (*DidResolveMeta) ProtoMessage()
func (*DidResolveMeta) Reset ¶ added in v0.0.3
func (m *DidResolveMeta) Reset()
func (*DidResolveMeta) Size ¶ added in v0.0.3
func (m *DidResolveMeta) Size() (n int)
func (*DidResolveMeta) String ¶ added in v0.0.3
func (m *DidResolveMeta) String() string
func (*DidResolveMeta) Unmarshal ¶ added in v0.0.3
func (m *DidResolveMeta) Unmarshal(dAtA []byte) error
func (*DidResolveMeta) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *DidResolveMeta) XXX_DiscardUnknown()
func (*DidResolveMeta) XXX_Marshal ¶ added in v0.0.3
func (m *DidResolveMeta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DidResolveMeta) XXX_Merge ¶ added in v0.0.3
func (m *DidResolveMeta) XXX_Merge(src proto.Message)
func (*DidResolveMeta) XXX_Size ¶ added in v0.0.3
func (m *DidResolveMeta) XXX_Size() int
func (*DidResolveMeta) XXX_Unmarshal ¶ added in v0.0.3
func (m *DidResolveMeta) XXX_Unmarshal(b []byte) error
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 Metadata ¶ added in v0.0.3
type Metadata struct { Created string `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` Updated string `protobuf:"bytes,2,opt,name=updated,proto3" json:"updated,omitempty"` Deactivated bool `protobuf:"varint,3,opt,name=deactivated,proto3" json:"deactivated,omitempty"` VersionId string `protobuf:"bytes,4,opt,name=versionId,proto3" json:"versionId,omitempty"` }
func CreateNewMetadata ¶ added in v0.0.3
func (*Metadata) Descriptor ¶ added in v0.0.3
func (*Metadata) GetCreated ¶ added in v0.0.3
func (*Metadata) GetDeactivated ¶ added in v0.0.3
func (*Metadata) GetUpdated ¶ added in v0.0.3
func (*Metadata) GetVersionId ¶ added in v0.0.3
func (*Metadata) MarshalToSizedBuffer ¶ added in v0.0.3
func (*Metadata) ProtoMessage ¶ added in v0.0.3
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶ added in v0.0.3
func (*Metadata) XXX_Unmarshal ¶ added in v0.0.3
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) DeactivateDID(ctx context.Context, in *MsgDeactivateDID, opts ...grpc.CallOption) (*MsgDeactivateDIDResponse, 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 MsgDeactivateDID ¶ added in v0.0.3
type MsgDeactivateDID struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` DidDocString *Did `protobuf:"bytes,2,opt,name=didDocString,proto3" json:"didDocString,omitempty"` VersionId string `protobuf:"bytes,3,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` Signatures []*SignInfo `protobuf:"bytes,4,rep,name=signatures,proto3" json:"signatures,omitempty"` }
func NewMsgDeactivateDID ¶ added in v0.0.3
func NewMsgDeactivateDID(creator string, didDocString *Did, versionId string, signatures []*SignInfo) *MsgDeactivateDID
func (*MsgDeactivateDID) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDID) Descriptor() ([]byte, []int)
func (*MsgDeactivateDID) GetCreator ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetCreator() string
func (*MsgDeactivateDID) GetDidDocString ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetDidDocString() *Did
func (*MsgDeactivateDID) GetSignBytes ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSignBytes() []byte
func (*MsgDeactivateDID) GetSignatures ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetSignatures() []*SignInfo
func (*MsgDeactivateDID) GetSigners ¶ added in v0.0.3
func (msg *MsgDeactivateDID) GetSigners() []sdk.AccAddress
func (*MsgDeactivateDID) GetVersionId ¶ added in v0.0.3
func (m *MsgDeactivateDID) GetVersionId() string
func (*MsgDeactivateDID) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDID) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDID) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDID) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDID) ProtoMessage()
func (*MsgDeactivateDID) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDID) Reset()
func (*MsgDeactivateDID) Route ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Route() string
func (*MsgDeactivateDID) Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) Size() (n int)
func (*MsgDeactivateDID) String ¶ added in v0.0.3
func (m *MsgDeactivateDID) String() string
func (*MsgDeactivateDID) Type ¶ added in v0.0.3
func (msg *MsgDeactivateDID) Type() string
func (*MsgDeactivateDID) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDID) ValidateBasic ¶ added in v0.0.3
func (msg *MsgDeactivateDID) ValidateBasic() error
func (*MsgDeactivateDID) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_DiscardUnknown()
func (*MsgDeactivateDID) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDID) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Merge(src proto.Message)
func (*MsgDeactivateDID) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Size() int
func (*MsgDeactivateDID) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDID) XXX_Unmarshal(b []byte) error
type MsgDeactivateDIDResponse ¶ added in v0.0.3
type MsgDeactivateDIDResponse struct {
Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
}
func (*MsgDeactivateDIDResponse) Descriptor ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) Descriptor() ([]byte, []int)
func (*MsgDeactivateDIDResponse) GetId ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) GetId() uint64
func (*MsgDeactivateDIDResponse) Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeactivateDIDResponse) MarshalTo ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeactivateDIDResponse) ProtoMessage ¶ added in v0.0.3
func (*MsgDeactivateDIDResponse) ProtoMessage()
func (*MsgDeactivateDIDResponse) Reset ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Reset()
func (*MsgDeactivateDIDResponse) Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Size() (n int)
func (*MsgDeactivateDIDResponse) String ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) String() string
func (*MsgDeactivateDIDResponse) Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) Unmarshal(dAtA []byte) error
func (*MsgDeactivateDIDResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_DiscardUnknown()
func (*MsgDeactivateDIDResponse) XXX_Marshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeactivateDIDResponse) XXX_Merge ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Merge(src proto.Message)
func (*MsgDeactivateDIDResponse) XXX_Size ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) XXX_Size() int
func (*MsgDeactivateDIDResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *MsgDeactivateDIDResponse) 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) DeactivateDID(context.Context, *MsgDeactivateDID) (*MsgDeactivateDIDResponse, 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"` VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"` Signatures []*SignInfo `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` Creator string `protobuf:"bytes,4,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) GetVersionId ¶ added in v0.0.3
func (m *MsgUpdateDID) GetVersionId() string
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) // Schema Param SchemaParam(ctx context.Context, in *QuerySchemaParamRequest, opts ...grpc.CallOption) (*QuerySchemaParamResponse, error) // Resolve DID ResolveDid(ctx context.Context, in *QueryGetDidDocByIdRequest, opts ...grpc.CallOption) (*QueryGetDidDocByIdResponse, error) // Did Param DidParam(ctx context.Context, in *QueryDidParamRequest, opts ...grpc.CallOption) (*QueryDidParamResponse, 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 QueryDidParamRequest ¶ added in v0.0.3
type QueryDidParamRequest struct { Count bool `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryDidParamRequest) Descriptor ¶ added in v0.0.3
func (*QueryDidParamRequest) Descriptor() ([]byte, []int)
func (*QueryDidParamRequest) GetCount ¶ added in v0.0.3
func (m *QueryDidParamRequest) GetCount() bool
func (*QueryDidParamRequest) GetPagination ¶ added in v0.0.3
func (m *QueryDidParamRequest) GetPagination() *query.PageRequest
func (*QueryDidParamRequest) Marshal ¶ added in v0.0.3
func (m *QueryDidParamRequest) Marshal() (dAtA []byte, err error)
func (*QueryDidParamRequest) MarshalTo ¶ added in v0.0.3
func (m *QueryDidParamRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidParamRequest) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryDidParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidParamRequest) ProtoMessage ¶ added in v0.0.3
func (*QueryDidParamRequest) ProtoMessage()
func (*QueryDidParamRequest) Reset ¶ added in v0.0.3
func (m *QueryDidParamRequest) Reset()
func (*QueryDidParamRequest) Size ¶ added in v0.0.3
func (m *QueryDidParamRequest) Size() (n int)
func (*QueryDidParamRequest) String ¶ added in v0.0.3
func (m *QueryDidParamRequest) String() string
func (*QueryDidParamRequest) Unmarshal ¶ added in v0.0.3
func (m *QueryDidParamRequest) Unmarshal(dAtA []byte) error
func (*QueryDidParamRequest) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryDidParamRequest) XXX_DiscardUnknown()
func (*QueryDidParamRequest) XXX_Marshal ¶ added in v0.0.3
func (m *QueryDidParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidParamRequest) XXX_Merge ¶ added in v0.0.3
func (m *QueryDidParamRequest) XXX_Merge(src proto.Message)
func (*QueryDidParamRequest) XXX_Size ¶ added in v0.0.3
func (m *QueryDidParamRequest) XXX_Size() int
func (*QueryDidParamRequest) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryDidParamRequest) XXX_Unmarshal(b []byte) error
type QueryDidParamResponse ¶ added in v0.0.3
type QueryDidParamResponse struct { TotalDidCount uint64 `protobuf:"varint,1,opt,name=totalDidCount,proto3" json:"totalDidCount,omitempty"` DidDocList []*DidResolutionResponse `protobuf:"bytes,2,rep,name=didDocList,proto3" json:"didDocList,omitempty"` }
func (*QueryDidParamResponse) Descriptor ¶ added in v0.0.3
func (*QueryDidParamResponse) Descriptor() ([]byte, []int)
func (*QueryDidParamResponse) GetDidDocList ¶ added in v0.0.3
func (m *QueryDidParamResponse) GetDidDocList() []*DidResolutionResponse
func (*QueryDidParamResponse) GetTotalDidCount ¶ added in v0.0.3
func (m *QueryDidParamResponse) GetTotalDidCount() uint64
func (*QueryDidParamResponse) Marshal ¶ added in v0.0.3
func (m *QueryDidParamResponse) Marshal() (dAtA []byte, err error)
func (*QueryDidParamResponse) MarshalTo ¶ added in v0.0.3
func (m *QueryDidParamResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDidParamResponse) MarshalToSizedBuffer ¶ added in v0.0.3
func (m *QueryDidParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDidParamResponse) ProtoMessage ¶ added in v0.0.3
func (*QueryDidParamResponse) ProtoMessage()
func (*QueryDidParamResponse) Reset ¶ added in v0.0.3
func (m *QueryDidParamResponse) Reset()
func (*QueryDidParamResponse) Size ¶ added in v0.0.3
func (m *QueryDidParamResponse) Size() (n int)
func (*QueryDidParamResponse) String ¶ added in v0.0.3
func (m *QueryDidParamResponse) String() string
func (*QueryDidParamResponse) Unmarshal ¶ added in v0.0.3
func (m *QueryDidParamResponse) Unmarshal(dAtA []byte) error
func (*QueryDidParamResponse) XXX_DiscardUnknown ¶ added in v0.0.3
func (m *QueryDidParamResponse) XXX_DiscardUnknown()
func (*QueryDidParamResponse) XXX_Marshal ¶ added in v0.0.3
func (m *QueryDidParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDidParamResponse) XXX_Merge ¶ added in v0.0.3
func (m *QueryDidParamResponse) XXX_Merge(src proto.Message)
func (*QueryDidParamResponse) XXX_Size ¶ added in v0.0.3
func (m *QueryDidParamResponse) XXX_Size() int
func (*QueryDidParamResponse) XXX_Unmarshal ¶ added in v0.0.3
func (m *QueryDidParamResponse) XXX_Unmarshal(b []byte) error
type QueryGetDidDocByIdRequest ¶
type QueryGetDidDocByIdRequest struct { DidId string `protobuf:"bytes,1,opt,name=didId,proto3" json:"didId,omitempty"` VersionId string `protobuf:"bytes,2,opt,name=versionId,proto3" json:"versionId,omitempty"` }
func (*QueryGetDidDocByIdRequest) Descriptor ¶
func (*QueryGetDidDocByIdRequest) Descriptor() ([]byte, []int)
func (*QueryGetDidDocByIdRequest) GetDidId ¶ added in v0.0.3
func (m *QueryGetDidDocByIdRequest) GetDidId() string
func (*QueryGetDidDocByIdRequest) GetVersionId ¶ added in v0.0.3
func (m *QueryGetDidDocByIdRequest) GetVersionId() 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 { XAtContext string `protobuf:"bytes,1,opt,name=_at_context,json=AtContext,proto3" json:"_at_context,omitempty"` DidDocument *Did `protobuf:"bytes,2,opt,name=didDocument,proto3" json:"didDocument,omitempty"` DidDocumentMetadata *Metadata `protobuf:"bytes,3,opt,name=didDocumentMetadata,proto3" json:"didDocumentMetadata,omitempty"` DidResolutionMetadata *DidResolveMeta `protobuf:"bytes,4,opt,name=didResolutionMetadata,proto3" json:"didResolutionMetadata,omitempty"` }
func (*QueryGetDidDocByIdResponse) Descriptor ¶
func (*QueryGetDidDocByIdResponse) Descriptor() ([]byte, []int)
func (*QueryGetDidDocByIdResponse) GetDidDocument ¶ added in v0.0.3
func (m *QueryGetDidDocByIdResponse) GetDidDocument() *Did
func (*QueryGetDidDocByIdResponse) GetDidDocumentMetadata ¶ added in v0.0.3
func (m *QueryGetDidDocByIdResponse) GetDidDocumentMetadata() *Metadata
func (*QueryGetDidDocByIdResponse) GetDidResolutionMetadata ¶ added in v0.0.3
func (m *QueryGetDidDocByIdResponse) GetDidResolutionMetadata() *DidResolveMeta
func (*QueryGetDidDocByIdResponse) GetXAtContext ¶ added in v0.0.3
func (m *QueryGetDidDocByIdResponse) GetXAtContext() string
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,rep,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 QuerySchemaParamRequest ¶ added in v0.0.5
type QuerySchemaParamRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QuerySchemaParamRequest) Descriptor ¶ added in v0.0.5
func (*QuerySchemaParamRequest) Descriptor() ([]byte, []int)
func (*QuerySchemaParamRequest) GetPagination ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) GetPagination() *query.PageRequest
func (*QuerySchemaParamRequest) Marshal ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) Marshal() (dAtA []byte, err error)
func (*QuerySchemaParamRequest) MarshalTo ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaParamRequest) MarshalToSizedBuffer ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaParamRequest) ProtoMessage ¶ added in v0.0.5
func (*QuerySchemaParamRequest) ProtoMessage()
func (*QuerySchemaParamRequest) Reset ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) Reset()
func (*QuerySchemaParamRequest) Size ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) Size() (n int)
func (*QuerySchemaParamRequest) String ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) String() string
func (*QuerySchemaParamRequest) Unmarshal ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) Unmarshal(dAtA []byte) error
func (*QuerySchemaParamRequest) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) XXX_DiscardUnknown()
func (*QuerySchemaParamRequest) XXX_Marshal ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaParamRequest) XXX_Merge ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) XXX_Merge(src proto.Message)
func (*QuerySchemaParamRequest) XXX_Size ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) XXX_Size() int
func (*QuerySchemaParamRequest) XXX_Unmarshal ¶ added in v0.0.5
func (m *QuerySchemaParamRequest) XXX_Unmarshal(b []byte) error
type QuerySchemaParamResponse ¶ added in v0.0.5
type QuerySchemaParamResponse struct { TotalCount uint64 `protobuf:"varint,1,opt,name=totalCount,proto3" json:"totalCount,omitempty"` SchemaList []*Schema `protobuf:"bytes,2,rep,name=schemaList,proto3" json:"schemaList,omitempty"` }
func (*QuerySchemaParamResponse) Descriptor ¶ added in v0.0.5
func (*QuerySchemaParamResponse) Descriptor() ([]byte, []int)
func (*QuerySchemaParamResponse) GetSchemaList ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) GetSchemaList() []*Schema
func (*QuerySchemaParamResponse) GetTotalCount ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) GetTotalCount() uint64
func (*QuerySchemaParamResponse) Marshal ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) Marshal() (dAtA []byte, err error)
func (*QuerySchemaParamResponse) MarshalTo ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySchemaParamResponse) MarshalToSizedBuffer ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySchemaParamResponse) ProtoMessage ¶ added in v0.0.5
func (*QuerySchemaParamResponse) ProtoMessage()
func (*QuerySchemaParamResponse) Reset ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) Reset()
func (*QuerySchemaParamResponse) Size ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) Size() (n int)
func (*QuerySchemaParamResponse) String ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) String() string
func (*QuerySchemaParamResponse) Unmarshal ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) Unmarshal(dAtA []byte) error
func (*QuerySchemaParamResponse) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) XXX_DiscardUnknown()
func (*QuerySchemaParamResponse) XXX_Marshal ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySchemaParamResponse) XXX_Merge ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) XXX_Merge(src proto.Message)
func (*QuerySchemaParamResponse) XXX_Size ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) XXX_Size() int
func (*QuerySchemaParamResponse) XXX_Unmarshal ¶ added in v0.0.5
func (m *QuerySchemaParamResponse) 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) // Schema Param SchemaParam(context.Context, *QuerySchemaParamRequest) (*QuerySchemaParamResponse, error) // Resolve DID ResolveDid(context.Context, *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error) // Did Param DidParam(context.Context, *QueryDidParamRequest) (*QueryDidParamResponse, 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) DeactivateDID ¶ added in v0.0.3
func (*UnimplementedMsgServer) DeactivateDID(ctx context.Context, req *MsgDeactivateDID) (*MsgDeactivateDIDResponse, 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) DidParam ¶ added in v0.0.3
func (*UnimplementedQueryServer) DidParam(ctx context.Context, req *QueryDidParamRequest) (*QueryDidParamResponse, 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) ResolveDid ¶ added in v0.0.3
func (*UnimplementedQueryServer) ResolveDid(ctx context.Context, req *QueryGetDidDocByIdRequest) (*QueryGetDidDocByIdResponse, error)
func (*UnimplementedQueryServer) SchemaParam ¶ added in v0.0.5
func (*UnimplementedQueryServer) SchemaParam(ctx context.Context, req *QuerySchemaParamRequest) (*QuerySchemaParamResponse, 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