Monorepo for Tangled
at push-pkuzytwlwptp 23 lines 655 B view raw
1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. 2 3package tangled 4 5// schema: sh.tangled.publicKey 6 7const ( 8 PublicKeyNSID = "sh.tangled.publicKey" 9) 10 11func init() { 12 // util.RegisterType("sh.tangled.publicKey", &PublicKey{}) 13} // 14// RECORDTYPE: PublicKey 15type PublicKey struct { 16 LexiconTypeID string `json:"$type,const=sh.tangled.publicKey" cborgen:"$type,const=sh.tangled.publicKey"` 17 // createdAt: key upload timestamp 18 CreatedAt string `json:"createdAt" cborgen:"createdAt"` 19 // key: public key contents 20 Key string `json:"key" cborgen:"key"` 21 // name: human-readable name for this key 22 Name string `json:"name" cborgen:"name"` 23}