Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIErrorResponse ¶
APIErrorResponse represents an error response from the API
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client represents a MoMorph API client
func (*Client) GetProjectTemplate ¶
func (c *Client) GetProjectTemplate(ctx context.Context, aiTool string, tag string) (*TemplateMetadata, error)
GetProjectTemplate retrieves template metadata for the specified AI tool. If tag is non-empty it is sent as the version parameter; otherwise the version is auto-detected (stable for production builds, latest for dev).
type ErrorResponse ¶
ErrorResponse represents an API error response
type TemplateMetadata ¶
type TemplateMetadata struct {
Key string `json:"key"` // S3 key path
DownloadURL string `json:"url"` // Presigned URL
ExpiresIn int `json:"expiresIn"` // URL expiration in seconds
Cached bool `json:"cached"` // Whether response was cached
}
TemplateMetadata represents template information from the API
Click to show internal directories.
Click to hide internal directories.