aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-04-28 00:18:38 +0300
committerAlexander NeonXP Kiryukhin <i@neonxp.ru>2024-04-28 00:18:38 +0300
commitf681f149ab1fb054cb4d4c8c712aa90678140d4c (patch)
treed7e8c6ad7c083a5d7c0745623160c6935b7578d9
parentf93267d71ba6e905eff8b6d979045a04e164eec1 (diff)
Обновление имени пакета
-rw-r--r--example/main.go6
-rw-r--r--go.mod2
-rw-r--r--rpc/contract.go2
-rw-r--r--rpc/errors.go2
-rw-r--r--rpc/logger.go2
-rw-r--r--rpc/middleware.go2
-rw-r--r--rpc/middleware/logger.go4
-rw-r--r--rpc/middleware/validation.go4
-rw-r--r--rpc/options.go4
-rw-r--r--rpc/server.go4
-rw-r--r--rpc/wrapper.go2
-rw-r--r--transport/http.go2
-rw-r--r--transport/tcp.go2
-rw-r--r--transport/transport.go2
-rw-r--r--transport/unix.go2
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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <i@neonxp.dev>
//
-//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 <moaddib666@gmail.com>
//
-//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