MCPcopy Index your code
hub / github.com/koding/kite / IsValid

Method IsValid

kontrol/keypair.go:137–140  ·  view source on GitHub ↗
(public string)

Source from the content-addressed store, hash-verified

135}
136
137func (m *MemKeyPairStorage) IsValid(public string) error {
138 _, err := m.GetKeyFromPublic(public)
139 return err
140}
141
142// CachedStorage caches the requests that are going to backend and tries to
143// lower the load on the backend

Callers

nothing calls this directly

Calls 1

GetKeyFromPublicMethod · 0.95

Tested by

no test coverage detected