Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
96ed5401
Commit
96ed5401
authored
Dec 18, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
44f5a726
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
go/neo/client.go
go/neo/client.go
+3
-0
go/zodb/storage/zeo/zeo.go
go/zodb/storage/zeo/zeo.go
+3
-0
go/zodb/zodb.go
go/zodb/zodb.go
+5
-3
No files found.
go/neo/client.go
View file @
96ed5401
...
@@ -508,6 +508,9 @@ func openClientByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (
...
@@ -508,6 +508,9 @@ func openClientByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (
}
}
// XXX handle opt.WatchQ
// XXX handle opt.WatchQ
if
opt
.
WatchQ
!=
nil
{
panic
(
"TODO watchq"
)
}
// XXX check/use other url fields
// XXX check/use other url fields
net
:=
xnet
.
NetPlain
(
"tcp"
)
// TODO + TLS; not only "tcp" ?
net
:=
xnet
.
NetPlain
(
"tcp"
)
// TODO + TLS; not only "tcp" ?
...
...
go/zodb/storage/zeo/zeo.go
View file @
96ed5401
...
@@ -311,6 +311,9 @@ func openByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (_ zodb
...
@@ -311,6 +311,9 @@ func openByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (_ zodb
}
}
// XXX handle opt.WatchQ
// XXX handle opt.WatchQ
if
opt
.
WatchQ
!=
nil
{
panic
(
"TODO watchq"
)
}
zl
,
err
:=
dialZLink
(
ctx
,
net
,
addr
)
// XXX + methodTable
zl
,
err
:=
dialZLink
(
ctx
,
net
,
addr
)
// XXX + methodTable
if
err
!=
nil
{
if
err
!=
nil
{
...
...
go/zodb/zodb.go
View file @
96ed5401
...
@@ -352,8 +352,6 @@ type Prefetcher interface {
...
@@ -352,8 +352,6 @@ type Prefetcher interface {
}
}
// IStorageDriver is the raw interface provided by ZODB storage drivers.
// IStorageDriver is the raw interface provided by ZODB storage drivers.
//
// A storage driver is created by DriverOpener
type
IStorageDriver
interface
{
type
IStorageDriver
interface
{
// URL returns URL of how the storage was opened
// URL returns URL of how the storage was opened
URL
()
string
URL
()
string
...
@@ -368,7 +366,11 @@ type IStorageDriver interface {
...
@@ -368,7 +366,11 @@ type IStorageDriver interface {
Loader
Loader
Iterator
Iterator
/*
// A storage driver also delivers database change events to watchq
// channel, which is passed to it when the driver is created.
/* XXX kill
Watcher
Watcher
// Notifier returns storage driver notifier.
// Notifier returns storage driver notifier.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment