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