// Copyright 2015 The Vanadium Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
// pg-index=3 | |
package fortune | |
type Fortune interface { | |
// Returns a random fortune. | |
GetRandomFortune() (Fortune string | error) | |
// Adds a fortune to the set used by GetRandomFortune(). | |
AddNewFortune(Fortune string) error | |
} |