httphost

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config, deps Deps) (agentkit.Platform, error)

New registers platform/http: HTTP host that serves http.DefaultServeMux.

Types

type Config

type Config struct {
	ListenAddr string `json:"listenAddr"`
}

type Deps

type Deps struct{}

type Platform

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

Platform serves http.DefaultServeMux. Other plugins (e.g. platform/chat-api with registerOnly) mount routes via http.Handle before this platform starts listening.

func (*Platform) PlatformID

func (p *Platform) PlatformID() string

func (*Platform) Receive

func (p *Platform) Receive(ctx context.Context) (agentkit.MessageEvent, error)

func (*Platform) Send

Jump to

Keyboard shortcuts

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