Discover Packages
github.com/lemonlatte/abot
shared
interface
payment
package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 1, 2016
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package payment enables interaction with arbitrary payment providers. It
implements a standardized interface through which Stripe, PayPal and more may
be supported. It's up to individual drivers to add support for each of these
services.
Drivers returns a sorted list of the names of the registered drivers.
Register makes a payment driver available by the provided name. If Register
is called twice with the same name or if driver is nill, it panics.
Conn is a connection to a specific payment driver.
Open a connection to a registered driver.
Driver returns the driver used by a connection.
Source Files
¶
Directories
¶
Package driver defines interfaces to be implemented by payment drivers as used by package payment.
Package driver defines interfaces to be implemented by payment drivers as used by package payment.
Click to show internal directories.
Click to hide internal directories.