{"modulePath":"github.com/qiniu/logkit","version":"v1.5.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package script\n\n## Functions\n\n```go\nfunc NewReader(meta *reader.Meta, conf conf.MapConf) (reader.Reader, error)\n```\n\n## Types\n\n```go\ntype CmdResult struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc CmdRunWithTimeout(scriptType string, params ...string) (CmdResult, bool)\n```\n\n```go\ntype Reader struct {\n\tCron *cron.Cron //定时任务\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc (r *Reader) Close() error\n```\n\n```go\nfunc (r *Reader) Name() string\n```\n\n```go\nfunc (r *Reader) ReadLine() (string, error)\n```\n\n```go\nfunc (r *Reader) SetMode(mode string, v interface{}) error\n```\n\n```go\nfunc (r *Reader) Source() string\n```\n\n```go\nfunc (r *Reader) Start() error\n```\n\n```go\nfunc (r *Reader) Status() StatsInfo\n```\n\n```go\nfunc (r *Reader) SyncMeta()\n```\n\n","path":"github.com/qiniu/logkit/reader/script","name":"script","synopsis":"","isRedistributable":true}
