34 lines
604 B
Go
34 lines
604 B
Go
// Code generated by protoc-gen-go-micro. DO NOT EDIT.
|
|
// protoc-gen-go-micro version: v3.4.2
|
|
// source: handler.proto
|
|
|
|
package handler
|
|
|
|
import (
|
|
context "context"
|
|
|
|
api "go.unistack.org/micro/v3/api"
|
|
codec "go.unistack.org/micro/v3/codec"
|
|
)
|
|
|
|
var (
|
|
MeterName = "Meter"
|
|
|
|
MeterEndpoints = []api.Endpoint{
|
|
{
|
|
Name: "Meter.Metrics",
|
|
Path: []string{"/metrics"},
|
|
Method: []string{"GET"},
|
|
Handler: "rpc",
|
|
},
|
|
}
|
|
)
|
|
|
|
func NewMeterEndpoints() []api.Endpoint {
|
|
return MeterEndpoints
|
|
}
|
|
|
|
type MeterServer interface {
|
|
Metrics(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error
|
|
}
|