From b7778ab409ddd0d25da358c682d9cd472ebc7fe0 Mon Sep 17 00:00:00 2001 From: Arshia Dadras Date: Sat, 26 Oct 2024 11:25:03 +0330 Subject: [PATCH 1/3] adding some virtual engines (one for each service) --- services/eta/call_options.go | 27 +++++++++++++++++++++++++++ services/matrix/call_options.go | 28 ++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/services/eta/call_options.go b/services/eta/call_options.go index 64581bb..1ce9590 100644 --- a/services/eta/call_options.go +++ b/services/eta/call_options.go @@ -7,9 +7,19 @@ type EtaEngine int const ( EtaEngineV1 EtaEngine = iota EtaEngineV2 + EtaEngineNostradamus EtaEngineOcelot EtaEngineOrca + + EtaEngineAnt + EtaEngineHive + EtaEngineOlympus + EtaEngineCrew + EtaEnginePluck + EtaEngineTick + EtaEngineFork + EtaEnginePulse ) // String casts the engine enum to its string value. @@ -26,6 +36,23 @@ func (engine EtaEngine) String() string { return "ocelot" case EtaEngineOrca: return "orca" + + case EtaEngineAnt: + return "ant" + case EtaEngineHive: + return "hive" + case EtaEngineOlympus: + return "olympus" + case EtaEngineCrew: + return "crew" + case EtaEnginePluck: + return "pluck" + case EtaEngineTick: + return "tick" + case EtaEngineFork: + return "fork" + case EtaEnginePulse: + return "pulse" } return "v1" } diff --git a/services/matrix/call_options.go b/services/matrix/call_options.go index 57cd593..c0aeb0c 100644 --- a/services/matrix/call_options.go +++ b/services/matrix/call_options.go @@ -7,8 +7,18 @@ type MatrixEngine int const ( MatrixEngineV1 MatrixEngine = iota MatrixEngineV2 + MatrixEngineOcelot MatrixEngineOrca + + MatrixEngineAnt + MatrixEngineHive + MatrixEngineOlympus + MatrixEngineCrew + MatrixEnginePluck + MatrixEngineTick + MatrixEngineFork + MatrixEnginePulse ) // String casts the engine enum to its string value. @@ -18,10 +28,28 @@ func (engine MatrixEngine) String() string { return "v1" case MatrixEngineV2: return "v2" + case MatrixEngineOcelot: return "ocelot" case MatrixEngineOrca: return "orca" + + case MatrixEngineAnt: + return "ant" + case MatrixEngineHive: + return "hive" + case MatrixEngineOlympus: + return "olympus" + case MatrixEngineCrew: + return "crew" + case MatrixEnginePluck: + return "pluck" + case MatrixEngineTick: + return "tick" + case MatrixEngineFork: + return "fork" + case MatrixEnginePulse: + return "pulse" } return "v1" } From 5e4c2ce3eea3e5defc9773fe0c8ed2e932c1a016 Mon Sep 17 00:00:00 2001 From: Arshia Dadras Date: Sat, 26 Oct 2024 11:35:51 +0330 Subject: [PATCH 2/3] changing version to 0.9.15 --- version/version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version/version.go b/version/version.go index 2b09f5b..b968aa7 100644 --- a/version/version.go +++ b/version/version.go @@ -3,7 +3,7 @@ package version import "fmt" const ( - Version = "v0.9.14" + Version = "v0.9.15" UserAgentHeader = "User-Agent" ) From 94304e16a77af50fb9b2f9bb5bcf9cd4878f9d72 Mon Sep 17 00:00:00 2001 From: Arshia Dadras Date: Sat, 26 Oct 2024 16:00:17 +0330 Subject: [PATCH 3/3] tick -> giraffe --- services/eta/call_options.go | 6 +++--- services/matrix/call_options.go | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/eta/call_options.go b/services/eta/call_options.go index 1ce9590..5f8d064 100644 --- a/services/eta/call_options.go +++ b/services/eta/call_options.go @@ -17,7 +17,7 @@ const ( EtaEngineOlympus EtaEngineCrew EtaEnginePluck - EtaEngineTick + EtaEngineGiraffe EtaEngineFork EtaEnginePulse ) @@ -47,8 +47,8 @@ func (engine EtaEngine) String() string { return "crew" case EtaEnginePluck: return "pluck" - case EtaEngineTick: - return "tick" + case EtaEngineGiraffe: + return "giraffe" case EtaEngineFork: return "fork" case EtaEnginePulse: diff --git a/services/matrix/call_options.go b/services/matrix/call_options.go index c0aeb0c..b9f5ce8 100644 --- a/services/matrix/call_options.go +++ b/services/matrix/call_options.go @@ -16,7 +16,7 @@ const ( MatrixEngineOlympus MatrixEngineCrew MatrixEnginePluck - MatrixEngineTick + MatrixEngineGiraffe MatrixEngineFork MatrixEnginePulse ) @@ -44,8 +44,8 @@ func (engine MatrixEngine) String() string { return "crew" case MatrixEnginePluck: return "pluck" - case MatrixEngineTick: - return "tick" + case MatrixEngineGiraffe: + return "giraffe" case MatrixEngineFork: return "fork" case MatrixEnginePulse: