reader

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServerConf models.UdpConf
)

Functions

func Start

func Start()

Types

type Reader

type Reader struct {
	// contains filtered or unexported fields
}

func (*Reader) HandleLog

func (reader *Reader) HandleLog()

收取日志

func (*Reader) ReadLog

func (reader *Reader) ReadLog()

读取日志并放入channel

func (*Reader) WriteContent

func (reader *Reader) WriteContent(content string)

向文件内写数据

func (*Reader) WriteLog

func (reader *Reader) WriteLog(log string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL