( ctx context.Context, sessionID string, )
| 1061 | } |
| 1062 | |
| 1063 | func (s *daemonMemorySessionLedgerService) Get( |
| 1064 | ctx context.Context, |
| 1065 | sessionID string, |
| 1066 | ) (contract.MemorySessionLedgerResponse, error) { |
| 1067 | path, err := s.locate(ctx, sessionID) |
| 1068 | if err != nil { |
| 1069 | return contract.MemorySessionLedgerResponse{}, err |
| 1070 | } |
| 1071 | return readSessionLedger(path) |
| 1072 | } |
| 1073 | |
| 1074 | func (s *daemonMemorySessionLedgerService) Replay( |
| 1075 | ctx context.Context, |
no test coverage detected