Documentation
¶
Index ¶
- func CreateRunProjectCmd(ctx context.Context, log logger.Logger, theproject project.ProjectContext, ...) (*exec.Cmd, error)
- func FindAvailableOpenPort() (int, error)
- func FindAvailablePort(p project.ProjectContext, tryPort int) (int, error)
- func KillProjectServer(logger logger.Logger, projectServerCmd *exec.Cmd, pid int)
- type Endpoint
- type FileWatcher
- type Response
- type Server
- func (s *Server) AgentURL(agentId string) string
- func (s *Server) Close() error
- func (s *Server) Connect() error
- func (s *Server) GenerateInfoBox(publicUrl string, appUrl string, devModeUrl string) string
- func (s *Server) HealthCheck(devModeUrl string) error
- func (s *Server) PublicURL(appUrl string) string
- func (s *Server) TelemetryAPIKey() string
- func (s *Server) TelemetryURL() string
- func (s *Server) WebURL(appUrl string) string
- type ServerArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRunProjectCmd ¶
func FindAvailableOpenPort ¶ added in v0.0.173
func FindAvailablePort ¶ added in v0.0.74
func FindAvailablePort(p project.ProjectContext, tryPort int) (int, error)
Types ¶
type FileWatcher ¶
type FileWatcher struct {
// contains filtered or unexported fields
}
func NewWatcher ¶
type Server ¶ added in v0.0.122
type Server struct {
// contains filtered or unexported fields
}
func New ¶ added in v0.0.122
func New(args ServerArgs) (*Server, error)
func (*Server) Close ¶ added in v0.0.122
Close closes the bridge client and cleans up the connection
func (*Server) GenerateInfoBox ¶ added in v0.0.138
func (*Server) HealthCheck ¶ added in v0.0.122
func (*Server) TelemetryAPIKey ¶ added in v0.0.173
func (*Server) TelemetryURL ¶ added in v0.0.173
Click to show internal directories.
Click to hide internal directories.