12 lines
278 B
Go
12 lines
278 B
Go
package dispatcher
|
|
|
|
import (
|
|
"context"
|
|
|
|
agentpb "git.ipao.vip/rogee/go-sip/gen/agent"
|
|
)
|
|
|
|
type TaskController interface {
|
|
Control(context.Context, string, *agentpb.ExecutionBinding, agentpb.ControlAction, agentpb.ActiveCallPolicy) (*agentpb.ApplyTaskControlResponse, error)
|
|
}
|