Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionUsecase ¶
type FanucService ¶
type FanucService interface {
CreateConnection(ctx context.Context, req models.ConnectionRequest) (*entities.Machine, error)
GetConnections(ctx context.Context) ([]entities.Machine, error)
DeleteConnection(ctx context.Context, id string) error
CheckConnection(ctx context.Context, id string) (*entities.Machine, error)
RestoreConnections() error
StartPolling(ctx context.Context, machineID string, intervalMs int) error
StopPolling(ctx context.Context, machineID string) error
GetControlProgram(ctx context.Context, id string) (string, error)
}
type PollingUsecase ¶
type PollingUsecase interface {
Start(ctx context.Context, req models.StartPollingRequest) error
Stop(ctx context.Context, req models.StopPollingRequest) error
}
type ProgramUsecase ¶
type Repository ¶
type RestoreUsecase ¶
type RestoreUsecase interface {
Restore()
}
Click to show internal directories.
Click to hide internal directories.