Documentation ¶
Index ¶
- type Address
- type DependencyInstallerService
- type Entity
- type Export
- type ExportService
- type Filter
- type FilterCondition
- type FsFileInfo
- type FsService
- type Logger
- type Model
- type Module
- type ModuleId
- type NodeConfigService
- type NodeService
- type SpiderCloneOptions
- type SpiderRunOptions
- type StatsService
- type TaskRunner
- type WithConfigPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExportService ¶
type Filter ¶
type Filter interface { GetIsOr() (isOr bool) SetIsOr(isOr bool) GetConditions() (conditions []FilterCondition) SetConditions(conditions []FilterCondition) IsNil() (ok bool) }
type FilterCondition ¶
type FsFileInfo ¶
type FsService ¶
type FsService interface { List(path string) (files []FsFileInfo, err error) GetFile(path string) (data []byte, err error) GetFileInfo(path string) (file FsFileInfo, err error) Save(path string, data []byte) (err error) CreateDir(path string) (err error) Rename(path, newPath string) (err error) Delete(path string) (err error) Copy(path, newPath string) (err error) Export() (resultPath string, err error) }
type Logger ¶
type Logger interface { // Debug logs a debugging message. Debug(message string) // Info logs an informational message. Info(message string) // Warn logs a warning message. Warn(message string) // Error logs an error message. Error(message string) // Fatal logs a fatal message. Fatal(message string) // Debugf logs a formatted debugging message. Debugf(format string, args ...interface{}) // Infof logs a formatted informational message. Infof(format string, args ...interface{}) // Warnf logs a formatted warning message. Warnf(format string, args ...interface{}) // Errorf logs a formatted error message. Errorf(format string, args ...interface{}) // Fatalf logs a formatted fatal message. Fatalf(format string, args ...interface{}) }
Logger interface for reporting informational and warning messages.
type NodeConfigService ¶
type NodeService ¶
type NodeService interface { Module }
type SpiderCloneOptions ¶
type SpiderCloneOptions struct {
Name string
}
type SpiderRunOptions ¶
type StatsService ¶
type TaskRunner ¶
type WithConfigPath ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.