status

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL