(authInfo *ttnpb.AuthInfoResponse, err error)
| 98 | } |
| 99 | |
| 100 | func (c *cachedAuthInfoRes) set(authInfo *ttnpb.AuthInfoResponse, err error) { |
| 101 | c.authInfo = authInfo |
| 102 | c.cachedRes.set(authInfo.GetUniversalRights(), err) |
| 103 | } |
| 104 | |
| 105 | // NewInMemoryCache returns a new in-memory cache on top of the given fetcher. |
| 106 | // Successful responses are valid for the duration of successTTL, unsuccessful |
nothing calls this directly
no test coverage detected