docs(delegation): add Go doc for Tag
This commit is contained in:
@@ -14,8 +14,14 @@ import (
|
|||||||
"github.com/ucan-wg/go-ucan/pkg/meta"
|
"github.com/ucan-wg/go-ucan/pkg/meta"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// [Tag] is the string used as a key within the SigPayload that identifies
|
||||||
|
// that the TokenPayload is a delegation.
|
||||||
|
//
|
||||||
|
// [Tag]: https://github.com/ucan-wg/delegation/tree/v1_ipld#type-tag
|
||||||
const Tag = "ucan/dlg@1.0.0-rc.1"
|
const Tag = "ucan/dlg@1.0.0-rc.1"
|
||||||
|
|
||||||
|
// TODO: update the above Tag URL once the delegation specification is merged.
|
||||||
|
|
||||||
//go:embed delegation.ipldsch
|
//go:embed delegation.ipldsch
|
||||||
var schemaBytes []byte
|
var schemaBytes []byte
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user