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