Documentation ¶
Index ¶
- Variables
- type Code
- type DocGenericError
- type Empty
- type EmptyResponse
- type Encoding
- type GenericError
- func (*GenericError) Descriptor() ([]byte, []int)deprecated
- func (x *GenericError) GetCode() Code
- func (x *GenericError) GetMessage() string
- func (*GenericError) ProtoMessage()
- func (x *GenericError) ProtoReflect() protoreflect.Message
- func (x *GenericError) Reset()
- func (x *GenericError) String() string
- type Timing
Constants ¶
This section is empty.
Variables ¶
var ( Encoding_name = map[int32]string{ 0: "Identity", 48: "Base2", 55: "Base8", 57: "Base10", 102: "Base16", 70: "Base16Upper", 98: "Base32", 66: "Base32Upper", 99: "Base32pad", 67: "Base32padUpper", 118: "Base32hex", 86: "Base32hexUpper", 116: "Base32hexPad", 84: "Base32hexPadUpper", 107: "Base36", 75: "Base36Upper", 122: "Base58BTC", 90: "Base58Flickr", 109: "Base64", 117: "Base64url", 77: "Base64pad", 85: "Base64urlPad", 128640: "Base256Emoji", } Encoding_value = map[string]int32{ "Identity": 0, "Base2": 48, "Base8": 55, "Base10": 57, "Base16": 102, "Base16Upper": 70, "Base32": 98, "Base32Upper": 66, "Base32pad": 99, "Base32padUpper": 67, "Base32hex": 118, "Base32hexUpper": 86, "Base32hexPad": 116, "Base32hexPadUpper": 84, "Base36": 107, "Base36Upper": 75, "Base58BTC": 122, "Base58Flickr": 90, "Base64": 109, "Base64url": 117, "Base64pad": 77, "Base64urlPad": 85, "Base256Emoji": 128640, } )
Enum value maps for Encoding.
var ( Code_name = map[int32]string{ 0: "DEFAULT", 1000: "Common", 2000: "DIDExchange", 3000: "Messaging", 4000: "VDR", 5000: "ROUTE", 6000: "VC", 7000: "KMS", 8000: "IssueCredential", 9000: "PresentProof", 10000: "Introduce", 11000: "Outofband", 11100: "OutofbandV2", 12000: "VCWallet", 13000: "RFC0593", 14000: "LD", 15000: "Connection", } Code_value = map[string]int32{ "DEFAULT": 0, "Common": 1000, "DIDExchange": 2000, "Messaging": 3000, "VDR": 4000, "ROUTE": 5000, "VC": 6000, "KMS": 7000, "IssueCredential": 8000, "PresentProof": 9000, "Introduce": 10000, "Outofband": 11000, "OutofbandV2": 11100, "VCWallet": 12000, "RFC0593": 13000, "LD": 14000, "Connection": 15000, } )
Enum value maps for Code.
var File_api_common_types_common_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code int32
TODO command types shouldn't be mentioned in common error package, [Issue#1182].
const ( Code_DEFAULT Code = 0 // Common error group for general command errors. Code_Common Code = 1000 // DIDExchange error group for DID exchange command errors. Code_DIDExchange Code = 2000 // Messaging error group for messaging service errors. Code_Messaging Code = 3000 // VDR error group for VDR command errors. Code_VDR Code = 4000 // ROUTE error group for Route command errors. Code_ROUTE Code = 5000 // VC error group for Verifiable Credential command errors. Code_VC Code = 6000 // KMS error group for key management service errors. Code_KMS Code = 7000 // IssueCredential error group for issue credential command errors. Code_IssueCredential Code = 8000 // PresentProof error group for present proof command errors. Code_PresentProof Code = 9000 // Introduce error group for introduce command errors. Code_Introduce Code = 10000 // Outofband error group for outofband command errors. Code_Outofband Code = 11000 // OutofbandV2 error group for outofband command errors. Code_OutofbandV2 Code = 11100 // VCWallet error group for verifiable Credential wallet command errors. Code_VCWallet Code = 12000 // RFC0593 error group for RFC0593 command errors. Code_RFC0593 Code = 13000 // LD error group for JSON-LD command errors. Code_LD Code = 14000 // Connection error group for connection management errors. Code_Connection Code = 15000 )
func (Code) Descriptor ¶
func (Code) Descriptor() protoreflect.EnumDescriptor
func (Code) EnumDescriptor
deprecated
func (Code) Number ¶
func (x Code) Number() protoreflect.EnumNumber
func (Code) Type ¶
func (Code) Type() protoreflect.EnumType
type DocGenericError ¶
type DocGenericError struct { // in: body Body *GenericError `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
swagger:response genericError
func (*DocGenericError) Descriptor
deprecated
func (*DocGenericError) Descriptor() ([]byte, []int)
Deprecated: Use DocGenericError.ProtoReflect.Descriptor instead.
func (*DocGenericError) GetBody ¶
func (x *DocGenericError) GetBody() *GenericError
func (*DocGenericError) ProtoMessage ¶
func (*DocGenericError) ProtoMessage()
func (*DocGenericError) ProtoReflect ¶
func (x *DocGenericError) ProtoReflect() protoreflect.Message
func (*DocGenericError) Reset ¶
func (x *DocGenericError) Reset()
func (*DocGenericError) String ¶
func (x *DocGenericError) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
Empty model
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type EmptyResponse ¶
type EmptyResponse struct { // in: body Body *Empty `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
EmptyResponse model
swagger:response emptyResponse
func (*EmptyResponse) Descriptor
deprecated
func (*EmptyResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmptyResponse.ProtoReflect.Descriptor instead.
func (*EmptyResponse) GetBody ¶
func (x *EmptyResponse) GetBody() *Empty
func (*EmptyResponse) ProtoMessage ¶
func (*EmptyResponse) ProtoMessage()
func (*EmptyResponse) ProtoReflect ¶
func (x *EmptyResponse) ProtoReflect() protoreflect.Message
func (*EmptyResponse) Reset ¶
func (x *EmptyResponse) Reset()
func (*EmptyResponse) String ¶
func (x *EmptyResponse) String() string
type Encoding ¶
type Encoding int32
These are the encodings specified in the standard, not are all These are the encodings specified in the standard, not are all supported yet
const ( Encoding_Identity Encoding = 0 Encoding_Base2 Encoding = 48 // '0' Encoding_Base8 Encoding = 55 // '7' Encoding_Base10 Encoding = 57 // '9' Encoding_Base16 Encoding = 102 //'f' Encoding_Base16Upper Encoding = 70 // 'F' Encoding_Base32 Encoding = 98 // 'b' Encoding_Base32Upper Encoding = 66 // 'B' Encoding_Base32pad Encoding = 99 /// 'c' Encoding_Base32padUpper Encoding = 67 // 'C' Encoding_Base32hex Encoding = 118 // 'v' Encoding_Base32hexUpper Encoding = 86 // 'V' Encoding_Base32hexPad Encoding = 116 // 't' Encoding_Base32hexPadUpper Encoding = 84 // 'T' Encoding_Base36 Encoding = 107 // 'k' Encoding_Base36Upper Encoding = 75 // 'K' Encoding_Base58BTC Encoding = 122 // 'z' Encoding_Base58Flickr Encoding = 90 // 'Z' Encoding_Base64 Encoding = 109 // 'm' Encoding_Base64url Encoding = 117 // 'u' Encoding_Base64pad Encoding = 77 // 'M' Encoding_Base64urlPad Encoding = 85 // 'U' Encoding_Base256Emoji Encoding = 128640 /// '🚀' )
func (Encoding) Descriptor ¶
func (Encoding) Descriptor() protoreflect.EnumDescriptor
func (Encoding) EnumDescriptor
deprecated
func (Encoding) Number ¶
func (x Encoding) Number() protoreflect.EnumNumber
func (Encoding) Type ¶
func (Encoding) Type() protoreflect.EnumType
type GenericError ¶
type GenericError struct { Code Code `protobuf:"varint,1,opt,name=code,proto3,enum=api.common.types.Code" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
GenericError is aries rest api error response swagger:model
func (*GenericError) Descriptor
deprecated
func (*GenericError) Descriptor() ([]byte, []int)
Deprecated: Use GenericError.ProtoReflect.Descriptor instead.
func (*GenericError) GetCode ¶
func (x *GenericError) GetCode() Code
func (*GenericError) GetMessage ¶
func (x *GenericError) GetMessage() string
func (*GenericError) ProtoMessage ¶
func (*GenericError) ProtoMessage()
func (*GenericError) ProtoReflect ¶
func (x *GenericError) ProtoReflect() protoreflect.Message
func (*GenericError) Reset ¶
func (x *GenericError) Reset()
func (*GenericError) String ¶
func (x *GenericError) String() string
type Timing ¶
type Timing struct { ExpiresTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expires_time,json=expiresTime,proto3" json:"expires_time,omitempty"` // contains filtered or unexported fields }
Timing keeps expiration time.
func (*Timing) Descriptor
deprecated
func (*Timing) GetExpiresTime ¶
func (x *Timing) GetExpiresTime() *timestamppb.Timestamp
func (*Timing) ProtoMessage ¶
func (*Timing) ProtoMessage()
func (*Timing) ProtoReflect ¶
func (x *Timing) ProtoReflect() protoreflect.Message