Files
kubevpn/pkg/daemon/action/identify.go
naison 70d5723e97 refactor: refactor daemon process (#242)
* refactor: refactor daemon process

* hotfix: add fsnotify to watch pid file
2024-05-10 21:39:14 +08:00

12 lines
249 B
Go

package action
import (
"context"
"github.com/wencaiwulue/kubevpn/v2/pkg/daemon/rpc"
)
func (svr *Server) Identify(ctx context.Context, req *rpc.IdentifyRequest) (*rpc.IdentifyResponse, error) {
return &rpc.IdentifyResponse{ID: svr.ID}, nil
}