MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / CreateTask

Method CreateTask

pkg/cluster/node.go:357–359  ·  view source on GitHub ↗
(ctx context.Context, taskType string, state string)

Source from the content-addressed store, hash-verified

355}
356
357func (b *nodeBase) CreateTask(ctx context.Context, taskType string, state string) (int, error) {
358 return 0, errors.New("not implemented")
359}
360
361func (b *nodeBase) AuthInstance() auth.Auth {
362 return auth.HMACAuth{[]byte(b.model.SlaveKey)}

Callers

nothing calls this directly

Calls 1

NewMethod · 0.65

Tested by

no test coverage detected