oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1package pi
2
3import (
4 "context"
5 "os"
6
7 "amadan.net/oficina/equipo/internal/toolproxy"
8)
9
10// serveToolProxy is the tool proxy the tests run from a copy of this
11// binary (Linux only, as the tool proxy is).
12func serveToolProxy(args []string) int {
13 if len(args) != 3 || args[1] != "--socket" || toolproxy.Serve(context.Background(), os.Stdin, os.Stdout, args[2]) != nil {
14 return 1
15 }
16 return 0
17}
18