Versions in this module Expand all Collapse all v0 v0.0.2 Dec 4, 2026 v0.0.1 Dec 3, 2026 Changes in this version + const DefaultIdleTTL + const DefaultMaxRequestBytes + const DefaultMaxSessions + const DefaultPortBuffer + const DefaultRetention + const Spec + const StatusTrailer + func IsLoopbackAddr(addr string) bool + type Access struct + Aborted bool + Bytes int64 + Duration time.Duration + Method string + Millis int64 + Path string + Remote string + Status int + Time time.Time + type Config struct + BasePath string + Env func(string) (string, bool) + EvalExpr func(ctx context.Context, expr string, params map[string]any) (any, error) + Grants manifest.Permissions + IdleTTL time.Duration + Log func(Access) + MaxDuration time.Duration + MaxInputBytes int64 + MaxRequestBytes int64 + MaxSessions int + PortBuffer int + PublicURL string + Registry *adapter.Registry + Resolver pipeline.Resolver + Retention time.Duration + Revision string + Secrets func(string) (string, bool) + Token string + Trusted bool + type PipeInfo struct + ID string + Inputs []string + Outputs []string + Revision string + Target string + Title string + Version string + type Server struct + func New(cfg Config) *Server + func (s *Server) Add(ctx context.Context, target string) (*PipeInfo, error) + func (s *Server) AddDir(ctx context.Context, dir string) ([]*PipeInfo, error) + func (s *Server) AddManifest(ctx context.Context, m *manifest.Manifest) (*PipeInfo, error) + func (s *Server) Close() + func (s *Server) Pipes() []PipeInfo + func (s *Server) Serve(ctx context.Context, l net.Listener) error + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Server) Sessions() int