Documentation ¶
Index ¶
Constants ¶
View Source
const (
MinReloadTick = time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileReader ¶
type FileReader struct {
// contains filtered or unexported fields
}
func NewFileReader ¶
func NewFileReader(filename string, reloadTick time.Duration) (r *FileReader, err error)
解析目标文件内容中的Hosts
type TextReader ¶
type TextReader struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.