Documentation
¶
Index ¶
- func IsSlackChannelID(token string) bool
- func NormalizeSessionID(ctx context.Context, raw string) agentkit.SessionID
- func OutboundRoute(platform string, deliveryID agentkit.SessionID) agentkit.RouteRef
- func OutboundRouteID(event agentkit.OutboundEvent) agentkit.SessionID
- func ResolveRoute(ctx context.Context, input delivery.RouteInput) (delivery.Route, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSlackChannelID ¶
IsSlackChannelID reports bare Slack conversation ids (C/G/D + alnum).
func NormalizeSessionID ¶
NormalizeSessionID maps slash-style targets to delivery session ids.
func OutboundRoute ¶
OutboundRoute builds a session-kind route for proactive delivery.
func OutboundRouteID ¶
func OutboundRouteID(event agentkit.OutboundEvent) agentkit.SessionID
OutboundRouteID returns the platform routing target for an outbound event.
func ResolveRoute ¶
ResolveRoute resolves the delivery session and platform from context.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.