Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NopWriteCloser ¶
func NopWriteCloser(w io.Writer) io.WriteCloser
NopWriteCloser returns a WriteCloser with a no-op Close method wrapping the provided Writer w.
Types ¶
type GraylogWriter ¶
type GraylogWriter struct {
// contains filtered or unexported fields
}
func NewGraylogWriter ¶
func NewGraylogWriter(url string, nextWriter io.Writer, serviceName, instanceID string) (*GraylogWriter, error)
NewGraylogWriter returns new writer
Click to show internal directories.
Click to hide internal directories.