mirror of
https://github.com/openziti/zrok.git
synced 2025-01-11 00:18:43 +01:00
15 lines
306 B
Go
15 lines
306 B
Go
package agent
|
|
|
|
import (
|
|
"context"
|
|
"github.com/openziti/zrok/agent/grpc"
|
|
"github.com/prometheus/common/version"
|
|
)
|
|
|
|
type grpcServer struct {
|
|
}
|
|
|
|
func (s *grpcServer) Version(ctx context.Context, req *grpc.VersionRequest) (*grpc.VersionReply, error) {
|
|
return &grpc.VersionReply{V: &version.Version}, nil
|
|
}
|