package
0.0.0-20241215213628-759501987892
Repository: https://github.com/xoxloviwan/go-monitor.git
Documentation: pkg.go.dev

# Packages

Package mock_api is a generated GoMock package.

# Functions

LogFatal logs an error message and exits the program.
NewMockRouter creates a new mock instance.
NewRouter returns a new Router instance.
RunServer runs the API server with the given configuration.

# Variables

logger struct used in package.

# Structs

Handler is an API handler.
MockRouter is a mock of Router interface.
MockRouterMockRecorder is the mock recorder for MockRouter.
RouterImpl is wrap for gin.Engine and http.Server.

# Interfaces

Backuper is an interface for backing up data.
Reader is an interface for reading metrics.
ReaderWriter is an interface that combines Reader and Writer.
Router interface for API server.
Storage is alias for ReaderWriter.
Writer is an interface for writing metrics.