Обновление имени пакета
This commit is contained in:
parent
f93267d71b
commit
f681f149ab
15 changed files with 21 additions and 21 deletions
|
@ -7,9 +7,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
|
|
||||||
"go.neonxp.dev/jsonrpc2/rpc"
|
"go.neonxp.ru/jsonrpc2/rpc"
|
||||||
"go.neonxp.dev/jsonrpc2/rpc/middleware"
|
"go.neonxp.ru/jsonrpc2/rpc/middleware"
|
||||||
"go.neonxp.dev/jsonrpc2/transport"
|
"go.neonxp.ru/jsonrpc2/transport"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module go.neonxp.dev/jsonrpc2
|
module go.neonxp.ru/jsonrpc2
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
@ -25,7 +25,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.neonxp.dev/jsonrpc2/rpc"
|
"go.neonxp.ru/jsonrpc2/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Logger(logger rpc.Logger) rpc.Middleware {
|
func Logger(logger rpc.Logger) rpc.Middleware {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
@ -27,7 +27,7 @@ import (
|
||||||
|
|
||||||
"github.com/qri-io/jsonschema"
|
"github.com/qri-io/jsonschema"
|
||||||
|
|
||||||
"go.neonxp.dev/jsonrpc2/rpc"
|
"go.neonxp.ru/jsonrpc2/rpc"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ServiceSchema map[string]MethodSchema
|
type ServiceSchema map[string]MethodSchema
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
package rpc
|
package rpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"go.neonxp.dev/jsonrpc2/transport"
|
"go.neonxp.ru/jsonrpc2/transport"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Option func(s *RpcServer)
|
type Option func(s *RpcServer)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
@ -28,7 +28,7 @@ import (
|
||||||
|
|
||||||
"golang.org/x/sync/errgroup"
|
"golang.org/x/sync/errgroup"
|
||||||
|
|
||||||
"go.neonxp.dev/jsonrpc2/transport"
|
"go.neonxp.ru/jsonrpc2/transport"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "2.0"
|
const version = "2.0"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Alexander Kiryukhin <i@neonxp.dev>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
//
|
//
|
||||||
//Copyright (C) 2022 Max Nikitenko <moaddib666@gmail.com>
|
//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
|
//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
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
|
Loading…
Reference in a new issue