Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(userAssetRepos domain.IUserAssetRepository) da.PaymentService
Types ¶
type Options ¶
type Options struct { Server *ServerOptions `mapstructure:"server"` MysqlDBClient *injectors.MysqlDBClientOptions `mapstructure:"mysqlDBClient"` RmqConsumers map[string]*subscriber.RmqPushConsumerOptions `mapstructure:"rmqConsumers"` }
Options payment da opts
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"` }
func DefaultServerOptions ¶
func DefaultServerOptions() *ServerOptions
DefaultServerOptions default opts
Click to show internal directories.
Click to hide internal directories.