Documentation ¶
Overview ¶
Package service is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GenerateChallenge() protocol.URLEncodedBase64
- func GenerateChallengeString() string
- func GetAuthenticationSelection(val string) (protocol.AuthenticatorAttachment, error)
- func GetCOSEAlgorithmIdentifier(val int64) (webauthncose.COSEAlgorithmIdentifier, error)
- func GetCredentialEntity(val string) (protocol.CredentialEntity, error)
- func GetUserEntity(address, username string) protocol.UserEntity
- func NewQueryServiceRequest(origin string) *servicev1.QueryServiceRecordRequest
- func NewQueryWebauthnRecord(origin string, handle string) *servicev1.QueryWebauthnCredentialRequest
- func RegisterInterfaces(registry types.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 BankKeeper
- type CredentialDescriptor
- func ConvertCredentialToDescriptor(credential *servicev1.WebauthnCredential) CredentialDescriptor
- func ExtractCredentialDescriptors(credentials []*servicev1.WebauthnCredential) (descriptors []CredentialDescriptor)
- func GetCredentialsByHandle(conn *grpc.ClientConn, handle, origin string) ([]CredentialDescriptor, error)
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetRecords() []Record
- 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 GroupKeeper
- type IdentityKeeper
- type MsgClient
- type MsgCreateRecord
- func (*MsgCreateRecord) Descriptor() ([]byte, []int)
- func (m *MsgCreateRecord) GetAuthority() string
- func (m *MsgCreateRecord) GetDescription() string
- func (m *MsgCreateRecord) GetName() string
- func (m *MsgCreateRecord) GetOrigin() string
- func (m *MsgCreateRecord) GetPermissions() int32
- func (m *MsgCreateRecord) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateRecord) ProtoMessage()
- func (m *MsgCreateRecord) Reset()
- func (m *MsgCreateRecord) Size() (n int)
- func (m *MsgCreateRecord) String() string
- func (m *MsgCreateRecord) Unmarshal(dAtA []byte) error
- func (m *MsgCreateRecord) XXX_DiscardUnknown()
- func (m *MsgCreateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateRecord) XXX_Merge(src proto.Message)
- func (m *MsgCreateRecord) XXX_Size() int
- func (m *MsgCreateRecord) XXX_Unmarshal(b []byte) error
- type MsgCreateRecordResponse
- func (*MsgCreateRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateRecordResponse) ProtoMessage()
- func (m *MsgCreateRecordResponse) Reset()
- func (m *MsgCreateRecordResponse) Size() (n int)
- func (m *MsgCreateRecordResponse) String() string
- func (m *MsgCreateRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateRecordResponse) XXX_DiscardUnknown()
- func (m *MsgCreateRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateRecordResponse) XXX_Size() int
- func (m *MsgCreateRecordResponse) XXX_Unmarshal(b []byte) error
- type MsgDeleteRecord
- func (*MsgDeleteRecord) Descriptor() ([]byte, []int)
- func (m *MsgDeleteRecord) GetAuthority() string
- func (m *MsgDeleteRecord) GetOrigin() string
- func (m *MsgDeleteRecord) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteRecord) ProtoMessage()
- func (m *MsgDeleteRecord) Reset()
- func (m *MsgDeleteRecord) Size() (n int)
- func (m *MsgDeleteRecord) String() string
- func (m *MsgDeleteRecord) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteRecord) XXX_DiscardUnknown()
- func (m *MsgDeleteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteRecord) XXX_Merge(src proto.Message)
- func (m *MsgDeleteRecord) XXX_Size() int
- func (m *MsgDeleteRecord) XXX_Unmarshal(b []byte) error
- type MsgDeleteRecordResponse
- func (*MsgDeleteRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgDeleteRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgDeleteRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgDeleteRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgDeleteRecordResponse) ProtoMessage()
- func (m *MsgDeleteRecordResponse) Reset()
- func (m *MsgDeleteRecordResponse) Size() (n int)
- func (m *MsgDeleteRecordResponse) String() string
- func (m *MsgDeleteRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgDeleteRecordResponse) XXX_DiscardUnknown()
- func (m *MsgDeleteRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgDeleteRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgDeleteRecordResponse) XXX_Size() int
- func (m *MsgDeleteRecordResponse) XXX_Unmarshal(b []byte) error
- type MsgLoginAccount
- func (*MsgLoginAccount) Descriptor() ([]byte, []int)
- func (m *MsgLoginAccount) GetAssertionResponse() string
- func (m *MsgLoginAccount) GetAuthority() string
- func (m *MsgLoginAccount) GetHandle() string
- func (m *MsgLoginAccount) GetOrigin() string
- func (m *MsgLoginAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgLoginAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLoginAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLoginAccount) ProtoMessage()
- func (m *MsgLoginAccount) Reset()
- func (m *MsgLoginAccount) Size() (n int)
- func (m *MsgLoginAccount) String() string
- func (m *MsgLoginAccount) Unmarshal(dAtA []byte) error
- func (m *MsgLoginAccount) XXX_DiscardUnknown()
- func (m *MsgLoginAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLoginAccount) XXX_Merge(src proto.Message)
- func (m *MsgLoginAccount) XXX_Size() int
- func (m *MsgLoginAccount) XXX_Unmarshal(b []byte) error
- type MsgLoginAccountResponse
- func (*MsgLoginAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgLoginAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgLoginAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgLoginAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgLoginAccountResponse) ProtoMessage()
- func (m *MsgLoginAccountResponse) Reset()
- func (m *MsgLoginAccountResponse) Size() (n int)
- func (m *MsgLoginAccountResponse) String() string
- func (m *MsgLoginAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgLoginAccountResponse) XXX_DiscardUnknown()
- func (m *MsgLoginAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgLoginAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgLoginAccountResponse) XXX_Size() int
- func (m *MsgLoginAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgRegisterAccount
- func (*MsgRegisterAccount) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAccount) GetAttestationResponse() string
- func (m *MsgRegisterAccount) GetAuthority() string
- func (m *MsgRegisterAccount) GetHandle() string
- func (m *MsgRegisterAccount) GetOrigin() string
- func (m *MsgRegisterAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAccount) ProtoMessage()
- func (m *MsgRegisterAccount) Reset()
- func (m *MsgRegisterAccount) Size() (n int)
- func (m *MsgRegisterAccount) String() string
- func (m *MsgRegisterAccount) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAccount) XXX_DiscardUnknown()
- func (m *MsgRegisterAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAccount) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAccount) XXX_Size() int
- func (m *MsgRegisterAccount) XXX_Unmarshal(b []byte) error
- type MsgRegisterAccountResponse
- func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgRegisterAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRegisterAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRegisterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRegisterAccountResponse) ProtoMessage()
- func (m *MsgRegisterAccountResponse) Reset()
- func (m *MsgRegisterAccountResponse) Size() (n int)
- func (m *MsgRegisterAccountResponse) String() string
- func (m *MsgRegisterAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRegisterAccountResponse) XXX_DiscardUnknown()
- func (m *MsgRegisterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRegisterAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgRegisterAccountResponse) XXX_Size() int
- func (m *MsgRegisterAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParams) GetAuthority() string
- func (m *MsgUpdateParams) GetParams() Params
- func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParams) ProtoMessage()
- func (m *MsgUpdateParams) Reset()
- func (m *MsgUpdateParams) Size() (n int)
- func (m *MsgUpdateParams) String() string
- func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParams) XXX_DiscardUnknown()
- func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParams) XXX_Size() int
- func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
- type MsgUpdateParamsResponse
- func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateParamsResponse) ProtoMessage()
- func (m *MsgUpdateParamsResponse) Reset()
- func (m *MsgUpdateParamsResponse) Size() (n int)
- func (m *MsgUpdateParamsResponse) String() string
- func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateParamsResponse) XXX_Size() int
- func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateRecord
- func (*MsgUpdateRecord) Descriptor() ([]byte, []int)
- func (m *MsgUpdateRecord) GetAuthority() string
- func (m *MsgUpdateRecord) GetDescription() string
- func (m *MsgUpdateRecord) GetName() string
- func (m *MsgUpdateRecord) GetOrigin() string
- func (m *MsgUpdateRecord) GetPermissions() int32
- func (m *MsgUpdateRecord) GetRecordId() uint64
- func (m *MsgUpdateRecord) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateRecord) ProtoMessage()
- func (m *MsgUpdateRecord) Reset()
- func (m *MsgUpdateRecord) Size() (n int)
- func (m *MsgUpdateRecord) String() string
- func (m *MsgUpdateRecord) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateRecord) XXX_DiscardUnknown()
- func (m *MsgUpdateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateRecord) XXX_Merge(src proto.Message)
- func (m *MsgUpdateRecord) XXX_Size() int
- func (m *MsgUpdateRecord) XXX_Unmarshal(b []byte) error
- type MsgUpdateRecordResponse
- func (*MsgUpdateRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateRecordResponse) ProtoMessage()
- func (m *MsgUpdateRecordResponse) Reset()
- func (m *MsgUpdateRecordResponse) Size() (n int)
- func (m *MsgUpdateRecordResponse) String() string
- func (m *MsgUpdateRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateRecordResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateRecordResponse) XXX_Size() int
- func (m *MsgUpdateRecordResponse) 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 (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (m *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 ParamsType
- type PublicKeyCredentialCreationOptions
- type PublicKeyCredentialRequestOptions
- type QueryClient
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryServiceRecordRequest
- func (*QueryServiceRecordRequest) Descriptor() ([]byte, []int)
- func (m *QueryServiceRecordRequest) GetOrigin() string
- func (m *QueryServiceRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryServiceRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryServiceRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryServiceRecordRequest) ProtoMessage()
- func (m *QueryServiceRecordRequest) Reset()
- func (m *QueryServiceRecordRequest) Size() (n int)
- func (m *QueryServiceRecordRequest) String() string
- func (m *QueryServiceRecordRequest) Unmarshal(dAtA []byte) error
- func (m *QueryServiceRecordRequest) XXX_DiscardUnknown()
- func (m *QueryServiceRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryServiceRecordRequest) XXX_Merge(src proto.Message)
- func (m *QueryServiceRecordRequest) XXX_Size() int
- func (m *QueryServiceRecordRequest) XXX_Unmarshal(b []byte) error
- type QueryServiceRecordResponse
- func (*QueryServiceRecordResponse) Descriptor() ([]byte, []int)
- func (m *QueryServiceRecordResponse) GetServiceRecord() Record
- func (m *QueryServiceRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryServiceRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryServiceRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryServiceRecordResponse) ProtoMessage()
- func (m *QueryServiceRecordResponse) Reset()
- func (m *QueryServiceRecordResponse) Size() (n int)
- func (m *QueryServiceRecordResponse) String() string
- func (m *QueryServiceRecordResponse) Unmarshal(dAtA []byte) error
- func (m *QueryServiceRecordResponse) XXX_DiscardUnknown()
- func (m *QueryServiceRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryServiceRecordResponse) XXX_Merge(src proto.Message)
- func (m *QueryServiceRecordResponse) XXX_Size() int
- func (m *QueryServiceRecordResponse) XXX_Unmarshal(b []byte) error
- type QueryWebauthnCredentialRequest
- func (*QueryWebauthnCredentialRequest) Descriptor() ([]byte, []int)
- func (m *QueryWebauthnCredentialRequest) GetHandle() string
- func (m *QueryWebauthnCredentialRequest) GetOrigin() string
- func (m *QueryWebauthnCredentialRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryWebauthnCredentialRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebauthnCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebauthnCredentialRequest) ProtoMessage()
- func (m *QueryWebauthnCredentialRequest) Reset()
- func (m *QueryWebauthnCredentialRequest) Size() (n int)
- func (m *QueryWebauthnCredentialRequest) String() string
- func (m *QueryWebauthnCredentialRequest) Unmarshal(dAtA []byte) error
- func (m *QueryWebauthnCredentialRequest) XXX_DiscardUnknown()
- func (m *QueryWebauthnCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebauthnCredentialRequest) XXX_Merge(src proto.Message)
- func (m *QueryWebauthnCredentialRequest) XXX_Size() int
- func (m *QueryWebauthnCredentialRequest) XXX_Unmarshal(b []byte) error
- type QueryWebauthnCredentialResponse
- func (*QueryWebauthnCredentialResponse) Descriptor() ([]byte, []int)
- func (m *QueryWebauthnCredentialResponse) GetWebauthnCredential() []WebauthnCredential
- func (m *QueryWebauthnCredentialResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryWebauthnCredentialResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryWebauthnCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryWebauthnCredentialResponse) ProtoMessage()
- func (m *QueryWebauthnCredentialResponse) Reset()
- func (m *QueryWebauthnCredentialResponse) Size() (n int)
- func (m *QueryWebauthnCredentialResponse) String() string
- func (m *QueryWebauthnCredentialResponse) Unmarshal(dAtA []byte) error
- func (m *QueryWebauthnCredentialResponse) XXX_DiscardUnknown()
- func (m *QueryWebauthnCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWebauthnCredentialResponse) XXX_Merge(src proto.Message)
- func (m *QueryWebauthnCredentialResponse) XXX_Size() int
- func (m *QueryWebauthnCredentialResponse) XXX_Unmarshal(b []byte) error
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) GetAuthority() string
- func (m *Record) GetDescription() string
- func (m *Record) GetName() string
- func (m *Record) GetOrigin() string
- func (m *Record) GetPermissions() uint32
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateRecord(ctx context.Context, req *MsgCreateRecord) (*MsgCreateRecordResponse, error)
- func (*UnimplementedMsgServer) DeleteRecord(ctx context.Context, req *MsgDeleteRecord) (*MsgDeleteRecordResponse, error)
- func (*UnimplementedMsgServer) LoginAccount(ctx context.Context, req *MsgLoginAccount) (*MsgLoginAccountResponse, error)
- func (*UnimplementedMsgServer) RegisterAccount(ctx context.Context, req *MsgRegisterAccount) (*MsgRegisterAccountResponse, error)
- func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (*UnimplementedMsgServer) UpdateRecord(ctx context.Context, req *MsgUpdateRecord) (*MsgUpdateRecordResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ServiceRecord(ctx context.Context, req *QueryServiceRecordRequest) (*QueryServiceRecordResponse, error)
- func (*UnimplementedQueryServer) WebauthnCredential(ctx context.Context, req *QueryWebauthnCredentialRequest) (*QueryWebauthnCredentialResponse, error)
- type UserEntity
- type WebauthnCredential
- func (*WebauthnCredential) Descriptor() ([]byte, []int)
- func (m *WebauthnCredential) GetAssertionType() string
- func (m *WebauthnCredential) GetAuthority() string
- func (m *WebauthnCredential) GetHandle() string
- func (m *WebauthnCredential) GetId() []byte
- func (m *WebauthnCredential) GetOrigin() string
- func (m *WebauthnCredential) GetTransports() []string
- func (m *WebauthnCredential) Marshal() (dAtA []byte, err error)
- func (m *WebauthnCredential) MarshalTo(dAtA []byte) (int, error)
- func (m *WebauthnCredential) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*WebauthnCredential) ProtoMessage()
- func (m *WebauthnCredential) Reset()
- func (m *WebauthnCredential) Size() (n int)
- func (m *WebauthnCredential) String() string
- func (m *WebauthnCredential) Unmarshal(dAtA []byte) error
- func (m *WebauthnCredential) XXX_DiscardUnknown()
- func (m *WebauthnCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WebauthnCredential) XXX_Merge(src proto.Message)
- func (m *WebauthnCredential) XXX_Size() int
- func (m *WebauthnCredential) XXX_Unmarshal(b []byte) error
Constants ¶
const ModuleName = "service"
ModuleName is the name of the module
Variables ¶
var ( // ParamsKey is the key for the module parameters ParamsKey = collections.NewPrefix(0) // RecordKey is the key for the module counter RecordKey = collections.NewPrefix(1) )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var ErrDuplicateAddress = errors.Register(ModuleName, 2, "duplicate address")
ErrDuplicateAddress error if there is a duplicate address
var ParamsType_name = map[int32]string{
0: "PARAMS_TYPE_UNSPECIFIED",
1: "PARAMS_TYPE_ATTESTATION",
2: "PARAMS_TYPE_ASSERTION",
}
var ParamsType_value = map[string]int32{
"PARAMS_TYPE_UNSPECIFIED": 0,
"PARAMS_TYPE_ATTESTATION": 1,
"PARAMS_TYPE_ASSERTION": 2,
}
Functions ¶
func GenerateChallenge ¶ added in v0.13.10
func GenerateChallenge() protocol.URLEncodedBase64
GenerateChallenge generates a new challenge for the registration/authentication process.
func GenerateChallengeString ¶ added in v0.14.1
func GenerateChallengeString() string
GenerateChallengeString generates a new challenge for the registration/authentication process.
func GetAuthenticationSelection ¶ added in v0.13.10
func GetAuthenticationSelection(val string) (protocol.AuthenticatorAttachment, error)
GetAuthenticationSelection returns the authentication selection for the given textual value.
func GetCOSEAlgorithmIdentifier ¶ added in v0.13.10
func GetCOSEAlgorithmIdentifier(val int64) (webauthncose.COSEAlgorithmIdentifier, error)
GetCOSEAlgorithmIdentifier returns the COSEAlgorithmIdentifier for the given numerical value.
func GetCredentialEntity ¶ added in v0.13.10
func GetCredentialEntity(val string) (protocol.CredentialEntity, error)
GetCredentialEntity returns the credential entity for the given textual value.
func GetUserEntity ¶ added in v0.13.12
func GetUserEntity(address, username string) protocol.UserEntity
GetUserEntity returns the user entity for the given address and username
func NewQueryServiceRequest ¶ added in v0.13.12
func NewQueryServiceRequest(origin string) *servicev1.QueryServiceRecordRequest
NewQueryServiceRequest creates a new query service request
func NewQueryWebauthnRecord ¶ added in v0.14.0
func NewQueryWebauthnRecord(origin string, handle string) *servicev1.QueryWebauthnCredentialRequest
NewQueryWebauthnRecord creates a new query service request
func RegisterInterfaces ¶ added in v0.8.10
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers the interfaces types with the interface registry.
func RegisterMsgServer ¶ added in v0.8.10
func RegisterQueryHandler ¶ added in v0.8.10
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶ added in v0.8.10
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 ¶ added in v0.8.10
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 ¶ added in v0.8.10
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 ¶ added in v0.8.10
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
Types ¶
type BankKeeper ¶ added in v0.8.10
BankKeeper defines the expected interface needed to retrieve account balances.
type CredentialDescriptor ¶ added in v0.13.12
type CredentialDescriptor = protocol.CredentialDescriptor
CredentialDescriptor is a descriptor for a credential
func ConvertCredentialToDescriptor ¶ added in v0.13.12
func ConvertCredentialToDescriptor(credential *servicev1.WebauthnCredential) CredentialDescriptor
ConvertCredentialToDescriptor converts a credential to a descriptor
func ExtractCredentialDescriptors ¶ added in v0.13.12
func ExtractCredentialDescriptors(credentials []*servicev1.WebauthnCredential) (descriptors []CredentialDescriptor)
ExtractCredentialDescriptors extracts the credential descriptors from the given credentials
func GetCredentialsByHandle ¶ added in v0.13.12
func GetCredentialsByHandle(conn *grpc.ClientConn, handle, origin string) ([]CredentialDescriptor, error)
GetCredentialsByHandle returns the credentials for the given handle
type GenesisState ¶ added in v0.8.10
type GenesisState struct { Records []Record `protobuf:"bytes,1,rep,name=records,proto3" json:"records"` // params defines all the parameters of the module. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
GenesisState is the state that must be provided at genesis.
func NewGenesisState ¶ added in v0.8.10
func NewGenesisState() *GenesisState
NewGenesisState creates a new genesis state with default values.
func (*GenesisState) Descriptor ¶ added in v0.8.10
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetParams ¶ added in v0.8.10
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetRecords ¶ added in v0.14.1
func (m *GenesisState) GetRecords() []Record
func (*GenesisState) Marshal ¶ added in v0.8.10
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalTo ¶ added in v0.8.10
func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
func (*GenesisState) MarshalToSizedBuffer ¶ added in v0.8.10
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶ added in v0.8.10
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶ added in v0.8.10
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶ added in v0.8.10
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶ added in v0.8.10
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶ added in v0.8.10
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (*GenesisState) Validate ¶ added in v0.8.10
func (gs *GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any
func (*GenesisState) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶ added in v0.8.10
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶ added in v0.8.10
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶ added in v0.8.10
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶ added in v0.8.10
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GroupKeeper ¶ added in v0.8.10
type GroupKeeper interface { CreateGroupWithPolicy(goCtx context.Context, req *group.MsgCreateGroupWithPolicy) (*group.MsgCreateGroupWithPolicyResponse, error) GroupMembers(goCtx context.Context, request *group.QueryGroupMembersRequest) (*group.QueryGroupMembersResponse, error) GroupPolicyInfo(goCtx context.Context, request *group.QueryGroupPolicyInfoRequest) (*group.QueryGroupPolicyInfoResponse, error) GroupsByAdmin(goCtx context.Context, request *group.QueryGroupsByAdminRequest) (*group.QueryGroupsByAdminResponse, error) GroupsByMember(goCtx context.Context, request *group.QueryGroupsByMemberRequest) (*group.QueryGroupsByMemberResponse, error) LeaveGroup(goCtx context.Context, req *group.MsgLeaveGroup) (*group.MsgLeaveGroupResponse, error) Proposal(goCtx context.Context, request *group.QueryProposalRequest) (*group.QueryProposalResponse, error) SubmitProposal(goCtx context.Context, req *group.MsgSubmitProposal) (*group.MsgSubmitProposalResponse, error) UpdateGroupMembers(goCtx context.Context, req *group.MsgUpdateGroupMembers) (*group.MsgUpdateGroupMembersResponse, error) UpdateGroupMetadata(goCtx context.Context, req *group.MsgUpdateGroupMetadata) (*group.MsgUpdateGroupMetadataResponse, error) Vote(goCtx context.Context, req *group.MsgVote) (*group.MsgVoteResponse, error) VotesByProposal(goCtx context.Context, request *group.QueryVotesByProposalRequest) (*group.QueryVotesByProposalResponse, error) WithdrawProposal(goCtx context.Context, req *group.MsgWithdrawProposal) (*group.MsgWithdrawProposalResponse, error) }
GroupKeeper is the expected interface for the group keeper.
type IdentityKeeper ¶ added in v0.8.10
type IdentityKeeper interface { // LinkCredential links a credential to an identity. GenerateIdentity(ctx context.Context) error }
IdentityKeeper is the expected interface for the identity keeper.
type MsgClient ¶ added in v0.8.10
type MsgClient interface { // CreateRecord creates a new record CreateRecord(ctx context.Context, in *MsgCreateRecord, opts ...grpc.CallOption) (*MsgCreateRecordResponse, error) // UpdateRecord updates a record UpdateRecord(ctx context.Context, in *MsgUpdateRecord, opts ...grpc.CallOption) (*MsgUpdateRecordResponse, error) // DeleteRecord deletes a record DeleteRecord(ctx context.Context, in *MsgDeleteRecord, opts ...grpc.CallOption) (*MsgDeleteRecordResponse, error) // UpdateParams updates the module parameters. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // RegisterAccount registers an account by using the x/identity module RegisterAccount(ctx context.Context, in *MsgRegisterAccount, opts ...grpc.CallOption) (*MsgRegisterAccountResponse, error) // LoginAccount logs in an account by using the x/identity module LoginAccount(ctx context.Context, in *MsgLoginAccount, opts ...grpc.CallOption) (*MsgLoginAccountResponse, 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 ¶ added in v0.8.10
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateRecord ¶ added in v0.9.2
type MsgCreateRecord struct { // owner is the address of the owner of the record Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // name is the name of the record Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // description is the description of the record Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // origin is the origin of the record Origin string `protobuf:"bytes,4,opt,name=origin,proto3" json:"origin,omitempty"` // permissions in int32 format Permissions int32 `protobuf:"varint,5,opt,name=permissions,proto3" json:"permissions,omitempty"` }
MsgCreateRecord is the Msg/CreateRecord request type.
func (*MsgCreateRecord) Descriptor ¶ added in v0.9.2
func (*MsgCreateRecord) Descriptor() ([]byte, []int)
func (*MsgCreateRecord) GetAuthority ¶ added in v0.10.1
func (m *MsgCreateRecord) GetAuthority() string
func (*MsgCreateRecord) GetDescription ¶ added in v0.9.2
func (m *MsgCreateRecord) GetDescription() string
func (*MsgCreateRecord) GetName ¶ added in v0.9.2
func (m *MsgCreateRecord) GetName() string
func (*MsgCreateRecord) GetOrigin ¶ added in v0.9.2
func (m *MsgCreateRecord) GetOrigin() string
func (*MsgCreateRecord) GetPermissions ¶ added in v0.9.2
func (m *MsgCreateRecord) GetPermissions() int32
func (*MsgCreateRecord) Marshal ¶ added in v0.9.2
func (m *MsgCreateRecord) Marshal() (dAtA []byte, err error)
func (*MsgCreateRecord) MarshalTo ¶ added in v0.9.2
func (m *MsgCreateRecord) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateRecord) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgCreateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateRecord) ProtoMessage ¶ added in v0.9.2
func (*MsgCreateRecord) ProtoMessage()
func (*MsgCreateRecord) Reset ¶ added in v0.9.2
func (m *MsgCreateRecord) Reset()
func (*MsgCreateRecord) Size ¶ added in v0.9.2
func (m *MsgCreateRecord) Size() (n int)
func (*MsgCreateRecord) String ¶ added in v0.9.2
func (m *MsgCreateRecord) String() string
func (*MsgCreateRecord) Unmarshal ¶ added in v0.9.2
func (m *MsgCreateRecord) Unmarshal(dAtA []byte) error
func (*MsgCreateRecord) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgCreateRecord) XXX_DiscardUnknown()
func (*MsgCreateRecord) XXX_Marshal ¶ added in v0.9.2
func (m *MsgCreateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateRecord) XXX_Merge ¶ added in v0.9.2
func (m *MsgCreateRecord) XXX_Merge(src proto.Message)
func (*MsgCreateRecord) XXX_Size ¶ added in v0.9.2
func (m *MsgCreateRecord) XXX_Size() int
func (*MsgCreateRecord) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgCreateRecord) XXX_Unmarshal(b []byte) error
type MsgCreateRecordResponse ¶ added in v0.9.2
type MsgCreateRecordResponse struct { }
MsgCreateRecordResponse defines the Msg/CreateRecord response type.
func (*MsgCreateRecordResponse) Descriptor ¶ added in v0.9.2
func (*MsgCreateRecordResponse) Descriptor() ([]byte, []int)
func (*MsgCreateRecordResponse) Marshal ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateRecordResponse) MarshalTo ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateRecordResponse) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateRecordResponse) ProtoMessage ¶ added in v0.9.2
func (*MsgCreateRecordResponse) ProtoMessage()
func (*MsgCreateRecordResponse) Reset ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) Reset()
func (*MsgCreateRecordResponse) Size ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) Size() (n int)
func (*MsgCreateRecordResponse) String ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) String() string
func (*MsgCreateRecordResponse) Unmarshal ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateRecordResponse) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) XXX_DiscardUnknown()
func (*MsgCreateRecordResponse) XXX_Marshal ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateRecordResponse) XXX_Merge ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) XXX_Merge(src proto.Message)
func (*MsgCreateRecordResponse) XXX_Size ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) XXX_Size() int
func (*MsgCreateRecordResponse) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgCreateRecordResponse) XXX_Unmarshal(b []byte) error
type MsgDeleteRecord ¶ added in v0.9.2
type MsgDeleteRecord struct { // owner is the address of the owner of the record Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // origin is the id of the record to delete Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` }
MsgDeleteRecord is the Msg/DeleteRecord request type.
func (*MsgDeleteRecord) Descriptor ¶ added in v0.9.2
func (*MsgDeleteRecord) Descriptor() ([]byte, []int)
func (*MsgDeleteRecord) GetAuthority ¶ added in v0.10.1
func (m *MsgDeleteRecord) GetAuthority() string
func (*MsgDeleteRecord) GetOrigin ¶ added in v0.14.0
func (m *MsgDeleteRecord) GetOrigin() string
func (*MsgDeleteRecord) Marshal ¶ added in v0.9.2
func (m *MsgDeleteRecord) Marshal() (dAtA []byte, err error)
func (*MsgDeleteRecord) MarshalTo ¶ added in v0.9.2
func (m *MsgDeleteRecord) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteRecord) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgDeleteRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteRecord) ProtoMessage ¶ added in v0.9.2
func (*MsgDeleteRecord) ProtoMessage()
func (*MsgDeleteRecord) Reset ¶ added in v0.9.2
func (m *MsgDeleteRecord) Reset()
func (*MsgDeleteRecord) Size ¶ added in v0.9.2
func (m *MsgDeleteRecord) Size() (n int)
func (*MsgDeleteRecord) String ¶ added in v0.9.2
func (m *MsgDeleteRecord) String() string
func (*MsgDeleteRecord) Unmarshal ¶ added in v0.9.2
func (m *MsgDeleteRecord) Unmarshal(dAtA []byte) error
func (*MsgDeleteRecord) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgDeleteRecord) XXX_DiscardUnknown()
func (*MsgDeleteRecord) XXX_Marshal ¶ added in v0.9.2
func (m *MsgDeleteRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteRecord) XXX_Merge ¶ added in v0.9.2
func (m *MsgDeleteRecord) XXX_Merge(src proto.Message)
func (*MsgDeleteRecord) XXX_Size ¶ added in v0.9.2
func (m *MsgDeleteRecord) XXX_Size() int
func (*MsgDeleteRecord) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgDeleteRecord) XXX_Unmarshal(b []byte) error
type MsgDeleteRecordResponse ¶ added in v0.9.2
type MsgDeleteRecordResponse struct { }
MsgDeleteRecordResponse defines the Msg/DeleteRecord response type.
func (*MsgDeleteRecordResponse) Descriptor ¶ added in v0.9.2
func (*MsgDeleteRecordResponse) Descriptor() ([]byte, []int)
func (*MsgDeleteRecordResponse) Marshal ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgDeleteRecordResponse) MarshalTo ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgDeleteRecordResponse) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgDeleteRecordResponse) ProtoMessage ¶ added in v0.9.2
func (*MsgDeleteRecordResponse) ProtoMessage()
func (*MsgDeleteRecordResponse) Reset ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) Reset()
func (*MsgDeleteRecordResponse) Size ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) Size() (n int)
func (*MsgDeleteRecordResponse) String ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) String() string
func (*MsgDeleteRecordResponse) Unmarshal ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgDeleteRecordResponse) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) XXX_DiscardUnknown()
func (*MsgDeleteRecordResponse) XXX_Marshal ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgDeleteRecordResponse) XXX_Merge ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) XXX_Merge(src proto.Message)
func (*MsgDeleteRecordResponse) XXX_Size ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) XXX_Size() int
func (*MsgDeleteRecordResponse) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgDeleteRecordResponse) XXX_Unmarshal(b []byte) error
type MsgLoginAccount ¶ added in v0.13.12
type MsgLoginAccount struct { // authority is the address that controls the module // NOTE: Defaults to the governance module unless overwritten. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // origin is the origin of the account Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // handle is the handle of the account Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"` // AssertionResponse is the response from the assertion AssertionResponse string `protobuf:"bytes,4,opt,name=assertion_response,json=assertionResponse,proto3" json:"assertion_response,omitempty"` }
MsgLoginAccount is the Msg/LoginAccount request type.
func (*MsgLoginAccount) Descriptor ¶ added in v0.13.12
func (*MsgLoginAccount) Descriptor() ([]byte, []int)
func (*MsgLoginAccount) GetAssertionResponse ¶ added in v0.14.0
func (m *MsgLoginAccount) GetAssertionResponse() string
func (*MsgLoginAccount) GetAuthority ¶ added in v0.13.12
func (m *MsgLoginAccount) GetAuthority() string
func (*MsgLoginAccount) GetHandle ¶ added in v0.13.12
func (m *MsgLoginAccount) GetHandle() string
func (*MsgLoginAccount) GetOrigin ¶ added in v0.13.12
func (m *MsgLoginAccount) GetOrigin() string
func (*MsgLoginAccount) Marshal ¶ added in v0.13.12
func (m *MsgLoginAccount) Marshal() (dAtA []byte, err error)
func (*MsgLoginAccount) MarshalTo ¶ added in v0.13.12
func (m *MsgLoginAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgLoginAccount) MarshalToSizedBuffer ¶ added in v0.13.12
func (m *MsgLoginAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLoginAccount) ProtoMessage ¶ added in v0.13.12
func (*MsgLoginAccount) ProtoMessage()
func (*MsgLoginAccount) Reset ¶ added in v0.13.12
func (m *MsgLoginAccount) Reset()
func (*MsgLoginAccount) Size ¶ added in v0.13.12
func (m *MsgLoginAccount) Size() (n int)
func (*MsgLoginAccount) String ¶ added in v0.13.12
func (m *MsgLoginAccount) String() string
func (*MsgLoginAccount) Unmarshal ¶ added in v0.13.12
func (m *MsgLoginAccount) Unmarshal(dAtA []byte) error
func (*MsgLoginAccount) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *MsgLoginAccount) XXX_DiscardUnknown()
func (*MsgLoginAccount) XXX_Marshal ¶ added in v0.13.12
func (m *MsgLoginAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLoginAccount) XXX_Merge ¶ added in v0.13.12
func (m *MsgLoginAccount) XXX_Merge(src proto.Message)
func (*MsgLoginAccount) XXX_Size ¶ added in v0.13.12
func (m *MsgLoginAccount) XXX_Size() int
func (*MsgLoginAccount) XXX_Unmarshal ¶ added in v0.13.12
func (m *MsgLoginAccount) XXX_Unmarshal(b []byte) error
type MsgLoginAccountResponse ¶ added in v0.13.12
type MsgLoginAccountResponse struct { }
MsgLoginAccountResponse defines the response structure for executing a Login request.
func (*MsgLoginAccountResponse) Descriptor ¶ added in v0.13.12
func (*MsgLoginAccountResponse) Descriptor() ([]byte, []int)
func (*MsgLoginAccountResponse) Marshal ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgLoginAccountResponse) MarshalTo ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgLoginAccountResponse) MarshalToSizedBuffer ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgLoginAccountResponse) ProtoMessage ¶ added in v0.13.12
func (*MsgLoginAccountResponse) ProtoMessage()
func (*MsgLoginAccountResponse) Reset ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) Reset()
func (*MsgLoginAccountResponse) Size ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) Size() (n int)
func (*MsgLoginAccountResponse) String ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) String() string
func (*MsgLoginAccountResponse) Unmarshal ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgLoginAccountResponse) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) XXX_DiscardUnknown()
func (*MsgLoginAccountResponse) XXX_Marshal ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgLoginAccountResponse) XXX_Merge ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) XXX_Merge(src proto.Message)
func (*MsgLoginAccountResponse) XXX_Size ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) XXX_Size() int
func (*MsgLoginAccountResponse) XXX_Unmarshal ¶ added in v0.13.12
func (m *MsgLoginAccountResponse) XXX_Unmarshal(b []byte) error
type MsgRegisterAccount ¶ added in v0.13.12
type MsgRegisterAccount struct { // authority is the address that controls the module // NOTE: Defaults to the governance module unless overwritten. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // origin is the origin of the account Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` // handle is the handle of the account Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"` // AttestationResponse is the response from the attestation AttestationResponse string `protobuf:"bytes,4,opt,name=attestation_response,json=attestationResponse,proto3" json:"attestation_response,omitempty"` }
MsgRegisterAccount is the Msg/RegisterAccount request type.
func (*MsgRegisterAccount) Descriptor ¶ added in v0.13.12
func (*MsgRegisterAccount) Descriptor() ([]byte, []int)
func (*MsgRegisterAccount) GetAttestationResponse ¶ added in v0.14.0
func (m *MsgRegisterAccount) GetAttestationResponse() string
func (*MsgRegisterAccount) GetAuthority ¶ added in v0.13.12
func (m *MsgRegisterAccount) GetAuthority() string
func (*MsgRegisterAccount) GetHandle ¶ added in v0.13.12
func (m *MsgRegisterAccount) GetHandle() string
func (*MsgRegisterAccount) GetOrigin ¶ added in v0.13.12
func (m *MsgRegisterAccount) GetOrigin() string
func (*MsgRegisterAccount) Marshal ¶ added in v0.13.12
func (m *MsgRegisterAccount) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAccount) MarshalTo ¶ added in v0.13.12
func (m *MsgRegisterAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAccount) MarshalToSizedBuffer ¶ added in v0.13.12
func (m *MsgRegisterAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAccount) ProtoMessage ¶ added in v0.13.12
func (*MsgRegisterAccount) ProtoMessage()
func (*MsgRegisterAccount) Reset ¶ added in v0.13.12
func (m *MsgRegisterAccount) Reset()
func (*MsgRegisterAccount) Size ¶ added in v0.13.12
func (m *MsgRegisterAccount) Size() (n int)
func (*MsgRegisterAccount) String ¶ added in v0.13.12
func (m *MsgRegisterAccount) String() string
func (*MsgRegisterAccount) Unmarshal ¶ added in v0.13.12
func (m *MsgRegisterAccount) Unmarshal(dAtA []byte) error
func (*MsgRegisterAccount) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *MsgRegisterAccount) XXX_DiscardUnknown()
func (*MsgRegisterAccount) XXX_Marshal ¶ added in v0.13.12
func (m *MsgRegisterAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAccount) XXX_Merge ¶ added in v0.13.12
func (m *MsgRegisterAccount) XXX_Merge(src proto.Message)
func (*MsgRegisterAccount) XXX_Size ¶ added in v0.13.12
func (m *MsgRegisterAccount) XXX_Size() int
func (*MsgRegisterAccount) XXX_Unmarshal ¶ added in v0.13.12
func (m *MsgRegisterAccount) XXX_Unmarshal(b []byte) error
type MsgRegisterAccountResponse ¶ added in v0.13.12
type MsgRegisterAccountResponse struct { }
MsgRegisterAccountResponse defines the response structure for executing a Register request.
func (*MsgRegisterAccountResponse) Descriptor ¶ added in v0.13.12
func (*MsgRegisterAccountResponse) Descriptor() ([]byte, []int)
func (*MsgRegisterAccountResponse) Marshal ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgRegisterAccountResponse) MarshalTo ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRegisterAccountResponse) MarshalToSizedBuffer ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRegisterAccountResponse) ProtoMessage ¶ added in v0.13.12
func (*MsgRegisterAccountResponse) ProtoMessage()
func (*MsgRegisterAccountResponse) Reset ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) Reset()
func (*MsgRegisterAccountResponse) Size ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) Size() (n int)
func (*MsgRegisterAccountResponse) String ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) String() string
func (*MsgRegisterAccountResponse) Unmarshal ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgRegisterAccountResponse) XXX_DiscardUnknown ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) XXX_DiscardUnknown()
func (*MsgRegisterAccountResponse) XXX_Marshal ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRegisterAccountResponse) XXX_Merge ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) XXX_Merge(src proto.Message)
func (*MsgRegisterAccountResponse) XXX_Size ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) XXX_Size() int
func (*MsgRegisterAccountResponse) XXX_Unmarshal ¶ added in v0.13.12
func (m *MsgRegisterAccountResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶ added in v0.8.10
type MsgServer interface { // CreateRecord creates a new record CreateRecord(context.Context, *MsgCreateRecord) (*MsgCreateRecordResponse, error) // UpdateRecord updates a record UpdateRecord(context.Context, *MsgUpdateRecord) (*MsgUpdateRecordResponse, error) // DeleteRecord deletes a record DeleteRecord(context.Context, *MsgDeleteRecord) (*MsgDeleteRecordResponse, error) // UpdateParams updates the module parameters. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // RegisterAccount registers an account by using the x/identity module RegisterAccount(context.Context, *MsgRegisterAccount) (*MsgRegisterAccountResponse, error) // LoginAccount logs in an account by using the x/identity module LoginAccount(context.Context, *MsgLoginAccount) (*MsgLoginAccountResponse, error) }
MsgServer is the server API for Msg service.
type MsgUpdateParams ¶ added in v0.8.10
type MsgUpdateParams struct { // authority is the address that controls the module // NOTE: Defaults to the governance module unless overwritten. Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the module parameters to update. // NOTE: All parameters must be supplied. Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"` }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor ¶ added in v0.8.10
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
func (*MsgUpdateParams) GetAuthority ¶ added in v0.8.10
func (m *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetParams ¶ added in v0.8.10
func (m *MsgUpdateParams) GetParams() Params
func (*MsgUpdateParams) Marshal ¶ added in v0.8.10
func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParams) MarshalTo ¶ added in v0.8.10
func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParams) MarshalToSizedBuffer ¶ added in v0.8.10
func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParams) ProtoMessage ¶ added in v0.8.10
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) Reset ¶ added in v0.8.10
func (m *MsgUpdateParams) Reset()
func (*MsgUpdateParams) Size ¶ added in v0.8.10
func (m *MsgUpdateParams) Size() (n int)
func (*MsgUpdateParams) String ¶ added in v0.8.10
func (m *MsgUpdateParams) String() string
func (*MsgUpdateParams) Unmarshal ¶ added in v0.8.10
func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error
func (*MsgUpdateParams) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *MsgUpdateParams) XXX_DiscardUnknown()
func (*MsgUpdateParams) XXX_Marshal ¶ added in v0.8.10
func (m *MsgUpdateParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParams) XXX_Merge ¶ added in v0.8.10
func (m *MsgUpdateParams) XXX_Merge(src proto.Message)
func (*MsgUpdateParams) XXX_Size ¶ added in v0.8.10
func (m *MsgUpdateParams) XXX_Size() int
func (*MsgUpdateParams) XXX_Unmarshal ¶ added in v0.8.10
func (m *MsgUpdateParams) XXX_Unmarshal(b []byte) error
type MsgUpdateParamsResponse ¶ added in v0.8.10
type MsgUpdateParamsResponse struct { }
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.
func (*MsgUpdateParamsResponse) Descriptor ¶ added in v0.8.10
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateParamsResponse) Marshal ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateParamsResponse) MarshalTo ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) MarshalToSizedBuffer ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateParamsResponse) ProtoMessage ¶ added in v0.8.10
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) Reset ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) Size ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) Size() (n int)
func (*MsgUpdateParamsResponse) String ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) String() string
func (*MsgUpdateParamsResponse) Unmarshal ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateParamsResponse) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown()
func (*MsgUpdateParamsResponse) XXX_Marshal ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateParamsResponse) XXX_Merge ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateParamsResponse) XXX_Size ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) XXX_Size() int
func (*MsgUpdateParamsResponse) XXX_Unmarshal ¶ added in v0.8.10
func (m *MsgUpdateParamsResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateRecord ¶ added in v0.9.2
type MsgUpdateRecord struct { // owner is the address of the owner of the record Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // record_id is the id of the record to update RecordId uint64 `protobuf:"varint,2,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"` // name is the name of the record Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // description is the description of the record Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // origin is the origin of the record Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` // permissions in int32 format Permissions int32 `protobuf:"varint,6,opt,name=permissions,proto3" json:"permissions,omitempty"` }
MsgUpdateRecord is the Msg/UpdateRecord request type.
func (*MsgUpdateRecord) Descriptor ¶ added in v0.9.2
func (*MsgUpdateRecord) Descriptor() ([]byte, []int)
func (*MsgUpdateRecord) GetAuthority ¶ added in v0.10.1
func (m *MsgUpdateRecord) GetAuthority() string
func (*MsgUpdateRecord) GetDescription ¶ added in v0.9.2
func (m *MsgUpdateRecord) GetDescription() string
func (*MsgUpdateRecord) GetName ¶ added in v0.9.2
func (m *MsgUpdateRecord) GetName() string
func (*MsgUpdateRecord) GetOrigin ¶ added in v0.9.2
func (m *MsgUpdateRecord) GetOrigin() string
func (*MsgUpdateRecord) GetPermissions ¶ added in v0.9.2
func (m *MsgUpdateRecord) GetPermissions() int32
func (*MsgUpdateRecord) GetRecordId ¶ added in v0.9.2
func (m *MsgUpdateRecord) GetRecordId() uint64
func (*MsgUpdateRecord) Marshal ¶ added in v0.9.2
func (m *MsgUpdateRecord) Marshal() (dAtA []byte, err error)
func (*MsgUpdateRecord) MarshalTo ¶ added in v0.9.2
func (m *MsgUpdateRecord) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateRecord) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgUpdateRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateRecord) ProtoMessage ¶ added in v0.9.2
func (*MsgUpdateRecord) ProtoMessage()
func (*MsgUpdateRecord) Reset ¶ added in v0.9.2
func (m *MsgUpdateRecord) Reset()
func (*MsgUpdateRecord) Size ¶ added in v0.9.2
func (m *MsgUpdateRecord) Size() (n int)
func (*MsgUpdateRecord) String ¶ added in v0.9.2
func (m *MsgUpdateRecord) String() string
func (*MsgUpdateRecord) Unmarshal ¶ added in v0.9.2
func (m *MsgUpdateRecord) Unmarshal(dAtA []byte) error
func (*MsgUpdateRecord) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgUpdateRecord) XXX_DiscardUnknown()
func (*MsgUpdateRecord) XXX_Marshal ¶ added in v0.9.2
func (m *MsgUpdateRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateRecord) XXX_Merge ¶ added in v0.9.2
func (m *MsgUpdateRecord) XXX_Merge(src proto.Message)
func (*MsgUpdateRecord) XXX_Size ¶ added in v0.9.2
func (m *MsgUpdateRecord) XXX_Size() int
func (*MsgUpdateRecord) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgUpdateRecord) XXX_Unmarshal(b []byte) error
type MsgUpdateRecordResponse ¶ added in v0.9.2
type MsgUpdateRecordResponse struct { }
MsgUpdateRecordResponse defines the Msg/UpdateRecord response type.
func (*MsgUpdateRecordResponse) Descriptor ¶ added in v0.9.2
func (*MsgUpdateRecordResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateRecordResponse) Marshal ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateRecordResponse) MarshalTo ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateRecordResponse) MarshalToSizedBuffer ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateRecordResponse) ProtoMessage ¶ added in v0.9.2
func (*MsgUpdateRecordResponse) ProtoMessage()
func (*MsgUpdateRecordResponse) Reset ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) Reset()
func (*MsgUpdateRecordResponse) Size ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) Size() (n int)
func (*MsgUpdateRecordResponse) String ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) String() string
func (*MsgUpdateRecordResponse) Unmarshal ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateRecordResponse) XXX_DiscardUnknown ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) XXX_DiscardUnknown()
func (*MsgUpdateRecordResponse) XXX_Marshal ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateRecordResponse) XXX_Merge ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateRecordResponse) XXX_Size ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) XXX_Size() int
func (*MsgUpdateRecordResponse) XXX_Unmarshal ¶ added in v0.9.2
func (m *MsgUpdateRecordResponse) XXX_Unmarshal(b []byte) error
type Params ¶ added in v0.8.10
type Params struct { }
Params defines the parameters of the module.
func DefaultParams ¶ added in v0.8.10
func DefaultParams() Params
DefaultParams returns default module parameters.
func (*Params) Descriptor ¶ added in v0.8.10
func (*Params) MarshalToSizedBuffer ¶ added in v0.8.10
func (*Params) ProtoMessage ¶ added in v0.8.10
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶ added in v0.8.10
func (*Params) XXX_Unmarshal ¶ added in v0.8.10
type ParamsType ¶ added in v0.9.2
type ParamsType int32
ParamsType defines the type of params
const ( // PARAMS_TYPE_UNSPECIFIED is the default parameter type ParamsType_PARAMS_TYPE_UNSPECIFIED ParamsType = 0 // PARAMS_TYPE_ATTESTATION is for the attestation params ParamsType_PARAMS_TYPE_ATTESTATION ParamsType = 1 // PARAMS_TYPE_ASSERTION is for the assertion params ParamsType_PARAMS_TYPE_ASSERTION ParamsType = 2 )
func (ParamsType) EnumDescriptor ¶ added in v0.9.2
func (ParamsType) EnumDescriptor() ([]byte, []int)
func (ParamsType) String ¶ added in v0.9.2
func (x ParamsType) String() string
type PublicKeyCredentialCreationOptions ¶ added in v0.13.12
type PublicKeyCredentialCreationOptions = protocol.PublicKeyCredentialCreationOptions
PublicKeyCredentialCreationOptions is the options for creating a public key credential
func GetCredentialCreationOptions ¶ added in v0.13.12
func GetCredentialCreationOptions(record *Record, entity protocol.UserEntity) PublicKeyCredentialCreationOptions
GetCredentialCreationOptions returns the PublicKeyCredentialCreationOptions for the given service record and user entity.
type PublicKeyCredentialRequestOptions ¶ added in v0.13.12
type PublicKeyCredentialRequestOptions = protocol.PublicKeyCredentialRequestOptions
PublicKeyCredentialRequestOptions is the options for requesting a public key credential
func GetCredentialRequestOptions ¶ added in v0.13.12
func GetCredentialRequestOptions(record *Record, creds []CredentialDescriptor) PublicKeyCredentialRequestOptions
GetCredentialRequestOptions returns the PublicKeyCredentialRequestOptions for the given service record and credentials.
type QueryClient ¶ added in v0.8.10
type QueryClient interface { // Params returns the module parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // ServiceRecord returns the service record for a given origin. ServiceRecord(ctx context.Context, in *QueryServiceRecordRequest, opts ...grpc.CallOption) (*QueryServiceRecordResponse, error) // WebauthnCredential returns the webauthn credential for a given origin. WebauthnCredential(ctx context.Context, in *QueryWebauthnCredentialRequest, opts ...grpc.CallOption) (*QueryWebauthnCredentialResponse, 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 ¶ added in v0.8.10
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryParamsRequest ¶ added in v0.8.10
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶ added in v0.8.10
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶ added in v0.8.10
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶ added in v0.8.10
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶ added in v0.8.10
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶ added in v0.8.10
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶ added in v0.8.10
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶ added in v0.8.10
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶ added in v0.8.10
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶ added in v0.8.10
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶ added in v0.8.10
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶ added in v0.8.10
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶ added in v0.8.10
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶ added in v0.8.10
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶ added in v0.8.10
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶ added in v0.8.10
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶ added in v0.8.10
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶ added in v0.8.10
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶ added in v0.8.10
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶ added in v0.8.10
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶ added in v0.8.10
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶ added in v0.8.10
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶ added in v0.8.10
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶ added in v0.8.10
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶ added in v0.8.10
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶ added in v0.8.10
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶ added in v0.8.10
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶ added in v0.8.10
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶ added in v0.8.10
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶ added in v0.8.10
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶ added in v0.8.10
type QueryServer interface { // Params returns the module parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // ServiceRecord returns the service record for a given origin. ServiceRecord(context.Context, *QueryServiceRecordRequest) (*QueryServiceRecordResponse, error) // WebauthnCredential returns the webauthn credential for a given origin. WebauthnCredential(context.Context, *QueryWebauthnCredentialRequest) (*QueryWebauthnCredentialResponse, error) }
QueryServer is the server API for Query service.
type QueryServiceRecordRequest ¶ added in v0.14.0
type QueryServiceRecordRequest struct { // origin defines the origin of the service. Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` }
QueryServiceRecordRequest is the request type for the Query/ServiceRecord RPC method.
func (*QueryServiceRecordRequest) Descriptor ¶ added in v0.14.0
func (*QueryServiceRecordRequest) Descriptor() ([]byte, []int)
func (*QueryServiceRecordRequest) GetOrigin ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) GetOrigin() string
func (*QueryServiceRecordRequest) Marshal ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) Marshal() (dAtA []byte, err error)
func (*QueryServiceRecordRequest) MarshalTo ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryServiceRecordRequest) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryServiceRecordRequest) ProtoMessage ¶ added in v0.14.0
func (*QueryServiceRecordRequest) ProtoMessage()
func (*QueryServiceRecordRequest) Reset ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) Reset()
func (*QueryServiceRecordRequest) Size ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) Size() (n int)
func (*QueryServiceRecordRequest) String ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) String() string
func (*QueryServiceRecordRequest) Unmarshal ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) Unmarshal(dAtA []byte) error
func (*QueryServiceRecordRequest) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) XXX_DiscardUnknown()
func (*QueryServiceRecordRequest) XXX_Marshal ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryServiceRecordRequest) XXX_Merge ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) XXX_Merge(src proto.Message)
func (*QueryServiceRecordRequest) XXX_Size ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) XXX_Size() int
func (*QueryServiceRecordRequest) XXX_Unmarshal ¶ added in v0.14.0
func (m *QueryServiceRecordRequest) XXX_Unmarshal(b []byte) error
type QueryServiceRecordResponse ¶ added in v0.14.0
type QueryServiceRecordResponse struct { // service_record defines the service record for a given origin. ServiceRecord Record `protobuf:"bytes,1,opt,name=service_record,json=serviceRecord,proto3" json:"service_record"` }
QueryServiceRecordResponse is the response type for the Query/ServiceRecord RPC method.
func (*QueryServiceRecordResponse) Descriptor ¶ added in v0.14.0
func (*QueryServiceRecordResponse) Descriptor() ([]byte, []int)
func (*QueryServiceRecordResponse) GetServiceRecord ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) GetServiceRecord() Record
func (*QueryServiceRecordResponse) Marshal ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) Marshal() (dAtA []byte, err error)
func (*QueryServiceRecordResponse) MarshalTo ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryServiceRecordResponse) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryServiceRecordResponse) ProtoMessage ¶ added in v0.14.0
func (*QueryServiceRecordResponse) ProtoMessage()
func (*QueryServiceRecordResponse) Reset ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) Reset()
func (*QueryServiceRecordResponse) Size ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) Size() (n int)
func (*QueryServiceRecordResponse) String ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) String() string
func (*QueryServiceRecordResponse) Unmarshal ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) Unmarshal(dAtA []byte) error
func (*QueryServiceRecordResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) XXX_DiscardUnknown()
func (*QueryServiceRecordResponse) XXX_Marshal ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryServiceRecordResponse) XXX_Merge ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) XXX_Merge(src proto.Message)
func (*QueryServiceRecordResponse) XXX_Size ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) XXX_Size() int
func (*QueryServiceRecordResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *QueryServiceRecordResponse) XXX_Unmarshal(b []byte) error
type QueryWebauthnCredentialRequest ¶ added in v0.14.0
type QueryWebauthnCredentialRequest struct { // origin defines the origin of the service. Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` // handle defines the handle of the webauthn credential. Handle string `protobuf:"bytes,2,opt,name=handle,proto3" json:"handle,omitempty"` }
QueryWebauthnCredentialRequest is the request type for the Query/WebauthnCredential RPC method.
func (*QueryWebauthnCredentialRequest) Descriptor ¶ added in v0.14.0
func (*QueryWebauthnCredentialRequest) Descriptor() ([]byte, []int)
func (*QueryWebauthnCredentialRequest) GetHandle ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) GetHandle() string
func (*QueryWebauthnCredentialRequest) GetOrigin ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) GetOrigin() string
func (*QueryWebauthnCredentialRequest) Marshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) Marshal() (dAtA []byte, err error)
func (*QueryWebauthnCredentialRequest) MarshalTo ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebauthnCredentialRequest) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebauthnCredentialRequest) ProtoMessage ¶ added in v0.14.0
func (*QueryWebauthnCredentialRequest) ProtoMessage()
func (*QueryWebauthnCredentialRequest) Reset ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) Reset()
func (*QueryWebauthnCredentialRequest) Size ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) Size() (n int)
func (*QueryWebauthnCredentialRequest) String ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) String() string
func (*QueryWebauthnCredentialRequest) Unmarshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) Unmarshal(dAtA []byte) error
func (*QueryWebauthnCredentialRequest) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) XXX_DiscardUnknown()
func (*QueryWebauthnCredentialRequest) XXX_Marshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebauthnCredentialRequest) XXX_Merge ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) XXX_Merge(src proto.Message)
func (*QueryWebauthnCredentialRequest) XXX_Size ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) XXX_Size() int
func (*QueryWebauthnCredentialRequest) XXX_Unmarshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialRequest) XXX_Unmarshal(b []byte) error
type QueryWebauthnCredentialResponse ¶ added in v0.14.0
type QueryWebauthnCredentialResponse struct { // webauthn_credential defines the webauthn credential for a given origin. WebauthnCredential []WebauthnCredential `protobuf:"bytes,1,rep,name=webauthn_credential,json=webauthnCredential,proto3" json:"webauthn_credential"` }
QueryWebauthnCredentialResponse is the response type for the Query/WebauthnCredential RPC method.
func (*QueryWebauthnCredentialResponse) Descriptor ¶ added in v0.14.0
func (*QueryWebauthnCredentialResponse) Descriptor() ([]byte, []int)
func (*QueryWebauthnCredentialResponse) GetWebauthnCredential ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) GetWebauthnCredential() []WebauthnCredential
func (*QueryWebauthnCredentialResponse) Marshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) Marshal() (dAtA []byte, err error)
func (*QueryWebauthnCredentialResponse) MarshalTo ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryWebauthnCredentialResponse) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryWebauthnCredentialResponse) ProtoMessage ¶ added in v0.14.0
func (*QueryWebauthnCredentialResponse) ProtoMessage()
func (*QueryWebauthnCredentialResponse) Reset ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) Reset()
func (*QueryWebauthnCredentialResponse) Size ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) Size() (n int)
func (*QueryWebauthnCredentialResponse) String ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) String() string
func (*QueryWebauthnCredentialResponse) Unmarshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) Unmarshal(dAtA []byte) error
func (*QueryWebauthnCredentialResponse) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) XXX_DiscardUnknown()
func (*QueryWebauthnCredentialResponse) XXX_Marshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWebauthnCredentialResponse) XXX_Merge ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) XXX_Merge(src proto.Message)
func (*QueryWebauthnCredentialResponse) XXX_Size ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) XXX_Size() int
func (*QueryWebauthnCredentialResponse) XXX_Unmarshal ¶ added in v0.14.0
func (m *QueryWebauthnCredentialResponse) XXX_Unmarshal(b []byte) error
type Record ¶ added in v0.14.1
type Record struct { // Name is the name of the service Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Description is the description of the service Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Authority is the address of the owner of the service Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"` // Permissions is the uint32 representation of the permissions of the service Permissions uint32 `protobuf:"varint,4,opt,name=permissions,proto3" json:"permissions,omitempty"` // Origin is the DNS resolvable address of the service Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` }
Record is the representation of a sonr enabled service
func DefaultRecords ¶ added in v0.14.1
func DefaultRecords() []Record
DefaultRecords returns default records.
func GetRecordByOrigin ¶ added in v0.13.12
func GetRecordByOrigin(conn *grpc.ClientConn, origin string) (*Record, error)
GetRecordByOrigin returns the service record for the given origin
func (*Record) Descriptor ¶ added in v0.14.1
func (*Record) GetAuthority ¶ added in v0.14.1
func (*Record) GetDescription ¶ added in v0.14.1
func (*Record) GetPermissions ¶ added in v0.14.1
func (*Record) MarshalToSizedBuffer ¶ added in v0.14.1
func (*Record) ProtoMessage ¶ added in v0.14.1
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶ added in v0.14.1
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶ added in v0.14.1
func (*Record) XXX_Unmarshal ¶ added in v0.14.1
type UnimplementedMsgServer ¶ added in v0.8.10
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateRecord ¶ added in v0.9.2
func (*UnimplementedMsgServer) CreateRecord(ctx context.Context, req *MsgCreateRecord) (*MsgCreateRecordResponse, error)
func (*UnimplementedMsgServer) DeleteRecord ¶ added in v0.9.2
func (*UnimplementedMsgServer) DeleteRecord(ctx context.Context, req *MsgDeleteRecord) (*MsgDeleteRecordResponse, error)
func (*UnimplementedMsgServer) LoginAccount ¶ added in v0.13.12
func (*UnimplementedMsgServer) LoginAccount(ctx context.Context, req *MsgLoginAccount) (*MsgLoginAccountResponse, error)
func (*UnimplementedMsgServer) RegisterAccount ¶ added in v0.13.12
func (*UnimplementedMsgServer) RegisterAccount(ctx context.Context, req *MsgRegisterAccount) (*MsgRegisterAccountResponse, error)
func (*UnimplementedMsgServer) UpdateParams ¶ added in v0.8.10
func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (*UnimplementedMsgServer) UpdateRecord ¶ added in v0.9.2
func (*UnimplementedMsgServer) UpdateRecord(ctx context.Context, req *MsgUpdateRecord) (*MsgUpdateRecordResponse, error)
type UnimplementedQueryServer ¶ added in v0.8.10
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Params ¶ added in v0.8.10
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ServiceRecord ¶ added in v0.14.0
func (*UnimplementedQueryServer) ServiceRecord(ctx context.Context, req *QueryServiceRecordRequest) (*QueryServiceRecordResponse, error)
func (*UnimplementedQueryServer) WebauthnCredential ¶ added in v0.14.0
func (*UnimplementedQueryServer) WebauthnCredential(ctx context.Context, req *QueryWebauthnCredentialRequest) (*QueryWebauthnCredentialResponse, error)
type UserEntity ¶ added in v0.13.12
type UserEntity = protocol.UserEntity
UserEntity is the entity of a user
type WebauthnCredential ¶ added in v0.14.0
type WebauthnCredential struct { // Assertion Type is the type of the credential AssertionType string `protobuf:"bytes,1,opt,name=assertion_type,json=assertionType,proto3" json:"assertion_type,omitempty"` // Id is the id of the credential Id []byte `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // handle is the handle of the credential Handle string `protobuf:"bytes,3,opt,name=handle,proto3" json:"handle,omitempty"` // transports is the list of transports supported by the credential Transports []string `protobuf:"bytes,4,rep,name=transports,proto3" json:"transports,omitempty"` // origin is the origin of the credential Origin string `protobuf:"bytes,5,opt,name=origin,proto3" json:"origin,omitempty"` // Authority is the address of the owner of the credential Authority string `protobuf:"bytes,6,opt,name=authority,proto3" json:"authority,omitempty"` }
WebauthnCredential is the representation of a webauthn credential in the format of a CredentialDescriptor
func (*WebauthnCredential) Descriptor ¶ added in v0.14.0
func (*WebauthnCredential) Descriptor() ([]byte, []int)
func (*WebauthnCredential) GetAssertionType ¶ added in v0.14.0
func (m *WebauthnCredential) GetAssertionType() string
func (*WebauthnCredential) GetAuthority ¶ added in v0.14.0
func (m *WebauthnCredential) GetAuthority() string
func (*WebauthnCredential) GetHandle ¶ added in v0.14.0
func (m *WebauthnCredential) GetHandle() string
func (*WebauthnCredential) GetId ¶ added in v0.14.0
func (m *WebauthnCredential) GetId() []byte
func (*WebauthnCredential) GetOrigin ¶ added in v0.14.0
func (m *WebauthnCredential) GetOrigin() string
func (*WebauthnCredential) GetTransports ¶ added in v0.14.0
func (m *WebauthnCredential) GetTransports() []string
func (*WebauthnCredential) Marshal ¶ added in v0.14.0
func (m *WebauthnCredential) Marshal() (dAtA []byte, err error)
func (*WebauthnCredential) MarshalTo ¶ added in v0.14.0
func (m *WebauthnCredential) MarshalTo(dAtA []byte) (int, error)
func (*WebauthnCredential) MarshalToSizedBuffer ¶ added in v0.14.0
func (m *WebauthnCredential) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*WebauthnCredential) ProtoMessage ¶ added in v0.14.0
func (*WebauthnCredential) ProtoMessage()
func (*WebauthnCredential) Reset ¶ added in v0.14.0
func (m *WebauthnCredential) Reset()
func (*WebauthnCredential) Size ¶ added in v0.14.0
func (m *WebauthnCredential) Size() (n int)
func (*WebauthnCredential) String ¶ added in v0.14.0
func (m *WebauthnCredential) String() string
func (*WebauthnCredential) Unmarshal ¶ added in v0.14.0
func (m *WebauthnCredential) Unmarshal(dAtA []byte) error
func (*WebauthnCredential) XXX_DiscardUnknown ¶ added in v0.14.0
func (m *WebauthnCredential) XXX_DiscardUnknown()
func (*WebauthnCredential) XXX_Marshal ¶ added in v0.14.0
func (m *WebauthnCredential) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WebauthnCredential) XXX_Merge ¶ added in v0.14.0
func (m *WebauthnCredential) XXX_Merge(src proto.Message)
func (*WebauthnCredential) XXX_Size ¶ added in v0.14.0
func (m *WebauthnCredential) XXX_Size() int
func (*WebauthnCredential) XXX_Unmarshal ¶ added in v0.14.0
func (m *WebauthnCredential) XXX_Unmarshal(b []byte) error