From f681f149ab1fb054cb4d4c8c712aa90678140d4c Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Sun, 28 Apr 2024 00:18:38 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=B8=D0=BC=D0=B5=D0=BD=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=B0=D0=BA=D0=B5=D1=82=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/main.go | 6 +++--- go.mod | 2 +- rpc/contract.go | 2 +- rpc/errors.go | 2 +- rpc/logger.go | 2 +- rpc/middleware.go | 2 +- rpc/middleware/logger.go | 4 ++-- rpc/middleware/validation.go | 4 ++-- rpc/options.go | 4 ++-- rpc/server.go | 4 ++-- rpc/wrapper.go | 2 +- transport/http.go | 2 +- transport/tcp.go | 2 +- transport/transport.go | 2 +- transport/unix.go | 2 +- 15 files changed, 21 insertions(+), 21 deletions(-) diff --git a/example/main.go b/example/main.go index 1c9fa41..cd1bbec 100644 --- a/example/main.go +++ b/example/main.go @@ -7,9 +7,9 @@ import ( "os" "os/signal" - "go.neonxp.dev/jsonrpc2/rpc" - "go.neonxp.dev/jsonrpc2/rpc/middleware" - "go.neonxp.dev/jsonrpc2/transport" + "go.neonxp.ru/jsonrpc2/rpc" + "go.neonxp.ru/jsonrpc2/rpc/middleware" + "go.neonxp.ru/jsonrpc2/transport" ) func main() { diff --git a/go.mod b/go.mod index 468a16f..4f8debc 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.neonxp.dev/jsonrpc2 +module go.neonxp.ru/jsonrpc2 go 1.18 diff --git a/rpc/contract.go b/rpc/contract.go index aa1f194..28bd911 100644 --- a/rpc/contract.go +++ b/rpc/contract.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/rpc/errors.go b/rpc/errors.go index f6d2f49..e6d7be0 100644 --- a/rpc/errors.go +++ b/rpc/errors.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/rpc/logger.go b/rpc/logger.go index b38e990..1d32f38 100644 --- a/rpc/logger.go +++ b/rpc/logger.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/rpc/middleware.go b/rpc/middleware.go index 3887109..b348de8 100644 --- a/rpc/middleware.go +++ b/rpc/middleware.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/rpc/middleware/logger.go b/rpc/middleware/logger.go index 507b570..825e002 100644 --- a/rpc/middleware/logger.go +++ b/rpc/middleware/logger.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by @@ -25,7 +25,7 @@ import ( "fmt" "time" - "go.neonxp.dev/jsonrpc2/rpc" + "go.neonxp.ru/jsonrpc2/rpc" ) func Logger(logger rpc.Logger) rpc.Middleware { diff --git a/rpc/middleware/validation.go b/rpc/middleware/validation.go index 80b4cfd..efa6096 100644 --- a/rpc/middleware/validation.go +++ b/rpc/middleware/validation.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ import ( "github.com/qri-io/jsonschema" - "go.neonxp.dev/jsonrpc2/rpc" + "go.neonxp.ru/jsonrpc2/rpc" ) type ServiceSchema map[string]MethodSchema diff --git a/rpc/options.go b/rpc/options.go index 683df66..aee96bc 100644 --- a/rpc/options.go +++ b/rpc/options.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by @@ -20,7 +20,7 @@ package rpc import ( - "go.neonxp.dev/jsonrpc2/transport" + "go.neonxp.ru/jsonrpc2/transport" ) type Option func(s *RpcServer) diff --git a/rpc/server.go b/rpc/server.go index 3c9410a..55d2bf3 100644 --- a/rpc/server.go +++ b/rpc/server.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by @@ -28,7 +28,7 @@ import ( "golang.org/x/sync/errgroup" - "go.neonxp.dev/jsonrpc2/transport" + "go.neonxp.ru/jsonrpc2/transport" ) const version = "2.0" diff --git a/rpc/wrapper.go b/rpc/wrapper.go index f16833f..cb3d655 100644 --- a/rpc/wrapper.go +++ b/rpc/wrapper.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/transport/http.go b/transport/http.go index bb2321b..fb27a61 100644 --- a/transport/http.go +++ b/transport/http.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/transport/tcp.go b/transport/tcp.go index e8bbabe..cb1abca 100644 --- a/transport/tcp.go +++ b/transport/tcp.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/transport/transport.go b/transport/transport.go index ff9c1ba..e8886a4 100644 --- a/transport/transport.go +++ b/transport/transport.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Alexander Kiryukhin // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by diff --git a/transport/unix.go b/transport/unix.go index f477d42..496c2f6 100644 --- a/transport/unix.go +++ b/transport/unix.go @@ -2,7 +2,7 @@ // //Copyright (C) 2022 Max Nikitenko // -//This file is part of go.neonxp.dev/jsonrpc2 project. +//This file is part of go.neonxp.ru/jsonrpc2 project. // //This program is free software: you can redistribute it and/or modify //it under the terms of the GNU General Public License as published by