Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Client *entdb.Client
Logger *slog.Logger
BillingService billing.Service
FeatureService feature.FeatureConnector
StreamingConnector streaming.Connector
RecognizerService recognizer.Service
FlatFeeHandler flatfee.Handler
CreditPurchaseHandler creditpurchase.Handler
UsageBasedHandler usagebased.Handler
}
type MockHandlers ¶
type MockHandlers struct {
FlatFee flatfee.Handler
CreditPurchase creditpurchase.Handler
UsageBased usagebased.Handler
}
func NewMockHandlers ¶
func NewMockHandlers() MockHandlers
type Services ¶
type Services struct {
ChargesService charges.Service
UsageBasedService usagebased.Service
FlatFeeService flatfee.Service
CreditPurchaseService creditpurchase.Service
}
Click to show internal directories.
Click to hide internal directories.