handlers

package
v0.0.0-...-dca3c8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 17, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileHandler

func GetFileHandler(filename string) io.Writer

GetFileHandler is a helper function that takes a filename, opens it for writing, and returns it wrapped as io.Writer. If file is not exist it will be created with default permissions. This function will panic if it failed to open or create a file (i.e. if directory does not exist).

func GetStderrHandler

func GetStderrHandler() io.Writer

func GetStdoutHandler

func GetStdoutHandler() io.Writer

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL