Versions in this module Expand all Collapse all v1 v1.1.0 May 22, 2026 Changes in this version + func CanonicalizePath(p string) string + func CanonicalizeURL(raw string) (string, error) + func IsSubset(parent, child arcp.Lease, parentRemaining map[arcp.Currency]float64, ...) error + type State struct + func NewState(lease arcp.Lease, expiresAt *time.Time) *State + func (s *State) Budget() map[arcp.Currency]float64 + func (s *State) Debit(cur arcp.Currency, v float64) (float64, error) + func (s *State) ExpiresAt() *time.Time + func (s *State) HasBudget() bool + func (s *State) Initial() map[arcp.Currency]float64 + func (s *State) Lease() arcp.Lease + func (s *State) ValidateOp(now time.Time, cap arcp.Capability, target string) error