Adding SessionS.BiRPCv1SetPassiveSession RPC caching

This commit is contained in:
DanB
2019-03-03 20:40:48 +01:00
parent 28d4ac5c76
commit 7ea305f249
5 changed files with 25 additions and 5 deletions

View File

@@ -918,3 +918,9 @@ func (ffn *FallbackFileName) AsString() string {
}
return fmt.Sprintf("%s%s%s%s%s%s%s%s", ffn.Module, HandlerArgSep, ffn.Transport, HandlerArgSep, url.QueryEscape(ffn.Address), HandlerArgSep, ffn.RequestID, ffn.FileSuffix)
}
// CachedRPCResponse is used to cache a RPC response
type CachedRPCResponse struct {
Result interface{}
Error error
}