Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnWriter ¶
type ConnWriter struct {
log.LogFilter
log.LogFormatter
Net string
Addr string
Timeout time.Duration
// contains filtered or unexported fields
}
ConnWriter implements Writer. it writes messages in keep-live tcp connection.
func (*ConnWriter) Close ¶
func (cw *ConnWriter) Close()
Close close the file description, close file writer.
func (*ConnWriter) SetTimeout ¶
func (cw *ConnWriter) SetTimeout(timeout string) error
SetTimeout set timeout
Click to show internal directories.
Click to hide internal directories.