websocket client and server lib for kubernetes exec command.
go get github.com/lixianyang/wsexec
Change kubeconfig load way if needed.
See examples
cd example/server
go mod tidy
go run main.go
Change namespace, pod and command before run main.go
See examples
cd example/client
go mod tidy
go run main.go