Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestData ¶ added in v0.3.2
type RequestDataSlice ¶ added in v0.3.2
type RequestDataSlice []*RequestData
func (RequestDataSlice) Len ¶ added in v0.3.2
func (rd RequestDataSlice) Len() int
Len is part of sort.Interface.
func (RequestDataSlice) Less ¶ added in v0.3.2
func (rd RequestDataSlice) Less(i, j int) bool
Less is part of sort.Interface. We use count as the primary sort key.
func (RequestDataSlice) Swap ¶ added in v0.3.2
func (rd RequestDataSlice) Swap(i, j int)
Swap is part of sort.Interface.
type StatisticsServer ¶
type StatisticsServer struct { Host string Port int Statistics *statistics.Statistics Logger *slog.Logger // contains filtered or unexported fields }
StatisticsServer is the structure for the StatisticsServer.
func NewStatisticsServer ¶
func NewStatisticsServer(ctx context.Context, logger *slog.Logger, host string, port int, st *statistics.Statistics, ) *StatisticsServer
NewStatisticsServer creates a new StatisticsServer instance.
Click to show internal directories.
Click to hide internal directories.