MCPcopy Create free account
hub / github.com/koding/kite / NewMemKeyPairStorageTTL

Function NewMemKeyPairStorageTTL

kontrol/keypair.go:73–78  ·  view source on GitHub ↗
(ttl time.Duration)

Source from the content-addressed store, hash-verified

71}
72
73func NewMemKeyPairStorageTTL(ttl time.Duration) *MemKeyPairStorage {
74 return &MemKeyPairStorage{
75 id: cache.NewMemoryWithTTL(ttl),
76 public: cache.NewMemoryWithTTL(ttl),
77 }
78}
79
80type MemKeyPairStorage struct {
81 id cache.Cache

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected