statisticsserver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Count               int
	Size                string
	IsRobotsTxtViolator string
}

type StatisticsServer

type StatisticsServer struct {
	Host       string
	Port       int
	Statistics *statistics.Statistics
	// contains filtered or unexported fields
}

StatisticsServer is the structure for the StatisticsServer.

func NewStatisticsServer

func NewStatisticsServer(host string, port int, statistics *statistics.Statistics) *StatisticsServer

NewStatisticsServer creates a new StatisticsServer instance.

func (*StatisticsServer) Serve

func (ss *StatisticsServer) Serve() error

Serve starts the statistics server.

Jump to

Keyboard shortcuts

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