Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + func RegisterDriver(name string, f DriverFactory) + type DriverFactory func(k *togo.Kernel) (Renderer, error) + type Options struct + Landscape bool + MarginBottom float64 + MarginLeft float64 + MarginRight float64 + MarginTop float64 + PaperHeight float64 + PaperWidth float64 + PrintBackground *bool + Scale float64 + TimeoutSeconds int + URL string + type Renderer interface + Render func(ctx context.Context, html string, opts Options) ([]byte, error) + type Service struct + func FromKernel(k *togo.Kernel) (*Service, bool) + func (s *Service) Driver() string + func (s *Service) Render(ctx context.Context, html string, opts Options) ([]byte, error)