coreapi

package
v0.1.31 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: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureGoth

func ConfigureGoth(cfg *config.Config)

ConfigureGoth initializes OAuth providers and the cookie session store.

Types

type Options

type Options struct {
	APIKeyVerifier  auth.ApiKeyVerifier
	LLMClient       corellm.Client
	AdminMiddleware echo.MiddlewareFunc
	UserProvisioner auth.UserProvisioner
	RuntimeLimiter  runtime.EndpointLimiter
}

type Services

type Services struct {
	Auth        *auth.Service
	Admin       *coreadmin.Service
	AgentMarket *agent.MarketService
	Agent       *agent.Service
	Skill       *skill.Service
	Runtime     *runtime.Service
	Webhook     *webhook.Service
	A2A         *a2a.Service
	Workflow    *workflow.Service
	Registry    *registry.Service
	Benchmark   *skill.BenchmarkService
	Task        *task.Service
	MCP         *mcp.Service
	Delivery    *delivery.Service
}

func Register

func Register(rootCtx context.Context, e *echo.Echo, pool *pgxpool.Pool, cfg *config.Config, opts Options) *Services

Register mounts all core-owned HTTP routes and starts core-owned workers.

type ShutdownFunc

type ShutdownFunc func(context.Context) error

func StartA2AGRPCServer

func StartA2AGRPCServer(rootCtx context.Context, cfg *config.Config, services *Services, opts Options) (ShutdownFunc, error)

Jump to

Keyboard shortcuts

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