Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(user domain.IUserAssetEventUseCase) station.PaymentService
func ProvideUniversalClients ¶
func ProvideUniversalClients( c redis2.UniversalClient, ) []redis2.UniversalClient
Types ¶
type Options ¶
type Options struct { Server *ServerOptions `mapstructure:"server"` RedisClusterClient *injectors.RedisClusterClientOptions `mapstructure:"redisClusterClient"` AssetChangeEventProducer *injectors.RmqProducerClientOptions `mapstructure:"assetChangeEventProducer"` PaymentDaClient *injectors.PaymentDaClientOptions `mapstruct:"paymentDaClient"` UserAssetTxMethod string `mapstructure:"userAssetTxMethod"` RmqConsumers map[string]*subscriber.RmqPushConsumerOptions `mapstructure:"rmqConsumers"` }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
type ServerOptions ¶
type ServerOptions struct { Addr string `mapstructure:"addr"` LogLevel logutils.Level `mapstructure:"logLevel"` ProjectName string `mapstructure:"projectName"` LogMeta map[string]interface{} `mapstructure:"logMeta"` OltpGrpcCollectorEndpoint string `mapstructure:"oltpCollectorGrpcEndpoint"` }
ServerOptions server options
func DefaultServerOptions ¶
func DefaultServerOptions() *ServerOptions
DefaultServerOptions default opts
Click to show internal directories.
Click to hide internal directories.