Ejemplo n.º 1
0
func Register() {
	io.RegisterOutput(
		"stdout",
		func(u *url.URL) (io.Output, error) {
			return &Output{}, nil
		},
	)
}
Ejemplo n.º 2
0
func Register() {
	io.RegisterOutput("redis", NewOutput)
}