MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / stubStore

Struct stubStore

internal/watcher/watcher_test.go:1510–1516  ·  view source on GitHub ↗

stubStore implements coreauth.Store plus watcher-specific persistence helpers.

Source from the content-addressed store, hash-verified

1508
1509// stubStore implements coreauth.Store plus watcher-specific persistence helpers.
1510type stubStore struct {
1511 authDir string
1512 cfgPersisted int32
1513 authPersisted int32
1514 lastAuthMessage string
1515 lastAuthPaths []string
1516}
1517
1518func (s *stubStore) List(context.Context) ([]*coreauth.Auth, error) { return nil, nil }
1519func (s *stubStore) Save(context.Context, *coreauth.Auth) (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected