MCPcopy
hub / github.com/kenn-io/msgvault / API

Interface API

internal/gmail/api.go:46–53  ·  view source on GitHub ↗

API defines the interface for Gmail operations. This interface enables mocking for tests without hitting the real API.

Source from the content-addressed store, hash-verified

44// API defines the interface for Gmail operations.
45// This interface enables mocking for tests without hitting the real API.
46type API interface {
47 AccountReader
48 MessageReader
49 MessageDeleter
50
51 // Close releases any resources held by the client.
52 Close() error
53}
54
55// Profile represents a Gmail user profile.
56type Profile struct {

Callers 8

openPGPendingDBFunction · 0.65
newPendingDBFunction · 0.65
TestOpen_SupportPSTFunction · 0.65
TestOpen_32BitPSTFunction · 0.65

Implementers 15

fakeBackendinternal/scheduler/scheduler_test.go
Fileinternal/pst/reader.go
Engineinternal/remote/engine.go
Storeinternal/remote/store.go
readCloserImplinternal/remote/store_test.go
DeletionMockAPIinternal/gmail/deletion_mock.go
MockAPIinternal/gmail/mock.go
Clientinternal/gmail/client.go
statsFakeBackendinternal/vector/stats_test.go
fakeBackendinternal/vector/generations_test.go
Backendinternal/vector/pgvector/backend.go
Backendinternal/vector/sqlitevec/backend.go

Calls

no outgoing calls

Tested by

no test coverage detected