Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
18
pkg/common/manifestfingerprintparams/mock.go
Normal file
18
pkg/common/manifestfingerprintparams/mock.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package manifestfingerprintparams
|
||||
|
||||
import "time"
|
||||
|
||||
type MockFingerprintParamer struct{
|
||||
Time time.Time
|
||||
ManifestSerialValue string
|
||||
}
|
||||
|
||||
func (m *MockFingerprintParamer) CurTime()(time.Time){
|
||||
return m.Time
|
||||
}
|
||||
|
||||
func (m *MockFingerprintParamer) ManifestSerial()(string){
|
||||
return m.ManifestSerialValue
|
||||
}
|
||||
|
||||
var _ FingerprintParamer = &MockFingerprintParamer{}
|
||||
Reference in New Issue
Block a user