Documentation
¶
Index ¶
- Variables
- func Execute()
- func ReadOutput(logger logger.Logger, outputPath string, sessionId string) (map[string]any, error)
- func SaveInput(logger logger.Logger, message []byte) (string, string, error)
- type Agent
- type InitProjectArgs
- type InputMessage
- type LiveDevConnection
- func (c *LiveDevConnection) Close() error
- func (c *LiveDevConnection) SendMessage(payload map[string]any, messageType string) error
- func (c *LiveDevConnection) SetOnMessage(onMessage func(message []byte) error)
- func (c *LiveDevConnection) WebURL(appUrl string) string
- func (c *LiveDevConnection) Write(jsonLogMessage []byte) (int, error)
- type Message
- type OutputPayload
- type Resources
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string Commit string Date string )
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func ReadOutput ¶ added in v0.0.6
Types ¶
type InitProjectArgs ¶
type InputMessage ¶ added in v0.0.6
type LiveDevConnection ¶
type LiveDevConnection struct {
// contains filtered or unexported fields
}
func NewLiveDevConnection ¶
func (*LiveDevConnection) Close ¶
func (c *LiveDevConnection) Close() error
func (*LiveDevConnection) SendMessage ¶
func (c *LiveDevConnection) SendMessage(payload map[string]any, messageType string) error
func (*LiveDevConnection) SetOnMessage ¶ added in v0.0.2
func (c *LiveDevConnection) SetOnMessage(onMessage func(message []byte) error)
func (*LiveDevConnection) WebURL ¶
func (c *LiveDevConnection) WebURL(appUrl string) string
type OutputPayload ¶ added in v0.0.6
Click to show internal directories.
Click to hide internal directories.