package
Version:
v0.6.7
Opens a new window with list of versions in this module.
Published: Mar 15, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 23
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Start_nats_listener()
*
* 监听器
*
func Test_AIBASE_ANN_MNIST(t *testing.T)
go test -timeout 30s -run ^Test_gen_hd_define github.com/hootrhino/rulex/test -v -count=1
type Action struct {
ID string `json:"id"`
Name string `json:"name"`
Desc string `json:"desc"`
Input []Input `json:"input"`
Output []Output `json:"output"`
Required bool `json:"required"`
}
type Define struct {
Type string `json:"type"`
Specs []Spec `json:"specs"`
}
type Event struct {
ID string `json:"id"`
Name string `json:"name"`
Desc string `json:"desc"`
Type string `json:"type"`
Params []Param `json:"params"`
Required bool `json:"required"`
}
type InDefine struct {
Type string `json:"type"`
Mapping Mapping `json:"mapping"`
}
type Input struct {
ID string `json:"id"`
Name string `json:"name"`
Define InDefine `json:"define"`
}
type OutDefine struct {
Type string `json:"type"`
Mapping Mapping `json:"mapping"`
}
type Param struct {
ID string `json:"id"`
Name string `json:"name"`
Define Define `json:"define"`
}
type Profile struct {
ProductID string `json:"ProductId"`
CategoryID string `json:"CategoryId"`
}
type Property struct {
ID string `json:"id"`
Name string `json:"name"`
Desc string `json:"desc"`
Mode string `json:"mode"`
Define Define `json:"define"`
Required bool `json:"required"`
}
type Schema struct {
Version string `json:"version"`
Profile Profile `json:"profile"`
Configurations []Property `json:"configurations"`
Properties []Property `json:"properties"`
Events []Event `json:"events"`
Actions []Action `json:"actions"`
}
type Spec []struct {
ID string `json:"id"`
Name string `json:"name"`
DataType struct {
Type string `json:"type"`
Mapping Mapping `json:"mapping"`
} `json:"dataType"`
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.