OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package logdog | 5 package raw_presentation |
6 | 6 |
7 import ( | 7 import ( |
8 "net/http" | 8 "net/http" |
9 "strings" | 9 "strings" |
10 | 10 |
11 "github.com/luci/luci-go/common/errors" | 11 "github.com/luci/luci-go/common/errors" |
12 log "github.com/luci/luci-go/common/logging" | 12 log "github.com/luci/luci-go/common/logging" |
13 "github.com/luci/luci-go/grpc/prpc" | 13 "github.com/luci/luci-go/grpc/prpc" |
14 "github.com/luci/luci-go/logdog/client/coordinator" | 14 "github.com/luci/luci-go/logdog/client/coordinator" |
15 "github.com/luci/luci-go/logdog/common/types" | 15 "github.com/luci/luci-go/logdog/common/types" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 } | 108 } |
109 | 109 |
110 // Setup our LogDog client. | 110 // Setup our LogDog client. |
111 return coordinator.NewClient(&prpc.Client{ | 111 return coordinator.NewClient(&prpc.Client{ |
112 C: &http.Client{ | 112 C: &http.Client{ |
113 Transport: t, | 113 Transport: t, |
114 }, | 114 }, |
115 Host: host, | 115 Host: host, |
116 }), nil | 116 }), nil |
117 } | 117 } |
OLD | NEW |