Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
Generator handles response generation
func NewGenerator ¶
NewGenerator creates a new response generator
func (*Generator) GenerateImage ¶
GenerateImage generates a real PNG image and returns base64 encoded data
func (*Generator) GenerateStream ¶
GenerateStream generates streaming text chunks
func (*Generator) GenerateText ¶
GenerateText generates mock text response
func (*Generator) ShouldReturnError ¶
ShouldReturnError determines if an error should be returned
Click to show internal directories.
Click to hide internal directories.