server

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: 25 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 apiserver

func NewManager

func NewManager(c option.Config, etcdcli *clientv3.Client) *Manager

NewManager newManager

func (*Manager) Do

func (m *Manager) Do()

Do do

func (*Manager) EventLogInstance

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

EventLogInstance 查询event server instance

func (*Manager) Metric

func (m *Manager) Metric()

Metric prometheus metric

func (*Manager) PrometheusAPI

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

PrometheusAPI prometheus api 代理

func (*Manager) RequestMetric

func (m *Manager) RequestMetric(next http.Handler) http.Handler

RequestMetric request metric midd

func (*Manager) Run

func (m *Manager) Run()

Run run

func (*Manager) SetMiddleware

func (m *Manager) SetMiddleware()

SetMiddleware set api meddleware

func (*Manager) Start

func (m *Manager) Start() error

Start manager

func (*Manager) Stop

func (m *Manager) Stop() error

Stop manager

Jump to

Keyboard shortcuts

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