Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DependencySet = wire.NewSet( wire.Struct(new(InteractionService), "*"), )
Functions ¶
This section is empty.
Types ¶
type InteractionGraphService ¶
type InteractionGraphService interface { NewGraph(ctx context.Context, interactionCtx *interaction.Context, intent interaction.Intent) (*interaction.Graph, error) DryRun(ctx context.Context, contextValue interaction.ContextValues, fn func(ctx context.Context, interactionCtx *interaction.Context) (*interaction.Graph, error)) error Run(ctx context.Context, contextValue interaction.ContextValues, graph *interaction.Graph) error Accept(ctx context.Context, interactionCtx *interaction.Context, graph *interaction.Graph, input interface{}) (*interaction.Graph, []interaction.Edge, error) }
type InteractionService ¶
type InteractionService struct {
Graph InteractionGraphService
}
func (*InteractionService) Perform ¶
func (s *InteractionService) Perform(ctx context.Context, intent interaction.Intent, input interface{}) (*interaction.Graph, error)
Click to show internal directories.
Click to hide internal directories.