mirror of
https://github.com/aceld/kis-flow.git
synced 2025-01-22 23:20:24 +08:00
add flow GetId()
This commit is contained in:
parent
230484ce1d
commit
3cc8a70f17
@ -311,6 +311,10 @@ func (flow *KisFlow) GetName() string {
|
||||
return flow.Name
|
||||
}
|
||||
|
||||
func (flow *KisFlow) GetId() string {
|
||||
return flow.Id
|
||||
}
|
||||
|
||||
func (flow *KisFlow) GetThisFunction() kis.Function {
|
||||
return flow.ThisFunction
|
||||
}
|
||||
|
@ -53,4 +53,6 @@ type Flow interface {
|
||||
GetFuncParamsAllFuncs() map[string]config.FParam
|
||||
// Fork 得到Flow的一个副本(深拷贝)
|
||||
Fork(ctx context.Context) Flow
|
||||
// GetId 得到Flow的Id
|
||||
GetId() string
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user