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

Unified Diff: client/internal/logdog/butler/output/doc.go

Issue 1211053004: LogDog: Add Butler Output package. (Closed) Base URL: https://github.com/luci/luci-go@logdog-review-streamserver
Patch Set: Added some doc.go's. Created 5 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: client/internal/logdog/butler/output/doc.go
diff --git a/client/internal/logdog/butler/output/doc.go b/client/internal/logdog/butler/output/doc.go
new file mode 100644
index 0000000000000000000000000000000000000000..75d09530534a780e3836a955541c787398274bad
--- /dev/null
+++ b/client/internal/logdog/butler/output/doc.go
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Package output contains interfaces and implementations for Butler Outputs,
+// which are responsible for delivering Butler protobufs to LogDog collection
+// endpoints.
+//
+// Output instances must be goroutine-safe. The Butler may elect to output
estaab 2015/11/19 23:57:24 Wait, "must be" or "are"? I'm reading this is as:
dnj 2015/11/20 01:55:12 Must. The Output interface contract promises gorou
+// multiple messages at the same time.
+//
+// The package current provides the following implementations:
+// - gcps: Write logs to Google Cloud Pub/Sub.
estaab 2015/11/19 23:57:24 A better name might be just "pubsub" since it's in
dnj 2015/11/20 01:55:12 Hmm ... okay, agreed.
+// - log: (Debug/testing) data is dumped to the installed Logger instance.
+package output
« no previous file with comments | « no previous file | client/internal/logdog/butler/output/gcps/doc.go » ('j') | client/internal/logdog/butler/output/gcps/doc.go » ('J')

Powered by Google App Engine
This is Rietveld 408576698