package main import ( "net/http" "git.curoverse.com/arvados.git/sdk/go/keepclient" ) var viaAlias = "keepproxy" type proxyClient struct { client keepclient.HTTPClient proto string } func (pc *proxyClient) Do(req *http.Request) (*http.Response, error) { req.Header.Add("Via", pc.proto+" "+viaAlias) return pc.client.Do(req) }