MCPcopy Index your code
hub / github.com/tinode/chat / Expire

Method Expire

server/store/store.go:1089–1089  ·  view source on GitHub ↗

Expire expires older entries with the specified key prefix.

(keyPrefix string, olderThan time.Time)

Source from the content-addressed store, hash-verified

1087 Delete(key string) error
1088 // Expire expires older entries with the specified key prefix.
1089 Expire(keyPrefix string, olderThan time.Time) error
1090}
1091
1092// pcacheMapper is concrete type which implements PersistentCacheInterface.

Callers 1

GenSecretMethod · 0.65

Implementers 3

pcacheMapperserver/store/store.go
MockPersistentCacheInterfaceserver/store/mock_store/mock_store.go
MockPersistentCacheInterfaceMockRecorderserver/store/mock_store/mock_store.go

Calls

no outgoing calls

Tested by

no test coverage detected