Versions in this module Expand all Collapse all v0 v0.18.9 May 10, 2026 v0.18.8 May 9, 2026 v0.18.7 May 9, 2026 v0.18.6 May 9, 2026 v0.18.5 May 9, 2026 v0.18.4 May 8, 2026 v0.17.0 May 7, 2026 v0.16.2 May 6, 2026 v0.16.1 May 6, 2026 v0.16.0 May 6, 2026 v0.15.2 May 5, 2026 v0.15.1 May 5, 2026 v0.15.0 May 4, 2026 v0.14.3 May 2, 2026 Changes in this version + type IPRateLimiter struct + func NewIPRateLimiter(rpm int, burst int) *IPRateLimiter + func (l *IPRateLimiter) Allow(ip string) bool v0.14.2 Apr 26, 2026 v0.14.1 Apr 21, 2026 Changes in this version + const DefaultMaxUploadSize + const ErrCodeFunctionNotFound + const ErrCodeMethodNotAllowed + const ErrCodeModuleNotLoaded + const ErrCodeRouteNotFound + type Config struct + A2A bool + APIKeyEnv string + APIKeyHeader string + CORS bool + EffCtx interface{} + FrontendPath string + LogLevel int + MCP bool + MCPOnly bool + MaxUploadSize int64 + Port string + RoutesOnly bool + StaticPath string + Watch bool + type ExportInfo struct + Arity int + DocComment string + IsNoExpose bool + IsNowrap bool + IsRaw bool + MCPName string + Name string + ParamNames []string + ParamTypes []string + Pure bool + RouteMethod string + RoutePath string + Type string + type FunctionCallRequest struct + Args []interface{} + type FunctionCallResponse struct + ElapsedMs int64 + Error string + ErrorDetail *RouterErrorDetail + Func string + Module string + Result interface{} + type HealthResponse struct + ExportsCount int + ModulesCount int + Status string + type MCPServer struct + func NewMCPServer(srv *Server) *MCPServer + func (ms *MCPServer) HTTPHandler() http.Handler + func (ms *MCPServer) RunStdio(ctx context.Context) error + type ModuleInfo struct + CanonicalID string + DeclaredPath string + Exports []ExportInfo + File *ast.File + Iface *iface.Iface + Path string + PhysicalPath string + type ModulesListResponse struct + Count int + Modules []*ModuleInfo + type RouteEntry struct + Function string + IsNowrap bool + IsRaw bool + Method string + Module string + ParamNames []string + ParamTypes []string + Path string + type RouterErrorDetail struct + AvailableRoutes []string + Code string + Message string + Retryable bool + SuggestedFix string + type Server struct + func New(basePath string, cfg Config) *Server + func (s *Server) Close() error + func (s *Server) GetEngine() *embed.Engine + func (s *Server) GetModules() map[string]*ModuleInfo + func (s *Server) LoadModules(paths []string) error + func (s *Server) LoadProject(ctx context.Context, basePath string) error + func (s *Server) Start() error + func (s *Server) StartMCP() error