server

package
v1.1.2-0...-5d0101c Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(
	promReg *prometheus.Registry,
	webListenAddress string,
	version string,
	configFile string,
) *Server

func (*Server) Init

func (server *Server) Init()

func (*Server) SetIntervalUpdateFunc

func (server *Server) SetIntervalUpdateFunc(f func(i int64))

Jump to

Keyboard shortcuts

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