Documentation ¶ Index ¶ type Service func New(pool *pgxpool.Pool, dataService ports.DataService, tcpStats TCPStats, ...) *Service func (s *Service) Metrics(ctx context.Context) (map[string]any, error) func (s *Service) Status(ctx context.Context) (map[string]any, error) type TCPStats Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(pool *pgxpool.Pool, dataService ports.DataService, tcpStats TCPStats, startTime int64) *Service func (*Service) Metrics ¶ func (s *Service) Metrics(ctx context.Context) (map[string]any, error) func (*Service) Status ¶ func (s *Service) Status(ctx context.Context) (map[string]any, error) type TCPStats ¶ type TCPStats interface { ClientsCount() int } Source Files ¶ View all Source files status.go Click to show internal directories. Click to hide internal directories.