Documentation ¶ Index ¶ type Opt type Runner func NewRunner(opt Opt) (runner *Runner, err error) func (r *Runner) PollNewJob(ctx context.Context) (job network.RequestJobResp, err error) func (r *Runner) RunJob(ctx context.Context, job network.RequestJobResp) (err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Opt ¶ type Opt struct { Logger *zap.Logger AccessToken string Client *network.Client ExecutorConfig executor.Config } type Runner ¶ type Runner struct { // contains filtered or unexported fields } func NewRunner ¶ func NewRunner(opt Opt) (runner *Runner, err error) func (*Runner) PollNewJob ¶ func (r *Runner) PollNewJob(ctx context.Context) (job network.RequestJobResp, err error) func (*Runner) RunJob ¶ func (r *Runner) RunJob(ctx context.Context, job network.RequestJobResp) (err error) Source Files ¶ View all Source files crazy_thursday.go runner.go Click to show internal directories. Click to hide internal directories.