Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type SafeBuffer ¶
SafeBuffer prevents possible conflicts when shared by goroutines. In the current version, locking is implemented for
- Write, which is used by logboek
- Bytes, which can be used to get the log of the running job
func NewSafeBuffer ¶
func NewSafeBuffer() *SafeBuffer
func (*SafeBuffer) Bytes ¶
func (b *SafeBuffer) Bytes() []byte
type TaskCallbacksInterface ¶
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) CancelRunningJobByTaskUUID ¶
func (*Worker) HoldRunningJobByTaskUUID ¶
Click to show internal directories.
Click to hide internal directories.