Documentation
¶
Index ¶
- type FieldInfo
- type Introspector
- func (i *Introspector) GenerateManifest(pluginID string) (*manifest.Manifest, error)
- func (i *Introspector) IntrospectHandlers(handlerPath string) (*RouteInfo, error)
- func (i *Introspector) IntrospectPlugin(pluginPath string) (*PluginInfo, error)
- func (i *Introspector) IntrospectRoutes(routesPath string) ([]RouteRegistration, error)
- type PluginInfo
- type Route
- type RouteInfo
- type RouteRegistration
- type TypeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Introspector ¶
type Introspector struct {
// contains filtered or unexported fields
}
Introspector analyzes Go source code to generate manifests
func NewIntrospector ¶
func NewIntrospector(projectRoot string) *Introspector
NewIntrospector creates a new introspector
func (*Introspector) GenerateManifest ¶
func (i *Introspector) GenerateManifest(pluginID string) (*manifest.Manifest, error)
GenerateManifest creates a manifest from introspection data
func (*Introspector) IntrospectHandlers ¶
func (i *Introspector) IntrospectHandlers(handlerPath string) (*RouteInfo, error)
IntrospectHandlers analyzes handler files to extract route information
func (*Introspector) IntrospectPlugin ¶
func (i *Introspector) IntrospectPlugin(pluginPath string) (*PluginInfo, error)
IntrospectPlugin analyzes a plugin directory
func (*Introspector) IntrospectRoutes ¶
func (i *Introspector) IntrospectRoutes(routesPath string) ([]RouteRegistration, error)
IntrospectRoutes analyzes route registration to extract HTTP methods and paths
type PluginInfo ¶
type RouteRegistration ¶
Click to show internal directories.
Click to hide internal directories.