Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: milo/logs/logs.go

Issue 2978813002: [milo] make logs uploadable and also remove it from up-dev. (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « milo/Makefile ('k') | milo/logs/main.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 package logs 1 // Copyright 2017 The LUCI Authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 package main
2 16
3 import ( 17 import (
4 "errors" 18 "errors"
5 "fmt" 19 "fmt"
6 "io" 20 "io"
7 "log" 21 "log"
8 "net/http" 22 "net/http"
9 "strings" 23 "strings"
10 "sync" 24 "sync"
11 "time" 25 "time"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 if content == nil { 158 if content == nil {
145 break 159 break
146 } 160 }
147 for _, line := range content.Lines { 161 for _, line := range content.Lines {
148 fmt.Fprint(w, line.Value) 162 fmt.Fprint(w, line.Value)
149 fmt.Fprint(w, line.Delimiter) 163 fmt.Fprint(w, line.Delimiter)
150 } 164 }
151 } 165 }
152 return nil 166 return nil
153 } 167 }
OLDNEW
« no previous file with comments | « milo/Makefile ('k') | milo/logs/main.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698