Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NewPriceModule = fx.Options( fx.Provide(repository.NewCoinRepository), fx.Provide(repository.NewCoinHistoricalPriceRepository), fx.Provide(repository.NewAppTokenRepository), fx.Provide(repository.NewRequestLogRepository), fx.Provide(repository.NewSlackNotificationRepository), fx.Provide(service.NewCoinGeckoService), fx.Provide(service.NewGeckoTerminalService), fx.Provide(service.NewDefiLlamaService), fx.Provide(service.NewDodoexRouteService), fx.Provide(service.NewPriceService), fx.Provide(service.NewCoinsService), fx.Provide(service.NewAppTokenService), fx.Provide(service.NewCoinGeckoOnChainService), fx.Provide(service.NewSlackNotificationService), fx.Provide(controller.NewController), fx.Provide(NewPriceRouter), fx.Provide(func(repo repository.CoinRepository) shared.CoinChecker { return repo }), )
register bulky of agent module
Functions ¶
This section is empty.
Types ¶
type PriceRouter ¶
type PriceRouter struct { App *application.Application Controller *controller.Controller RateLimiterService *service.RateLimiterService Logger zerolog.Logger }
struct of AgentRouter
func NewPriceRouter ¶
func NewPriceRouter(app *application.Application, controller *controller.Controller, rateLimiterService *service.RateLimiterService, logger zerolog.Logger) *PriceRouter
init AgentRouter
func (*PriceRouter) RegisterAppTokenRoutes ¶
func (_i *PriceRouter) RegisterAppTokenRoutes()
func (*PriceRouter) RegisterCoinsRoutes ¶
func (_i *PriceRouter) RegisterCoinsRoutes()
func (*PriceRouter) RegisterPriceRoutes ¶
func (_i *PriceRouter) RegisterPriceRoutes()
register routes of agent module
Click to show internal directories.
Click to hide internal directories.