Documentation ¶ Index ¶ Constants Variables func NewServer(databaseClient database.Client, redisClient *redis.Client, ...) (service.Server, error) type Server func (s *Server) Name() string func (s *Server) Run(ctx context.Context) error Constants ¶ View Source const Name = "settler" Variables ¶ View Source var Module = fx.Options( fx.Provide(provider.ProvideDatabaseClient), fx.Provide(provider.ProvideRedisClient), fx.Provide(provider.ProvideEthereumMultiChainClient), fx.Provide(provider.ProvideTxManager), ) Functions ¶ func NewServer ¶ func NewServer(databaseClient database.Client, redisClient *redis.Client, ethereumMultiChainClient *ethereum.MultiChainClient, config *config.File, txManager *txmgr.SimpleTxManager) (service.Server, error) Types ¶ type Server ¶ type Server struct { // contains filtered or unexported fields } func (*Server) Name ¶ func (s *Server) Name() string func (*Server) Run ¶ func (s *Server) Run(ctx context.Context) error Source Files ¶ View all Source files fx.go operation_rewards.go server.go settler.go utils.go Click to show internal directories. Click to hide internal directories.