Documentation ¶ Index ¶ func Generate(ctx context.Context, opts GenerateOpts) error type GenerateOpts type Server func Serve(ctx context.Context, opts GenerateOpts) (*Server, error) func (s *Server) Stop() error func (s *Server) URL() string func (s *Server) Wait() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(ctx context.Context, opts GenerateOpts) error Types ¶ type GenerateOpts ¶ type GenerateOpts struct { BinaryPath string SpecPath string OutputDir string Title string Theme string Publish bool Serve bool ServePort int NoLLM bool NoJSON bool NoHTML bool Logger *slog.Logger } type Server ¶ type Server struct { // contains filtered or unexported fields } func Serve ¶ func Serve(ctx context.Context, opts GenerateOpts) (*Server, error) func (*Server) Stop ¶ func (s *Server) Stop() error func (*Server) URL ¶ func (s *Server) URL() string func (*Server) Wait ¶ func (s *Server) Wait() error Source Files ¶ View all Source files docs.go Click to show internal directories. Click to hide internal directories.