diff --git a/actors/actor.go b/actors/actor.go index beffc4aa..30466ed1 100644 --- a/actors/actor.go +++ b/actors/actor.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/actor_system.go b/actors/actor_system.go index eea376c1..beee2146 100644 --- a/actors/actor_system.go +++ b/actors/actor_system.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/actor_system_test.go b/actors/actor_system_test.go index eb9b5050..b7f0d1a6 100644 --- a/actors/actor_system_test.go +++ b/actors/actor_system_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/api.go b/actors/api.go index 8fc84f5f..a12a5569 100644 --- a/actors/api.go +++ b/actors/api.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/api_test.go b/actors/api_test.go index 106fedd2..bc069c4b 100644 --- a/actors/api_test.go +++ b/actors/api_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/behavior_stack.go b/actors/behavior_stack.go index 67041d29..734ed4ae 100644 --- a/actors/behavior_stack.go +++ b/actors/behavior_stack.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/behavior_stack_test.go b/actors/behavior_stack_test.go index f1362f42..92d3e0d9 100644 --- a/actors/behavior_stack_test.go +++ b/actors/behavior_stack_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/bounded_mailbox.go b/actors/bounded_mailbox.go index af0c2d70..a470ad5a 100644 --- a/actors/bounded_mailbox.go +++ b/actors/bounded_mailbox.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/bounded_mailbox_test.go b/actors/bounded_mailbox_test.go index e6a20608..d5a88542 100644 --- a/actors/bounded_mailbox_test.go +++ b/actors/bounded_mailbox_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/cluster_config.go b/actors/cluster_config.go index 165c00ef..d3d5652d 100644 --- a/actors/cluster_config.go +++ b/actors/cluster_config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/cluster_config_test.go b/actors/cluster_config_test.go index 184632ca..afe23f7e 100644 --- a/actors/cluster_config_test.go +++ b/actors/cluster_config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * */ package actors diff --git a/actors/errors.go b/actors/errors.go index 2f893160..7ccdbd24 100644 --- a/actors/errors.go +++ b/actors/errors.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/func_actor.go b/actors/func_actor.go index 92cac1ec..85849c96 100644 --- a/actors/func_actor.go +++ b/actors/func_actor.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/func_actor_test.go b/actors/func_actor_test.go index 39274b22..aca9abcb 100644 --- a/actors/func_actor_test.go +++ b/actors/func_actor_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/helper_test.go b/actors/helper_test.go index c56a20ee..4936ba5e 100644 --- a/actors/helper_test.go +++ b/actors/helper_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/mailbox.go b/actors/mailbox.go index a92222e5..110d8bae 100644 --- a/actors/mailbox.go +++ b/actors/mailbox.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * */ package actors diff --git a/actors/option.go b/actors/option.go index fba69dfb..59a5fa25 100644 --- a/actors/option.go +++ b/actors/option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/option_test.go b/actors/option_test.go index 44cf0e80..cdf7dad6 100644 --- a/actors/option_test.go +++ b/actors/option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/pid.go b/actors/pid.go index f764b12b..2ed8f4ee 100644 --- a/actors/pid.go +++ b/actors/pid.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/pid_option.go b/actors/pid_option.go index 566ed0eb..d99b5306 100644 --- a/actors/pid_option.go +++ b/actors/pid_option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/pid_option_test.go b/actors/pid_option_test.go index 1c7cc627..918b9ab3 100644 --- a/actors/pid_option_test.go +++ b/actors/pid_option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/pid_test.go b/actors/pid_test.go index bbc71119..3adf9125 100644 --- a/actors/pid_test.go +++ b/actors/pid_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/receive_context.go b/actors/receive_context.go index 3019d958..b4bf6865 100644 --- a/actors/receive_context.go +++ b/actors/receive_context.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/receive_context_test.go b/actors/receive_context_test.go index 3613feec..2703346a 100644 --- a/actors/receive_context_test.go +++ b/actors/receive_context_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/redistribution.go b/actors/redistribution.go index 9152c3c9..1d8a7490 100644 --- a/actors/redistribution.go +++ b/actors/redistribution.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/redistribution_test.go b/actors/redistribution_test.go index f26cd2fb..dc021cc5 100644 --- a/actors/redistribution_test.go +++ b/actors/redistribution_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/reflection.go b/actors/reflection.go index 482e2352..3c2e1960 100644 --- a/actors/reflection.go +++ b/actors/reflection.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/reflection_test.go b/actors/reflection_test.go index 9d375706..f3f3e13a 100644 --- a/actors/reflection_test.go +++ b/actors/reflection_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/remoting.go b/actors/remoting.go index c7de2989..d8a9980c 100644 --- a/actors/remoting.go +++ b/actors/remoting.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/remoting_test.go b/actors/remoting_test.go index d3cc4b6d..8877efc4 100644 --- a/actors/remoting_test.go +++ b/actors/remoting_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/router.go b/actors/router.go index ff636bf6..655a1d9c 100644 --- a/actors/router.go +++ b/actors/router.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/router_test.go b/actors/router_test.go index 8e2ebd6b..fad359db 100644 --- a/actors/router_test.go +++ b/actors/router_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/scheduler.go b/actors/scheduler.go index 12347286..cd246ca6 100644 --- a/actors/scheduler.go +++ b/actors/scheduler.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/scheduler_test.go b/actors/scheduler_test.go index 9b28bf2f..e1950ed7 100644 --- a/actors/scheduler_test.go +++ b/actors/scheduler_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/spawn_option.go b/actors/spawn_option.go index fc076962..c709d5f5 100644 --- a/actors/spawn_option.go +++ b/actors/spawn_option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/spawn_option_test.go b/actors/spawn_option_test.go index 55ffa0c4..ac2ee626 100644 --- a/actors/spawn_option_test.go +++ b/actors/spawn_option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/stash.go b/actors/stash.go index bf4e8930..d14517f7 100644 --- a/actors/stash.go +++ b/actors/stash.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/stash_test.go b/actors/stash_test.go index 61acd98f..ede5d510 100644 --- a/actors/stash_test.go +++ b/actors/stash_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/supervisor_directive.go b/actors/supervisor_directive.go index e11d70f9..a050af89 100644 --- a/actors/supervisor_directive.go +++ b/actors/supervisor_directive.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/sync_map.go b/actors/sync_map.go index 5c8bc16a..4832b88e 100644 --- a/actors/sync_map.go +++ b/actors/sync_map.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/sync_map_test.go b/actors/sync_map_test.go index 5e488e59..c9339cef 100644 --- a/actors/sync_map_test.go +++ b/actors/sync_map_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/system_supervisor.go b/actors/system_supervisor.go index 9f125c8c..2a2ed19c 100644 --- a/actors/system_supervisor.go +++ b/actors/system_supervisor.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/types.go b/actors/types.go index 10c2de9c..8220ab73 100644 --- a/actors/types.go +++ b/actors/types.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/actors/unbounded_mailbox.go b/actors/unbounded_mailbox.go index ca00c29c..ba3ab61b 100644 --- a/actors/unbounded_mailbox.go +++ b/actors/unbounded_mailbox.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * */ package actors diff --git a/actors/unbounded_mailbox_test.go b/actors/unbounded_mailbox_test.go index b99235a3..6cd5de6f 100644 --- a/actors/unbounded_mailbox_test.go +++ b/actors/unbounded_mailbox_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/address/address.go b/address/address.go index 82f51bd3..94df202c 100644 --- a/address/address.go +++ b/address/address.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/address/address_test.go b/address/address_test.go index f555f096..cf6551ca 100644 --- a/address/address_test.go +++ b/address/address_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/bench/actor.go b/bench/actor.go index faa6d80c..77f8d06b 100644 --- a/bench/actor.go +++ b/bench/actor.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/bench/benchmark_test.go b/bench/benchmark_test.go index 83dce2fc..74022179 100644 --- a/bench/benchmark_test.go +++ b/bench/benchmark_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/bench/pingpong/main.go b/bench/pingpong/main.go index a75cffb4..921c2ddb 100644 --- a/bench/pingpong/main.go +++ b/bench/pingpong/main.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/actor.go b/client/actor.go index 8b035765..e14d09e2 100644 --- a/client/actor.go +++ b/client/actor.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/balancer.go b/client/balancer.go index e488fe41..9af04605 100644 --- a/client/balancer.go +++ b/client/balancer.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/client.go b/client/client.go index 6407628d..a51d6872 100644 --- a/client/client.go +++ b/client/client.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/client_test.go b/client/client_test.go index e3a4f790..485aac11 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/least_load.go b/client/least_load.go index 1c4668cf..ed7157b6 100644 --- a/client/least_load.go +++ b/client/least_load.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/least_load_test.go b/client/least_load_test.go index 97962d99..dd1e58a4 100644 --- a/client/least_load_test.go +++ b/client/least_load_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/node.go b/client/node.go index 8ae26d95..0ff13034 100644 --- a/client/node.go +++ b/client/node.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/option.go b/client/option.go index 5da7a8e5..8911029a 100644 --- a/client/option.go +++ b/client/option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/option_test.go b/client/option_test.go index b52eac60..49689e3e 100644 --- a/client/option_test.go +++ b/client/option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/random.go b/client/random.go index 842ad5a0..0781751e 100644 --- a/client/random.go +++ b/client/random.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/round_robin.go b/client/round_robin.go index f37e89f1..d5322048 100644 --- a/client/round_robin.go +++ b/client/round_robin.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/client/round_robin_test.go b/client/round_robin_test.go index 3d823a2d..c858b908 100644 --- a/client/round_robin_test.go +++ b/client/round_robin_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/dnssd/config.go b/discovery/dnssd/config.go index e5d75ae7..ce160d6b 100644 --- a/discovery/dnssd/config.go +++ b/discovery/dnssd/config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/dnssd/config_test.go b/discovery/dnssd/config_test.go index 9315e487..e8d39483 100644 --- a/discovery/dnssd/config_test.go +++ b/discovery/dnssd/config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/dnssd/discovery.go b/discovery/dnssd/discovery.go index e16458c6..d8c3f67e 100644 --- a/discovery/dnssd/discovery.go +++ b/discovery/dnssd/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/dnssd/discovery_test.go b/discovery/dnssd/discovery_test.go index 57cb5a0a..4ca9197e 100644 --- a/discovery/dnssd/discovery_test.go +++ b/discovery/dnssd/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/errors.go b/discovery/errors.go index 5e6e0ee0..99e4ac13 100644 --- a/discovery/errors.go +++ b/discovery/errors.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/kubernetes/config.go b/discovery/kubernetes/config.go index 8df181db..e8dfe0d1 100644 --- a/discovery/kubernetes/config.go +++ b/discovery/kubernetes/config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/kubernetes/config_test.go b/discovery/kubernetes/config_test.go index 18ab7a37..c5496d59 100644 --- a/discovery/kubernetes/config_test.go +++ b/discovery/kubernetes/config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/kubernetes/discovery.go b/discovery/kubernetes/discovery.go index b9e092a6..00504bc2 100644 --- a/discovery/kubernetes/discovery.go +++ b/discovery/kubernetes/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/kubernetes/discovery_test.go b/discovery/kubernetes/discovery_test.go index 00c987d6..324b7a4b 100644 --- a/discovery/kubernetes/discovery_test.go +++ b/discovery/kubernetes/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/mdns/config.go b/discovery/mdns/config.go index 5e3a51f9..995ae3c6 100644 --- a/discovery/mdns/config.go +++ b/discovery/mdns/config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/mdns/config_test.go b/discovery/mdns/config_test.go index 74391734..a77d9123 100644 --- a/discovery/mdns/config_test.go +++ b/discovery/mdns/config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/mdns/discovery.go b/discovery/mdns/discovery.go index dede2b17..2107588a 100644 --- a/discovery/mdns/discovery.go +++ b/discovery/mdns/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/mdns/discovery_test.go b/discovery/mdns/discovery_test.go index edd5a44f..399a7abb 100644 --- a/discovery/mdns/discovery_test.go +++ b/discovery/mdns/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/config.go b/discovery/nats/config.go index 1ad834fe..a8207321 100644 --- a/discovery/nats/config.go +++ b/discovery/nats/config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/config_test.go b/discovery/nats/config_test.go index 1f6c2dd7..f2d64673 100644 --- a/discovery/nats/config_test.go +++ b/discovery/nats/config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/discovery.go b/discovery/nats/discovery.go index 1dc4de63..d7199c0c 100644 --- a/discovery/nats/discovery.go +++ b/discovery/nats/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/discovery_test.go b/discovery/nats/discovery_test.go index 89cfcfde..b2399c7e 100644 --- a/discovery/nats/discovery_test.go +++ b/discovery/nats/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/option.go b/discovery/nats/option.go index 384764e8..63699328 100644 --- a/discovery/nats/option.go +++ b/discovery/nats/option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/nats/option_test.go b/discovery/nats/option_test.go index 1418c5be..2ed4f54f 100644 --- a/discovery/nats/option_test.go +++ b/discovery/nats/option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/node.go b/discovery/node.go index 77521a41..9db1bb50 100644 --- a/discovery/node.go +++ b/discovery/node.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/provider.go b/discovery/provider.go index f2502996..2ad55462 100644 --- a/discovery/provider.go +++ b/discovery/provider.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/static/config.go b/discovery/static/config.go index 647c3a41..00b0d52d 100644 --- a/discovery/static/config.go +++ b/discovery/static/config.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/static/config_test.go b/discovery/static/config_test.go index 062f35a5..8171d235 100644 --- a/discovery/static/config_test.go +++ b/discovery/static/config_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/static/discovery.go b/discovery/static/discovery.go index 4ca94907..e8ca347c 100644 --- a/discovery/static/discovery.go +++ b/discovery/static/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/discovery/static/discovery_test.go b/discovery/static/discovery_test.go index 28c626ed..c3250930 100644 --- a/discovery/static/discovery_test.go +++ b/discovery/static/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/future/future.go b/future/future.go index f53b2a27..0ccb841a 100644 --- a/future/future.go +++ b/future/future.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/future/future_test.go b/future/future_test.go index c28e28b0..4e0d1bde 100644 --- a/future/future_test.go +++ b/future/future_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/hash/hasher.go b/hash/hasher.go index c936c62c..5611533f 100644 --- a/hash/hasher.go +++ b/hash/hasher.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/cache_logger.go b/internal/cluster/cache_logger.go index 51b81a91..28940636 100644 --- a/internal/cluster/cache_logger.go +++ b/internal/cluster/cache_logger.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/codec.go b/internal/cluster/codec.go index 521a18a4..a9071601 100644 --- a/internal/cluster/codec.go +++ b/internal/cluster/codec.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/codec_test.go b/internal/cluster/codec_test.go index cfb20508..a29af46d 100644 --- a/internal/cluster/codec_test.go +++ b/internal/cluster/codec_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/discovery.go b/internal/cluster/discovery.go index 960dac55..57984ae9 100644 --- a/internal/cluster/discovery.go +++ b/internal/cluster/discovery.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/discovery_test.go b/internal/cluster/discovery_test.go index ef7a6a6d..0e426255 100644 --- a/internal/cluster/discovery_test.go +++ b/internal/cluster/discovery_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/engine.go b/internal/cluster/engine.go index be368d2e..ade43402 100644 --- a/internal/cluster/engine.go +++ b/internal/cluster/engine.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/engine_test.go b/internal/cluster/engine_test.go index 7df90bf7..54c4a1c0 100644 --- a/internal/cluster/engine_test.go +++ b/internal/cluster/engine_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/errors.go b/internal/cluster/errors.go index 6166738a..5a6dd7f1 100644 --- a/internal/cluster/errors.go +++ b/internal/cluster/errors.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/hasher.go b/internal/cluster/hasher.go index 9041e52c..ee4f633d 100644 --- a/internal/cluster/hasher.go +++ b/internal/cluster/hasher.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/hasher_test.go b/internal/cluster/hasher_test.go index 870d96d7..0e5ebb72 100644 --- a/internal/cluster/hasher_test.go +++ b/internal/cluster/hasher_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/logwriter.go b/internal/cluster/logwriter.go index 15306f88..9ce5eef8 100644 --- a/internal/cluster/logwriter.go +++ b/internal/cluster/logwriter.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/logwriter_test.go b/internal/cluster/logwriter_test.go index d78bd2d1..f906c92d 100644 --- a/internal/cluster/logwriter_test.go +++ b/internal/cluster/logwriter_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/node.go b/internal/cluster/node.go index c3136287..218a2b1b 100644 --- a/internal/cluster/node.go +++ b/internal/cluster/node.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -26,22 +26,19 @@ package cluster import ( "context" + "encoding/base64" "encoding/json" "fmt" "sort" + "strings" "sync" "time" "github.com/flowchartsman/retry" "github.com/hashicorp/memberlist" - "github.com/reugn/go-quartz/logger" "go.uber.org/atomic" - "google.golang.org/protobuf/proto" - "google.golang.org/protobuf/types/known/anypb" - "google.golang.org/protobuf/types/known/timestamppb" "github.com/tochemey/goakt/v2/discovery" - "github.com/tochemey/goakt/v2/goaktpb" "github.com/tochemey/goakt/v2/internal/errorschain" "github.com/tochemey/goakt/v2/internal/internalpb" "github.com/tochemey/goakt/v2/internal/types" @@ -99,6 +96,13 @@ type Node struct { // specifies the node state peerState *internalpb.PeerState + + // specifies the secrets + // A list of base64 encoded keys. Each key should be either 16, 24, or 32 bytes + // when decoded to select AES-128, AES-192, or AES-256 respectively. + // The first key in the list will be used for encrypting outbound messages. All keys are + // attempted when decrypting gossip, which allows for rotations. + secretKeys []string } // enforce compilation error @@ -108,23 +112,22 @@ var _ Interface = (*Node)(nil) func NewNode(name string, disco discovery.Provider, host *discovery.Node, opts ...NodeOption) *Node { // create an instance of Node n := &Node{ - logger: log.DefaultLogger, - name: name, - provider: disco, - shutdownTimeout: 3 * time.Second, - events: make(chan *Event, 20), - minimumPeersQuorum: 1, - maxJoinTimeout: time.Second, - maxJoinRetryInterval: time.Second, - syncInterval: time.Minute, - maxJoinAttempts: 10, - lock: new(sync.Mutex), - eventsLock: new(sync.Mutex), - actorsGroupLock: new(sync.RWMutex), - jobsGroupLock: new(sync.RWMutex), - peerStatesGroupLock: new(sync.RWMutex), - stopEventsListenerSig: make(chan types.Unit, 1), - started: atomic.NewBool(false), + logger: log.DefaultLogger, + name: name, + provider: disco, + shutdownTimeout: 3 * time.Second, + events: make(chan *Event, 20), + minimumPeersQuorum: 1, + maxJoinTimeout: time.Second, + maxJoinRetryInterval: time.Second, + syncInterval: time.Minute, + maxJoinAttempts: 10, + lock: new(sync.Mutex), + eventsLock: new(sync.Mutex), + actorsGroupLock: new(sync.RWMutex), + jobsGroupLock: new(sync.RWMutex), + peerStatesGroupLock: new(sync.RWMutex), + started: atomic.NewBool(false), } for _, opt := range opts { @@ -152,6 +155,27 @@ func (n *Node) Start(ctx context.Context) error { n.mconfig.Name = n.node.DiscoveryAddress() n.mconfig.PushPullInterval = n.syncInterval + // Enable gossip encryption if a key is defined. + if len(n.secretKeys) != 0 { + n.mconfig.GossipVerifyIncoming = true + n.mconfig.GossipVerifyOutgoing = true + for i, key := range n.secretKeys { + secret, err := base64.StdEncoding.DecodeString(strings.TrimSpace(key)) + if err != nil { + return fmt.Errorf("unable to base64 decode memberlist encryption key at index %d: %w", i, err) + } + + if err = n.mconfig.Keyring.AddKey(secret); err != nil { + return fmt.Errorf("error adding memberlist encryption key at index %d: %w", i, err) + } + + // set the first key as the default for encrypting outbound messages. + if i == 0 { + n.mconfig.SecretKey = secret + } + } + } + // set the peer state n.peerState = &internalpb.PeerState{ Host: n.Host(), @@ -183,14 +207,9 @@ func (n *Node) Start(ctx context.Context) error { // create enough buffer to house the cluster events // TODO: revisit this number - eventsCh := make(chan memberlist.NodeEvent, 256) - n.mconfig.Events = &memberlist.ChannelEventDelegate{ - Ch: eventsCh, - } n.started.Store(true) - // start listening to events - go n.eventsListener(eventsCh) + n.mconfig.Events = n.newEventsHandler() logger.Infof("GoAkt cluster Engine=(%s) successfully started.", n.name) return nil @@ -215,7 +234,7 @@ func (n *Node) Stop(ctx context.Context) error { defer cancelFn() // stop the events loop - close(n.stopEventsListenerSig) + close(n.events) if err := errorschain. New(errorschain.ReturnFirst()). @@ -421,57 +440,6 @@ func (n *Node) IsLeader(context.Context) bool { return coordinator.PeersAddress() == n.node.PeersAddress() } -// eventsListener listens to cluster events -func (n *Node) eventsListener(eventsChan chan memberlist.NodeEvent) { - for { - select { - case <-n.stopEventsListenerSig: - // finish listening to cluster events - close(n.events) - return - case event := <-eventsChan: - if event.Node == nil { - continue - } - - var node *discovery.Node - if err := json.Unmarshal(event.Node.Meta, &node); err != nil { - logger.Error(fmt.Errorf("failed to unpack GoAkt cluster node:(%s) meta: %w", event.Node.Address(), err)) - continue - } - - if node.DiscoveryAddress() == n.node.DiscoveryAddress() { - continue - } - - var ( - xevent proto.Message - xtype EventType - ) - switch event.Event { - case memberlist.NodeJoin: - xevent = &goaktpb.NodeJoined{ - Address: node.PeersAddress(), - Timestamp: timestamppb.New(time.Now().UTC()), - } - xtype = NodeJoined - case memberlist.NodeLeave: - xevent = &goaktpb.NodeLeft{ - Address: node.PeersAddress(), - Timestamp: timestamppb.New(time.Now().UTC()), - } - xtype = NodeLeft - case memberlist.NodeUpdate: - // TODO: need to handle that later - continue - } - - payload, _ := anypb.New(xevent) - n.events <- &Event{payload, xtype} - } - } -} - // joinCluster attempts to join an existing cluster if peers are provided func (n *Node) joinCluster(ctx context.Context) error { logger := n.logger diff --git a/internal/cluster/node_delegate.go b/internal/cluster/node_delegate.go index 2665d4f5..943efec6 100644 --- a/internal/cluster/node_delegate.go +++ b/internal/cluster/node_delegate.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/node_event_delegate.go b/internal/cluster/node_event_delegate.go new file mode 100644 index 00000000..ff7495dd --- /dev/null +++ b/internal/cluster/node_event_delegate.go @@ -0,0 +1,122 @@ +/* + * MIT License + * + * Copyright (c) 2022-2024 Arsene Tochemey Gandote + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +package cluster + +import ( + "encoding/json" + "fmt" + "time" + + "github.com/hashicorp/memberlist" + "github.com/reugn/go-quartz/logger" + "google.golang.org/protobuf/types/known/anypb" + "google.golang.org/protobuf/types/known/timestamppb" + + "github.com/tochemey/goakt/v2/discovery" + "github.com/tochemey/goakt/v2/goaktpb" + "github.com/tochemey/goakt/v2/log" +) + +// eventsHandler handles cluster topology events +// returned by memberlist +type eventsHandler struct { + events chan *Event + host *discovery.Node + logger log.Logger +} + +// enforce compilation error +var _ memberlist.EventDelegate = (*eventsHandler)(nil) + +// newEventsHandler creates an instance of eventsHandler +func (n *Node) newEventsHandler() *eventsHandler { + return &eventsHandler{ + events: n.events, + host: n.node, + logger: n.logger, + } +} + +// NotifyJoin is executed when a node joined the cluster +func (handler *eventsHandler) NotifyJoin(node *memberlist.Node) { + discoNode, err := handler.toNode(node) + if err != nil { + logger.Error(err) + return + } + + if discoNode == nil { + return + } + + payload, _ := anypb.New(&goaktpb.NodeJoined{ + Address: discoNode.PeersAddress(), + Timestamp: timestamppb.New(time.Now().UTC()), + }) + + handler.events <- &Event{payload, NodeJoined} +} + +// NotifyLeave is executed when a node leaves the cluster +func (handler *eventsHandler) NotifyLeave(node *memberlist.Node) { + discoNode, err := handler.toNode(node) + if err != nil { + logger.Error(err) + return + } + + if discoNode == nil { + return + } + + payload, _ := anypb.New(&goaktpb.NodeLeft{ + Address: discoNode.PeersAddress(), + Timestamp: timestamppb.New(time.Now().UTC()), + }) + + handler.events <- &Event{payload, NodeLeft} +} + +// NotifyUpdate is executed when a node is updated in the cluster +func (handler *eventsHandler) NotifyUpdate(node *memberlist.Node) { + // no-op +} + +// toNode returns a discovery node from the cluster node information +func (handler *eventsHandler) toNode(node *memberlist.Node) (*discovery.Node, error) { + if node == nil { + return nil, nil + } + + var discoNode *discovery.Node + if err := json.Unmarshal(node.Meta, &discoNode); err != nil { + return nil, fmt.Errorf("failed to unpack GoAkt cluster node:(%s) meta: %w", node.Address(), err) + } + + if discoNode.PeersAddress() == handler.host.PeersAddress() { + return nil, nil + } + return discoNode, nil +} diff --git a/internal/cluster/node_option.go b/internal/cluster/node_option.go index 48677dc8..1c388553 100644 --- a/internal/cluster/node_option.go +++ b/internal/cluster/node_option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -94,3 +94,15 @@ func WithNodeSyncInterval(interval time.Duration) NodeOption { node.syncInterval = interval }) } + +// WithNodeSecretKeys defines the secret keys +// A list of base64 encoded keys. Each key should be either 16, 24, or 32 bytes +// when decoded to select AES-128, AES-192, or AES-256 respectively. +// The first key in the list will be used for encrypting outbound messages. All keys are +// attempted when decrypting gossip, which allows for rotations. +// These keys should be the same for all nodes in the cluster +func WithNodeSecretKeys(secretKeys []string) NodeOption { + return NodeOptionFunc(func(node *Node) { + node.secretKeys = secretKeys + }) +} diff --git a/internal/cluster/node_test.go b/internal/cluster/node_test.go index ed8e104d..2be34bd9 100644 --- a/internal/cluster/node_test.go +++ b/internal/cluster/node_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/option.go b/internal/cluster/option.go index 07085662..ddb8747a 100644 --- a/internal/cluster/option.go +++ b/internal/cluster/option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/option_test.go b/internal/cluster/option_test.go index 798e2330..d23f863c 100644 --- a/internal/cluster/option_test.go +++ b/internal/cluster/option_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/cluster/peer.go b/internal/cluster/peer.go index b02e00c9..88805795 100644 --- a/internal/cluster/peer.go +++ b/internal/cluster/peer.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * */ package cluster diff --git a/internal/collection/queue.go b/internal/collection/queue.go index 32c1db6d..11589397 100644 --- a/internal/collection/queue.go +++ b/internal/collection/queue.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/collection/queue_test.go b/internal/collection/queue_test.go index 9cae92eb..313532a5 100644 --- a/internal/collection/queue_test.go +++ b/internal/collection/queue_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/errorschain/errorschain.go b/internal/errorschain/errorschain.go index dda41a97..c41c3ee6 100644 --- a/internal/errorschain/errorschain.go +++ b/internal/errorschain/errorschain.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/errorschain/errorschain_test.go b/internal/errorschain/errorschain_test.go index 630b3745..ccad5543 100644 --- a/internal/errorschain/errorschain_test.go +++ b/internal/errorschain/errorschain_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/eventstream/message.go b/internal/eventstream/message.go index 0867ea5e..1d0ffb02 100644 --- a/internal/eventstream/message.go +++ b/internal/eventstream/message.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/eventstream/stream.go b/internal/eventstream/stream.go index fe44ce7c..60bbdd9f 100644 --- a/internal/eventstream/stream.go +++ b/internal/eventstream/stream.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/eventstream/stream_test.go b/internal/eventstream/stream_test.go index e44652b7..be232991 100644 --- a/internal/eventstream/stream_test.go +++ b/internal/eventstream/stream_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/eventstream/subscriber.go b/internal/eventstream/subscriber.go index 4e5f2019..9d24126b 100644 --- a/internal/eventstream/subscriber.go +++ b/internal/eventstream/subscriber.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/http/http.go b/internal/http/http.go index 6dce2c2d..62232eee 100644 --- a/internal/http/http.go +++ b/internal/http/http.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/http/http_test.go b/internal/http/http_test.go index e77c554f..ed35e451 100644 --- a/internal/http/http_test.go +++ b/internal/http/http_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/lib/lib.go b/internal/lib/lib.go index 1a41518f..601fe295 100644 --- a/internal/lib/lib.go +++ b/internal/lib/lib.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/slice/chunk.go b/internal/slice/chunk.go index 7b54047a..5032ccf4 100644 --- a/internal/slice/chunk.go +++ b/internal/slice/chunk.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/slice/chunk_test.go b/internal/slice/chunk_test.go index 3e39c150..7bb7d4e3 100644 --- a/internal/slice/chunk_test.go +++ b/internal/slice/chunk_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,7 +20,6 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. - * */ package slice diff --git a/internal/slice/safe.go b/internal/slice/safe.go index 3e36241d..002c9c57 100644 --- a/internal/slice/safe.go +++ b/internal/slice/safe.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/slice/safe_test.go b/internal/slice/safe_test.go index 6e926e17..42d8da04 100644 --- a/internal/slice/safe_test.go +++ b/internal/slice/safe_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/tcp/tcp.go b/internal/tcp/tcp.go index d65c6cd3..120b238e 100644 --- a/internal/tcp/tcp.go +++ b/internal/tcp/tcp.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/types/registry.go b/internal/types/registry.go index 4069fbd3..2ca2dc2d 100644 --- a/internal/types/registry.go +++ b/internal/types/registry.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/types/registry_test.go b/internal/types/registry_test.go index 84ca4880..b632892a 100644 --- a/internal/types/registry_test.go +++ b/internal/types/registry_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/types/unit.go b/internal/types/unit.go index ab7f218b..549fe8a7 100644 --- a/internal/types/unit.go +++ b/internal/types/unit.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/boolean.go b/internal/validation/boolean.go index 41dd894a..d5b3c82a 100644 --- a/internal/validation/boolean.go +++ b/internal/validation/boolean.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/boolean_test.go b/internal/validation/boolean_test.go index ac5c9c6f..f40e1f74 100644 --- a/internal/validation/boolean_test.go +++ b/internal/validation/boolean_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/conditional.go b/internal/validation/conditional.go index a5b70a5e..3ac71f0c 100644 --- a/internal/validation/conditional.go +++ b/internal/validation/conditional.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/conditional_test.go b/internal/validation/conditional_test.go index 758ea33d..ac0cbdb4 100644 --- a/internal/validation/conditional_test.go +++ b/internal/validation/conditional_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/empty_string.go b/internal/validation/empty_string.go index 483d9167..e622a617 100644 --- a/internal/validation/empty_string.go +++ b/internal/validation/empty_string.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/empty_string_test.go b/internal/validation/empty_string_test.go index ea58cdf9..f2baf7af 100644 --- a/internal/validation/empty_string_test.go +++ b/internal/validation/empty_string_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/pattern.go b/internal/validation/pattern.go index 22f77d20..707bd273 100644 --- a/internal/validation/pattern.go +++ b/internal/validation/pattern.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/pattern_test.go b/internal/validation/pattern_test.go index b0d3e2e1..2a1d7c51 100644 --- a/internal/validation/pattern_test.go +++ b/internal/validation/pattern_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/tcp_address.go b/internal/validation/tcp_address.go index 9ed10e65..40eff3a0 100644 --- a/internal/validation/tcp_address.go +++ b/internal/validation/tcp_address.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/tcp_address_test.go b/internal/validation/tcp_address_test.go index b93121f8..13116ab1 100644 --- a/internal/validation/tcp_address_test.go +++ b/internal/validation/tcp_address_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/validation.go b/internal/validation/validation.go index 555deb64..4349b5b5 100644 --- a/internal/validation/validation.go +++ b/internal/validation/validation.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/internal/validation/validation_test.go b/internal/validation/validation_test.go index 9986e960..62e6c079 100644 --- a/internal/validation/validation_test.go +++ b/internal/validation/validation_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/log/level.go b/log/level.go index 2a9885d5..b8858289 100644 --- a/log/level.go +++ b/log/level.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/log/log.go b/log/log.go index cd8756d1..145a3f7e 100644 --- a/log/log.go +++ b/log/log.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/log/log_test.go b/log/log_test.go index 4f451501..4bfc95e0 100644 --- a/log/log_test.go +++ b/log/log_test.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/log/logger.go b/log/logger.go index 3e44de0c..ceee6ef6 100644 --- a/log/logger.go +++ b/log/logger.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/testkit/option.go b/testkit/option.go index e3b09f5b..1b563083 100644 --- a/testkit/option.go +++ b/testkit/option.go @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (c) 2022-2024 Tochemey + * Copyright (c) 2022-2024 Arsene Tochemey Gandote * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/testkit/probe.go b/testkit/probe.go index 4649c9ae..a496de6d 100644 --- a/testkit/probe.go +++ b/testkit/probe.go @@ -1,3 +1,27 @@ +/* + * MIT License + * + * Copyright (c) 2022-2024 Arsene Tochemey Gandote + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package testkit import ( diff --git a/testkit/probe_test.go b/testkit/probe_test.go index d663707f..9dc71805 100644 --- a/testkit/probe_test.go +++ b/testkit/probe_test.go @@ -1,3 +1,27 @@ +/* + * MIT License + * + * Copyright (c) 2022-2024 Arsene Tochemey Gandote + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package testkit import ( diff --git a/testkit/testkit.go b/testkit/testkit.go index f5734da2..3e8a7888 100644 --- a/testkit/testkit.go +++ b/testkit/testkit.go @@ -1,3 +1,27 @@ +/* + * MIT License + * + * Copyright (c) 2022-2024 Arsene Tochemey Gandote + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + package testkit import (