Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContextDone ¶
Types ¶
type DiodeWriter ¶
type DiodeWriter struct {
// contains filtered or unexported fields
}
func NewDiodeWriter ¶
func NewDiodeWriter( ctx context.Context, wc WriteCloser, alerter gendiodes.Alerter, wg WaitGroup, ) *DiodeWriter
func (*DiodeWriter) Write ¶
func (d *DiodeWriter) Write(env *loggregator_v2.Envelope) error
Write writes an envelope into the diode. This can not fail.
type WriteCloser ¶
type WriteCloser interface { Write(*loggregator_v2.Envelope) error io.Closer }
type Writer ¶
type Writer interface {
Write(*loggregator_v2.Envelope) error
}
Click to show internal directories.
Click to hide internal directories.