Versions in this module Expand all Collapse all v0 v0.1.4 Jun 10, 2026 Changes in this version + func NewAxiosFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewD3Factory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewExpressFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewFastifyFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewHapiFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewKoaFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewLodashFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewMeteorFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewMochaFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewMoleculerFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewNodeJSFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewReactFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRemixFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewRestifyFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSailsFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewSvelteKitFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewWSFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + func NewWebpackFactory(repoPath string, opts registry.FactoryOptions) (source.Source, error) + type LibraryConfig struct + BlobRef string + Description string + ID string + Name string + SourceDirs []string + SourceURL string + Version string + type Option func(*Source) + func WithConfig(cfg LibraryConfig) Option + type Source struct + func New(repoPath string, opts ...Option) *Source + func (s *Source) DetectWrapper(method *source.Method) (bool, string, string) + func (s *Source) DiscoverEntities(ctx context.Context, fetch source.FetchFunc) ([]string, error) + func (s *Source) ID() string + func (s *Source) Meta() source.LibraryMeta + func (s *Source) ParseEntity(ctx context.Context, entityID string, content []byte) (*source.Entity, []string, error) + func (s *Source) ParseMethod(ctx context.Context, methodID string, content []byte) (*source.Method, error) + func (s *Source) ParseSourceCode(entityID string, content []byte) (string, error) + func (s *Source) ResolveWrapperURL(targetName, targetKind, entitySlug string) string