Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CaptureList ¶
func Store ¶
func Store(origin, id string, c Capability)
Types ¶
type Capability ¶
type Capability struct {
Known bool `json:"known"`
Levels []string `json:"levels"`
Default string `json:"default,omitempty"`
}
func Lookup ¶
func Lookup(origin, id string) Capability
func Parse ¶
func Parse(raw []byte) Capability
func (Capability) Options ¶
func (c Capability) Options() []string
func (Capability) Resolve ¶
func (c Capability) Resolve(value string) string
Click to show internal directories.
Click to hide internal directories.