golanggohlsrtmpwebrtcmedia-serverobs-studiortcprtmp-proxyrtmp-serverrtprtsprtsp-proxyrtsp-relayrtsp-serversrtstreamingwebrtc-proxy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
443 B
26 lines
443 B
// +build windows |
|
|
|
package syslog |
|
|
|
import ( |
|
"fmt" |
|
"io" |
|
) |
|
|
|
type syslog struct { |
|
} |
|
|
|
// New allocates a io.WriteCloser that writes to the system log. |
|
func New(prefix string) (io.WriteCloser, error) { |
|
return nil, fmt.Errorf("not implemented on windows") |
|
} |
|
|
|
// Close implements io.WriteCloser. |
|
func (ls *syslog) Close() error { |
|
return nil |
|
} |
|
|
|
// Write implements io.WriteCloser. |
|
func (ls *syslog) Write(p []byte) (int, error) { |
|
return 0, nil |
|
}
|
|
|