blob: 7df86e20a9bbb31e0078ff549e2a2f0e6753425a [file] [log] [blame]
package fortune
import "veyron2/security"
// Fortune allows clients to Get and Add fortune strings.
type Fortune interface {
// Get returns a random fortune.
Get() (Fortune string, Err error) {security.ReadLabel}
// Add stores a fortune in the set used by Get.
Add(Fortune string) error {security.WriteLabel}
}