Versions in this module Expand all Collapse all v1 v1.0.7 Aug 2, 2022 v1.0.6 Jul 31, 2022 v1.0.5 Jul 20, 2022 v1.0.4 Jul 6, 2022 v1.0.3 Jul 5, 2022 v1.0.2 Mar 8, 2022 v1.0.1 Mar 7, 2022 Changes in this version + type Address struct + Host string + Port string + func NewAddress(opts *AddressOptions) (res *Address) + func NewAddressFromString(address string) (res *Address, err error) + func (a *Address) IsEmpty() (res bool) + func (a *Address) String() (res string) + func (a *Address) Value() (res interface{}) + type AddressOptions struct + Host string + Port string + type BatchRequestPayload struct + Ids []primitive.ObjectID + type BatchRequestPayloadWithStringData struct + Data string + Fields []string + Ids []primitive.ObjectID + type Color struct + Hex string + Name string + func (c *Color) GetHex() string + func (c *Color) GetName() string + func (c *Color) Value() interface{} + type Condition struct + Key string + Op string + Value interface{} + type ConfigSpiderData struct + Cmd string + Col string + DisplayName string + Engine string + Name string + Remark string + Settings map[string]string + Stages []Stage + StartStage string + StartUrl string + Type string + type Dependency struct + Description string + Installed bool + Name string + Version string + type DocItem struct + Children []DocItem + Path string + Title string + Url string + type EventData struct + Data interface{} + Event string + func (d *EventData) GetData() interface{} + func (d *EventData) GetEvent() string + type Executable struct + DisplayName string + FileName string + Path string + type Field struct + Attr string + Css string + Name string + NextStage string + Remark string + Xpath string + type FileRequestPayload struct + Data string + NewPath string + Path string + type Filter struct + Conditions []Condition + IsOr bool + type FsFileInfo struct + Children []interfaces.FsFileInfo + Extension string + FileSize int64 + FullPath string + IsDir bool + Md5 string + Name string + Path string + func (f *FsFileInfo) GetChildren() []interfaces.FsFileInfo + func (f *FsFileInfo) GetExtension() string + func (f *FsFileInfo) GetFileSize() int64 + func (f *FsFileInfo) GetFullPath() string + func (f *FsFileInfo) GetIsDir() bool + func (f *FsFileInfo) GetMd5() string + func (f *FsFileInfo) GetName() string + func (f *FsFileInfo) GetPath() string + type GitConfig struct + Url string + type GitPayload struct + Branch string + CommitMessage string + Paths []string + Tag string + type GrpcBaseServiceMessage struct + Data []byte + ModelId interfaces.ModelId + func (msg *GrpcBaseServiceMessage) GetData() []byte + func (msg *GrpcBaseServiceMessage) GetModelId() interfaces.ModelId + func (msg *GrpcBaseServiceMessage) ToBytes() (data []byte) + type GrpcBaseServiceParams struct + Doc interfaces.Model + Docs []interface{} + Fields []string + FindOptions *mongo.FindOptions + Id primitive.ObjectID + Query bson.M + Update bson.M + User interfaces.User + func (params *GrpcBaseServiceParams) Value() interface{} + type GrpcDelegateMessage struct + Data []byte + Method interfaces.ModelDelegateMethod + ModelId interfaces.ModelId + func (msg *GrpcDelegateMessage) GetData() []byte + func (msg *GrpcDelegateMessage) GetMethod() interfaces.ModelDelegateMethod + func (msg *GrpcDelegateMessage) GetModelId() interfaces.ModelId + func (msg *GrpcDelegateMessage) ToBytes() (data []byte) + type GrpcEventServiceMessage struct + Data []byte + Events []string + Key string + Type string + type GrpcSubscribe struct + Finished chan bool + Stream interfaces.GrpcStream + func (sub *GrpcSubscribe) GetFinished() chan bool + func (sub *GrpcSubscribe) GetStream() interfaces.GrpcStream + func (sub *GrpcSubscribe) GetStreamBidirectional() interfaces.GrpcStreamBidirectional + type Lang struct + DepExecutablePath string + DepFileName string + ExecutableName string + ExecutablePaths []string + InstallDepArgs string + InstallScript string + InstallStatus string + LockPath string + Name string + Type string + type ListRequestData struct + Keyword string + PageNum int + PageSize int + SortKey string + Status string + type ListResponse struct + Data interface{} + Error string + Message string + Status string + Total int + type ModelDelegate struct + Artifact interfaces.ModelArtifact + ColName string + Doc interfaces.Model + Id interfaces.ModelId + User interfaces.User + type ModelInfo struct + ColName string + Id interfaces.ModelId + type NodeData struct + Hash string + Hostname string + Ip string + Key string + MacAddress string + UUID string + type NodeInfo struct + AuthKey string + Description string + Hostname string + Ip string + IsMaster bool + Key string + Mac string + MaxRunners int + Name string + func (n NodeInfo) Value() interface{} + type NodeMessage struct + Error string + Lang Lang + Log string + LogPath string + NodeId string + SpiderId string + SysInfo SystemInfo + TaskId string + Type string + type PackageJson struct + Dependencies map[string]string + type Page struct + Limit int + PageNum int + PageSize int + Skip int + func (p *Page) GetPage(pageNum string, pageSize string) + type Pagination struct + Page int + Size int + type PluginEventKey struct + Exclude string + Include string + type PluginSetting struct + GithubPublicOrg string + GoProxy string + PluginBaseUrl string + RepoPrefix string + func NewPluginSetting(value bson.M) (ps PluginSetting) + func (ps *PluginSetting) Value() (value bson.M) + type PluginSubStatus struct + Error string + NodeId primitive.ObjectID + Pid int + Status string + type PluginUIAsset struct + Path string + Type string + type PluginUIComponent struct + Name string + ParentPaths []string + Path string + Src string + Title string + Type string + type PluginUINav struct + Children []PluginUINav + Icon []string + Path string + Title string + type PublicPlugin struct + CreatedAt string + Description string + FullName string + HtmlUrl string + Id int + Name string + PushedAt string + UpdatedAt string + type Release struct + Body string + Draft bool + Name string + PreRelease bool + PublishedAt string + type ReleaseSlices []Release + func (r ReleaseSlices) Len() int + func (r ReleaseSlices) Less(i, j int) bool + func (r ReleaseSlices) Swap(i, j int) + type Response struct + Data interface{} + Error string + Message string + Status string + type Result = bson.M + type RpcMessage struct + Error string + Id string + Method string + NodeId string + Params map[string]string + Result string + Timeout int + type ScrapyItem struct + Fields []string + Name string + type ScrapySettingParam struct + Key string + Type string + Value interface{} + type Sort struct + Direction string + Key string + type SpiderType struct + Count int + Type string + type Stage struct + Fields []Field + IsList bool + ListCss string + ListXpath string + Name string + PageAttr string + PageCss string + PageXpath string + type StatsDailyItem struct + Date string + Results int64 + Tasks int64 + type StatsTasksByStatusItem struct + Status string + Tasks int64 + type StreamMessageTaskData struct + Logs []string + Records []Result + TaskId primitive.ObjectID + type SystemInfo struct + ARCH string + Executables []Executable + Hostname string + NumCpu int + OS string + type TaskMessage struct + Cmd string + Id primitive.ObjectID + Key string + Param string + func (m *TaskMessage) ToString() (string, error) + type TaskRunOptions struct