api

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: LGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

Manager api manager

func NewManager

NewManager api manager

func (*Manager) GetRouter

func (m *Manager) GetRouter() *chi.Mux

GetRouter GetRouter

func (*Manager) HandleClusterScrape

func (m *Manager) HandleClusterScrape(w http.ResponseWriter, r *http.Request)

HandleClusterScrape prometheus handle

func (*Manager) Start

func (m *Manager) Start(errChan chan error) error

Start 启动

func (*Manager) Stop

func (m *Manager) Stop() error

Stop 停止

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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