feat: initial byte types
This commit is contained in:
parent
5bee54d174
commit
d5dc1de418
|
@ -0,0 +1,14 @@
|
|||
package types
|
||||
|
||||
type CIDType int
|
||||
|
||||
const (
|
||||
CIDTypeRaw CIDType = 0x26
|
||||
CIDTypeMetadataMedia CIDType = 0xc5
|
||||
CIDTypeMetadataWebapp CIDType = 0x59
|
||||
CIDTypeResolver CIDType = 0x25
|
||||
CIDTypeUserIdentity CIDType = 0x77
|
||||
CIDTypeBridge CIDType = 0x3a
|
||||
CIDTypeEncryptedStatic CIDType = 0xae
|
||||
CIDTypeEncryptedDynamic CIDType = 0xad
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
package types
|
||||
|
||||
type HashType int
|
||||
|
||||
const (
|
||||
HashTypeBlake3 HashType = 0x1f
|
||||
HashTypeEd25519 HashType = 0xed
|
||||
)
|
|
@ -0,0 +1,8 @@
|
|||
package types
|
||||
|
||||
type RegistryType int
|
||||
|
||||
const (
|
||||
RegistryTypeCID RegistryType = 0x5a
|
||||
RegistryTypeEncryptedCID RegistryType = 0x5e
|
||||
)
|
Loading…
Reference in New Issue