mirror of
https://github.com/hanzoai/commerce.git
synced 2026-10-30 15:08:42 +00:00
Multi-tenant commerce and billing: orders, subscriptions, invoices, plans, usage metering and a credit ledger. One Go binary. MIT OR Apache-2.0. Claude-Session: https://claude.ai/code/session_01SAtaDFm8VDiWrhYHNNtxMw
14 lines
448 B
Go
14 lines
448 B
Go
package mpc
|
|
|
|
import (
|
|
"github.com/hanzoai/commerce/payment/processor"
|
|
)
|
|
|
|
// The rail registers itself from the environment, through the one function that
|
|
// reads it. Nothing is assembled here: a second place that built a Config would
|
|
// be a second place a setting could be forgotten, which is how MPC_ZAP_ADDR
|
|
// could have been added to the config type and still done nothing.
|
|
func init() {
|
|
processor.Register(NewProcessor(DefaultConfig()))
|
|
}
|