capability

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChannelSummaryCounter

type ChannelSummaryCounter interface {
	CountConfiguredChannels(context.Context, string) (int, error)
	CountConnectedChannels(context.Context, string) (int, error)
	CountActivePairings(context.Context, string) (int, error)
}

ChannelSummaryCounter 抽象频道与配对计数能力。

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

Handlers 封装 capability summary handler。

func New

func New(
	api *handlershared.API,
	skills *skillspkg.Service,
	connectors *connectorsvc.Service,
	automation *automationsvc.Service,
	channels ...ChannelSummaryCounter,
) *Handlers

New 创建 capability handlers。

func (*Handlers) HandleCapabilitySummary

func (h *Handlers) HandleCapabilitySummary(writer http.ResponseWriter, request *http.Request)

HandleCapabilitySummary 返回能力摘要。

Jump to

Keyboard shortcuts

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