Documentation
¶
Index ¶
- Constants
- func Use(opts ...UseOption) runtime.Capability
- type ChannelBinding
- type ChannelSelection
- type ChannelSelectionRequest
- type ChannelSelector
- type Config
- type ConfigLoader
- type PricingPolicy
- type ProviderAdapter
- type Registry
- type ReloadableChannelSelector
- type Service
- type ServiceConfig
- type SetupFunc
- type UseOption
- func WithAdapters(adapters ...ProviderAdapter) UseOption
- func WithChannelBindings(bindings ...ChannelBinding) UseOption
- func WithChannelSelector(selector ChannelSelector) UseOption
- func WithConfig(cfg Config) UseOption
- func WithConfigLoader(loader ConfigLoader) UseOption
- func WithDependencies(deps ...runtime.Dependency) UseOption
- func WithInternal() UseOption
- func WithPricingPolicy(policy PricingPolicy) UseOption
- func WithRegistry(registry *Registry) UseOption
- func WithService(service *Service) UseOption
- func WithSetup(setup SetupFunc) UseOption
Constants ¶
View Source
const Name = string(corepayment.KeyPayment)
Variables ¶
This section is empty.
Functions ¶
func Use ¶
func Use(opts ...UseOption) runtime.Capability
Types ¶
type ChannelBinding ¶
type ChannelBinding = corepayment.ChannelBinding
type ChannelSelection ¶
type ChannelSelection = corepayment.ChannelSelection
type ChannelSelectionRequest ¶
type ChannelSelectionRequest = corepayment.ChannelSelectionRequest
type ChannelSelector ¶
type ChannelSelector = corepayment.ChannelSelector
type Config ¶
type Config struct {
Channels []ChannelBinding `mapstructure:"channels" yaml:"channels"`
ChannelBindings []ChannelBinding `mapstructure:"channel_bindings" yaml:"channel_bindings"`
}
type PricingPolicy ¶
type PricingPolicy = corepayment.PricingPolicy
type ProviderAdapter ¶
type ProviderAdapter = corepayment.ProviderAdapter
type Registry ¶
type Registry = corepayment.Registry
type ReloadableChannelSelector ¶
type ReloadableChannelSelector = corepayment.ReloadableChannelSelector
type ServiceConfig ¶
type ServiceConfig = corepayment.ServiceConfig
type UseOption ¶
type UseOption func(*useOptions)
func WithAdapters ¶
func WithAdapters(adapters ...ProviderAdapter) UseOption
func WithChannelBindings ¶
func WithChannelBindings(bindings ...ChannelBinding) UseOption
func WithChannelSelector ¶
func WithChannelSelector(selector ChannelSelector) UseOption
func WithConfig ¶
func WithConfigLoader ¶
func WithConfigLoader(loader ConfigLoader) UseOption
func WithDependencies ¶
func WithDependencies(deps ...runtime.Dependency) UseOption
func WithInternal ¶
func WithInternal() UseOption
func WithPricingPolicy ¶
func WithPricingPolicy(policy PricingPolicy) UseOption
func WithRegistry ¶
func WithService ¶
Click to show internal directories.
Click to hide internal directories.