Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is an option passed to a mock voucher Service.
func WithAcceptAll ¶
func WithAcceptAll() Option
WithAcceptAll sets the mock to return a new BatchIssuer on every call to GetStampIssuer.
func WithIssuer ¶
func WithIssuer(s *voucher.StampIssuer) Option
Click to show internal directories.
Click to hide internal directories.