Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 803 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 803 Bytes

Go language server

This folder contains the deployment files for the Go language server.

You can enable it by:

  1. Append the kubectl apply command for the Go language server deployment to kubectl-apply-all.sh.

    echo kubectl apply --prune -l deploy=xlang-go -f configure/xlang/go/ --recursive >> kubectl-apply-all.sh
  2. Add the following environment variables to the lsp-proxy deployment to make it aware of the Go language server's existence.

    # base/lsp-proxy/lsp-proxy.Deployment.yaml
    env:
      - name: LANGSERVER_GO
        value: tcp://xlang-go:4389
      - name: LANGSERVER_GO_BG
        value: tcp://xlang-go-bg:4389
  3. Apply your changes to lsp-proxy and the Go language server to the cluster.

    ./kubectl-apply-all.sh