mirror of
https://github.com/aceld/kis-flow.git
synced 2025-01-23 07:30:23 +08:00
update
This commit is contained in:
parent
3976771059
commit
52c62cb266
@ -6,7 +6,7 @@ import (
|
|||||||
"github.com/aceld/kis-flow/kis"
|
"github.com/aceld/kis-flow/kis"
|
||||||
)
|
)
|
||||||
|
|
||||||
// type CaaS func(context.Context, Connector, Function, Flow, interface{}) error
|
// type CaaS func(context.Context, Connector, Function, Flow, interface{}) (interface{}, error)
|
||||||
|
|
||||||
func CaasDemoHanler1(ctx context.Context, conn kis.Connector, fn kis.Function, flow kis.Flow, args interface{}) (interface{}, error) {
|
func CaasDemoHanler1(ctx context.Context, conn kis.Connector, fn kis.Function, flow kis.Flow, args interface{}) (interface{}, error) {
|
||||||
fmt.Printf("===> In CaasDemoHanler1: flowName: %s, cName:%s, fnName:%s, mode:%s\n",
|
fmt.Printf("===> In CaasDemoHanler1: flowName: %s, cName:%s, fnName:%s, mode:%s\n",
|
||||||
|
@ -14,7 +14,7 @@ func InitConnDemo1(connector kis.Connector) error {
|
|||||||
|
|
||||||
fmt.Println(connConf)
|
fmt.Println(connConf)
|
||||||
|
|
||||||
// init connector , 如 初始化数据库链接等
|
// init connector
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user