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

Method AuthInstance

pkg/cluster/node.go:361–363  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359}
360
361func (b *nodeBase) AuthInstance() auth.Auth {
362 return auth.HMACAuth{[]byte(b.model.SlaveKey)}
363}
364
365func (b *nodeBase) GetTask(ctx context.Context, id int, clearOnComplete bool) (*SlaveTaskSummary, error) {
366 return nil, errors.New("not implemented")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected