MCPcopy
hub / github.com/OpenNHP/opennhp / testEntry

Struct testEntry

nhp/test/tokenstore_test.go:12–15  ·  view source on GitHub ↗

testEntry is a simple implementation of common.TokenEntry for testing.

Source from the content-addressed store, hash-verified

10
11// testEntry is a simple implementation of common.TokenEntry for testing.
12type testEntry struct {
13 value string
14 expireTime time.Time
15}
16
17func (e *testEntry) GetExpireTime() time.Time {
18 return e.expireTime

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected