mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-21 06:45:26 -06:00
Make it easy to build without Stripe
This commit is contained in:
parent
32fa8d43c1
commit
ea338ae4fa
11 changed files with 89 additions and 41 deletions
13
payments/payments_dummy.go
Normal file
13
payments/payments_dummy.go
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
//go:build nopayments
|
||||
|
||||
package payments
|
||||
|
||||
const Available = false
|
||||
|
||||
type SubscriptionStatus string
|
||||
|
||||
type PriceRecurringInterval string
|
||||
|
||||
func Setup(stripeSecretKey string) {
|
||||
// Nothing to see here
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue