Documentation
¶
Overview ¶
Package fixtures builds public protocol inputs. It never mutates daemon storage.
Index ¶
- Constants
- Variables
- func Bootstrap() (config.Config, map[string]string)
- func Contract(eligible []string, recovery string, rework bool) map[string]any
- func Create(eligible []string, recovery string, rework bool) map[string]any
- func Grant(principal string, agent any, actions []string, until time.Time) map[string]any
- func Grants(eligible []string) []any
- func ImmutableRef(uri, mediaType string, content []byte) map[string]any
- func Key() string
- func Timestamp(t time.Time) string
- func Token() string
Constants ¶
View Source
const ( Authority = "authority_test" Owner = "principal_O" PrincipalA = "principal_A" PrincipalB = "principal_B" Acceptance = "principal_X" Reader = "principal_R" AgentA = "agent_A" AgentB = "agent_B" )
Variables ¶
View Source
var StartTime = time.Date(2026, 10, 30, 0, 0, 0, 0, time.UTC)
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.