Documentation ¶
Index ¶
- Constants
- func HasLogfile() bool
- func LogCompleted(t Completed)
- func LogLeader(t Leader)
- func LogPacket(t Packet)
- func LogTransfer(t Transfer)
- func Println(v ...interface{})
- func Query(q int)
- func SetLogfile(logfile string)
- func SetVerbose(verbose bool)
- func Wait()
- type Completed
- type Leader
- type Logger
- func (l *Logger) HasLogfile() bool
- func (l *Logger) LogCompleted(t Completed)
- func (l *Logger) LogLeader(t Leader)
- func (l *Logger) LogPacket(t Packet)
- func (l *Logger) LogTransfer(t Transfer)
- func (l *Logger) Println(v ...interface{})
- func (l *Logger) Query(q int)
- func (l *Logger) SetLogfile(logfile string)
- func (l *Logger) SetVerbose(verbose bool)
- func (l *Logger) Wait()
- type Packet
- type Transfer
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func HasLogfile ¶
func HasLogfile() bool
func LogCompleted ¶
func LogCompleted(t Completed)
func LogTransfer ¶
func LogTransfer(t Transfer)
func SetLogfile ¶
func SetLogfile(logfile string)
func SetVerbose ¶
func SetVerbose(verbose bool)
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) HasLogfile ¶
func (*Logger) LogCompleted ¶
func (*Logger) LogTransfer ¶
func (*Logger) SetLogfile ¶
func (*Logger) SetVerbose ¶
Click to show internal directories.
Click to hide internal directories.