domain

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Execute

type Execute struct {
	Topic     string
	TaskId    int64
	Language  string
	Code      string
	Args      map[string]interface{}
	Variables string
}

type Status

type Status uint8
const (
	// RUNNING 启用
	RUNNING Status = 1
	// STOPPING 停止
	STOPPING Status = 2
	// OFFLINE 离线
	OFFLINE Status = 3
)

func (Status) ToUint8

func (s Status) ToUint8() uint8

type Worker

type Worker struct {
	Id     int64
	Key    string
	Name   string
	Desc   string
	Topic  string
	Status Status
}

Jump to

Keyboard shortcuts

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