type Mode …
const Default …
const Forwarded …
const SeparateProcess …
func (m Mode) String() string { … }
type Runner …
type TestFunc …
func (r *Runner) Run(t *testing.T, files string, test TestFunc, opts ...RunOption) { … }
func ConnectGoplsEnv(t testing.TB, ctx context.Context, sandbox *fake.Sandbox, config fake.EditorConfig, connector servertest.Connector) *Env { … }
var longBuilders …
func checkBuilder() string { … }
type loggingFramer …
type safeBuffer …
func (b *safeBuffer) Write(p []byte) (int, error) { … }
func (s *loggingFramer) framer(f jsonrpc2.Framer) jsonrpc2.Framer { … }
func (s *loggingFramer) printBuffers(testname string, w io.Writer) { … }
func (r *Runner) defaultServer() jsonrpc2.StreamServer { … }
func (r *Runner) forwardedServer() jsonrpc2.StreamServer { … }
const runTestAsGoplsEnvvar …
func (r *Runner) separateProcessServer() jsonrpc2.StreamServer { … }
func newForwarder(network, address string) jsonrpc2.StreamServer { … }
func (r *Runner) Close() error { … }