mirror of
https://github.com/sonr-io/crypto.git
synced 2026-01-12 04:09:13 +00:00
18 lines
369 B
Go
18 lines
369 B
Go
package keys
|
|
|
|
type DIDMethod string
|
|
|
|
const (
|
|
DIDMethodKey DIDMethod = "key"
|
|
DIDMethodSonr DIDMethod = "sonr"
|
|
DIDMehthodBitcoin DIDMethod = "btcr"
|
|
DIDMethodEthereum DIDMethod = "ethr"
|
|
DIDMethodCbor DIDMethod = "cbor"
|
|
DIDMethodCID DIDMethod = "cid"
|
|
DIDMethodIPFS DIDMethod = "ipfs"
|
|
)
|
|
|
|
func (d DIDMethod) String() string {
|
|
return string(d)
|
|
}
|