Documentation
¶
Index ¶
- Constants
- func RegisterEventAppCreatedListener(publisher sse.Publisher)
- func RegisterEventDeviceStatusListener(publisher sse.Publisher)
- func RegisterEventTestCreatedListener(publisher sse.Publisher)
- func RegisterEventTestRunFinishedListener(publisher sse.Publisher)
- func RegisterNewTestLogEntryListener(publisher sse.Publisher)
- func RegisterNewTestProtocolListener(publisher sse.Publisher)
- func RegisterNewTestProtocolLogListener(publisher sse.Publisher)
- type ErrorResponse
- type RunTestRequest
- type Service
- func (s *Service) PublishEvent(event sse.Event)
- func (s *Service) RegisterRoutes(r *gin.Engine) error
- func (s *Service) ResolveApp(context *gin.Context)
- func (s *Service) ResolveProject(context *gin.Context)
- func (s *Service) WithApp(wrapperFunction func(*gin.Context, *models.Project, *models.App)) func(*gin.Context)
- func (s *Service) WithProject(wrapperFunction func(*gin.Context, *models.Project)) func(*gin.Context)
- type Session
- func (s *Session) Close() error
- func (s *Session) GetAppParameter() *app.Parameter
- func (s *Session) GetDevice() device.Device
- func (s *Session) GetDeviceLock() *manager.DeviceLock
- func (s *Session) GetLastAccess() time.Time
- func (s *Session) GetLogger() *logrus.Entry
- func (s *Session) GetSessionID() string
- func (s *Session) GetStorage() manager.Storage
- func (s *Session) HandleDisconnect()
- func (s *Session) SetDeviceLock(lock *manager.DeviceLock)
- func (s *Session) SetLastAccess(now time.Time)
- func (s *Session) WaitForConnection() error
Constants ¶
View Source
const (
AVG_HISTORY_LIMIT = 20
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorResponse ¶
type ErrorResponse struct {
Message string
}
type RunTestRequest ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) PublishEvent ¶
func (*Service) ResolveApp ¶
func (*Service) ResolveProject ¶
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) GetAppParameter ¶
func (*Session) GetDeviceLock ¶
func (s *Session) GetDeviceLock() *manager.DeviceLock
func (*Session) GetLastAccess ¶
func (*Session) GetSessionID ¶
func (*Session) GetStorage ¶
func (*Session) HandleDisconnect ¶
func (s *Session) HandleDisconnect()
func (*Session) SetDeviceLock ¶
func (s *Session) SetDeviceLock(lock *manager.DeviceLock)
func (*Session) SetLastAccess ¶
func (*Session) WaitForConnection ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.