Documentation
¶
Index ¶
Constants ¶
View Source
const ( ScriptWithGithub = "agentapi_with_github.sh" ScriptDefault = "agentapi_default.sh" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentSession ¶
type AgentSession struct {
ID string
Port int
Process *exec.Cmd
Cancel context.CancelFunc
StartedAt time.Time
UserID string
Status string
Environment map[string]string
}
AgentSession represents a running agentapi server instance
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
Proxy represents the HTTP proxy server
type StartRequest ¶
type StartRequest struct {
UserID string `json:"user_id,omitempty"`
Environment map[string]string `json:"environment,omitempty"`
}
StartRequest represents the request body for starting a new agentapi server
Click to show internal directories.
Click to hide internal directories.