Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
13
pkg/redisv2/tester/mock_vehicles_cache.go
Normal file
13
pkg/redisv2/tester/mock_vehicles_cache.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package tester
|
||||
|
||||
import "fiskerinc.com/modules/cache"
|
||||
|
||||
type MockVehiclesCache struct{}
|
||||
|
||||
func (m *MockVehiclesCache) Set(key cache.VehiclesTTLParams, value *cache.VehiclesTTLResult) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MockVehiclesCache) Get(key cache.VehiclesTTLParams) (*cache.VehiclesTTLResult, error) {
|
||||
return nil, nil
|
||||
}
|
||||
Reference in New Issue
Block a user