30 lines
580 B
Go
30 lines
580 B
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// versions:
|
|
// - protoc-gen-go-micro v3.5.3
|
|
// - protoc v3.21.12
|
|
// source: handler.proto
|
|
|
|
package handler
|
|
|
|
import (
|
|
context "context"
|
|
codec "go.unistack.org/micro/v3/codec"
|
|
http "net/http"
|
|
)
|
|
|
|
var (
|
|
MeterServiceName = "MeterService"
|
|
)
|
|
var (
|
|
MeterServiceServerEndpoints = map[string]map[string]string{
|
|
"/metrics": map[string]string{
|
|
"Method": http.MethodGet,
|
|
"Stream": "false",
|
|
},
|
|
}
|
|
)
|
|
|
|
type MeterServiceServer interface {
|
|
Metrics(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
}
|