Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Error the default vouchers errs class Error = errs.Class("vouchers error") )
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Expiration int `help:"number of days before a voucher expires" default:"30"`
}
Config contains voucher service configuration parameters
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service for issuing signed vouchers
Click to show internal directories.
Click to hide internal directories.