intent

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package intent provides API to imlpement the intent fulfillment.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUnsupportedIntent means the intent does not have associated fulfiller.
	ErrUnsupportedIntent = errors.New("unsupported intent")

	// ErrIntent means invalid intent was passed to the fulfiller.
	ErrIntent = errors.New("invalid intent")
)

Functions

func Fulfill

func Fulfill(intent *pb.Intent) (page *pb.Page, err error)

Fulfill dispatches the fulfillment to the intent fulfiller using the intent extension.

Types

This section is empty.

Directories

Path Synopsis
feature
ping
Package ping fulfills the ping feature.
Package ping fulfills the ping feature.
plot
Package plot fulfills the plot feature.
Package plot fulfills the plot feature.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL