api

package
v0.0.0-...-b8103a1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type APIRPC

type APIRPC interface {
	Register() *grpc.Server
}

type HandlerRPC

type HandlerRPC struct {
	PrometheusRegistry *prometheus.Registry
	MiddlewareRPC      *middleware_rpc.MiddlewareRPC
	BusinessRPC        *business.BusinessStatsArticle
}

func (*HandlerRPC) MetricsHandler

func (h *HandlerRPC) MetricsHandler(w http.ResponseWriter, r *http.Request)

func (*HandlerRPC) Register

func (h *HandlerRPC) Register() *grpc.Server

Jump to

Keyboard shortcuts

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