Documentation
¶
Overview ¶
Package tokenpolicy defines the shared input-token admission policy used by solvers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
// contains filtered or unexported fields
}
Policy admits input tokens and marks the permissioned-only scope as single-route. Its zero value is the unrestricted "all" policy.
func (Policy) RequiresSingleRoute ¶
RequiresSingleRoute reports whether an admitted token must use one physical route.
Click to show internal directories.
Click to hide internal directories.