initial commit
This commit is contained in:
parent
a677da4337
commit
9736631cbb
|
@ -1,8 +1,9 @@
|
||||||
package srpc
|
package srpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"olznet.de/slog"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"gitea.olznet.de/OlzNet/slog"
|
||||||
)
|
)
|
||||||
|
|
||||||
type LogErrorFunc func(format string, args ...interface{})
|
type LogErrorFunc func(format string, args ...interface{})
|
||||||
|
|
|
@ -2,7 +2,8 @@ package srpc
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
"olznet.de/ssob"
|
|
||||||
|
"gitea.olznet.de/OlzNet/ssob"
|
||||||
)
|
)
|
||||||
|
|
||||||
type IEncoder interface {
|
type IEncoder interface {
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
module gitea.olznet.de/OlzNet/srpc
|
||||||
|
|
||||||
|
go 1.16
|
||||||
|
|
||||||
|
require (
|
||||||
|
gitea.olznet.de/OlzNet/slog v1.2.4
|
||||||
|
gitea.olznet.de/OlzNet/ssob v1.0.0
|
||||||
|
)
|
|
@ -0,0 +1,4 @@
|
||||||
|
gitea.olznet.de/OlzNet/slog v1.2.4 h1:22/+57/2J7EnFQAwT6xRENgvPeI2RwSmOWuXwkujpf4=
|
||||||
|
gitea.olznet.de/OlzNet/slog v1.2.4/go.mod h1:xHB0ZnXIXFdnISKpWvDnrBSl4dGB3rzQji36n2sbJXg=
|
||||||
|
gitea.olznet.de/OlzNet/ssob v1.0.0 h1:IEKaiXdzEsWmuy0SsWXf0LVmQbbbkX2DnEGdnbW/mMY=
|
||||||
|
gitea.olznet.de/OlzNet/ssob v1.0.0/go.mod h1:QgB9baLoAJVgFpuD0QECi7WZ9uRfWPeunKU2tMZDvDQ=
|
3
rpc.go
3
rpc.go
|
@ -3,9 +3,10 @@ package srpc
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
"olznet.de/slog"
|
|
||||||
"reflect"
|
"reflect"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
|
"gitea.olznet.de/OlzNet/slog"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RPCStatus uint8
|
type RPCStatus uint8
|
||||||
|
|
Loading…
Reference in New Issue