Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { // GetEndPointsData get the list of endpoints services // @Tags API.service // @Router /api/service/endpoints [get] GetEndPointsData() core.HandlerFunc // GetServicesAlert get the log alarm and status light information of the Service // @Tags API.service // @Router /api/service/servicesAlert [get] GetServicesAlert() core.HandlerFunc // GetServiceMoreUrlList get more url list of services // @Tags API.service // @Router /api/service/moreUrl [get] GetServiceMoreUrlList() core.HandlerFunc // GetThreshold get the configuration information of a single threshold // @Tags API.service // @Router /api/service/getThreshold [get] GetThreshold() core.HandlerFunc // SetThreshold the configuration information of a single threshold. // @Tags API.service // @Router /api/service/setThreshold [post] SetThreshold() core.HandlerFunc // GetRYGLight get traffic light results // @Tags API.service // @Router /api/service/ryglight [get] GetRYGLight() core.HandlerFunc // GetMonitorStatus get the service status monitored by kuma // @Tags API.service // @Router /api/service/monitor/status [get] GetMonitorStatus() core.HandlerFunc }
func New ¶
func New(logger *zap.Logger, chRepo clickhouse.Repo, promClient prometheus.Repo, dbRepo database.Repo, k8sRepo kubernetes.Repo) Handler
Click to show internal directories.
Click to hide internal directories.