| @@ -1,31 +1,24 @@ | ||||
| // Code generated by protoc-gen-go-micro. DO NOT EDIT. | ||||
| // versions: | ||||
| // - protoc-gen-go-micro v3.10.2 | ||||
| // - protoc              v3.21.12 | ||||
| // source: meter.proto | ||||
| // - protoc-gen-go-micro v3.10.4 | ||||
| // - protoc              v5.26.1 | ||||
| // source: meter/meter.proto | ||||
|  | ||||
| package meter | ||||
| package meter_handler | ||||
|  | ||||
| import ( | ||||
| 	context "context" | ||||
| 	codec "go.unistack.org/micro-proto/v3/codec" | ||||
| 	v3 "go.unistack.org/micro-server-http/v3" | ||||
| 	client "go.unistack.org/micro/v3/client" | ||||
| ) | ||||
|  | ||||
| var ( | ||||
| 	MeterServiceName = "MeterService" | ||||
| ) | ||||
| var ( | ||||
| 	MeterServiceServerEndpoints = []v3.EndpointMetadata{ | ||||
| 		{ | ||||
| 			Name:   "MeterService.Metrics", | ||||
| 			Path:   "/metrics", | ||||
| 			Method: "GET", | ||||
| 			Body:   "", | ||||
| 			Stream: false, | ||||
| 		}, | ||||
| 	} | ||||
| ) | ||||
|  | ||||
| type MeterServiceClient interface { | ||||
| 	Metrics(ctx context.Context, req *codec.Frame, opts ...client.CallOption) (*codec.Frame, error) | ||||
| } | ||||
|  | ||||
| type MeterServiceServer interface { | ||||
| 	Metrics(ctx context.Context, req *codec.Frame, rsp *codec.Frame) error | ||||
|   | ||||
		Reference in New Issue
	
	Block a user