Documentation
¶
Overview ¶
Package api implements the core API functionality for the template plugin. It provides the main API structure and configuration for HTTP routing.
Package api implements configuration-related functionality for the API ¶
Package api implements the REST API handlers for the template plugin
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
API represents the main API structure for the template plugin. It holds references to core services and configuration needed for operation.
func NewAPI ¶
func NewAPI() (*API, []core.ContextBuilderOption, error)
NewAPI creates a new instance of the template plugin API. It returns the API instance and context builder options needed for initialization.
func (*API) AuthTokenName ¶
AuthTokenName returns the name of the authentication token used by the plugin
Click to show internal directories.
Click to hide internal directories.