| // Package test provides a VDL specification for a service used in the unittest of the acl package. |
| // Any package can define tags (of arbitrary types) to be attached to methods. |
| // This type can be used to index into a TaggedACLMap. |
| // For this example/unittest, there are three possible values of MyTag, |
| // each represented by a single-character string. |
| // MyObject demonstrates how tags are attached to methods. |
| type MyObject interface { |
| Resolve() error {Execute} |
| NoTags() error // No tags attached to this. |
| AllTags() error {Read, Write, Execute} |