Commit aa1e3ca7 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5dd6dd57
...@@ -60,6 +60,7 @@ type NEOPyOptions struct { ...@@ -60,6 +60,7 @@ type NEOPyOptions struct {
} }
// StartNEOPySrv starts NEO/py server for NEO database located in workdir/. // StartNEOPySrv starts NEO/py server for NEO database located in workdir/.
// XXX dup wrt zeo?
func StartNEOPySrv(workdir string, opt NEOPyOptions) (_ *NEOPySrv, err error) { func StartNEOPySrv(workdir string, opt NEOPyOptions) (_ *NEOPySrv, err error) {
defer xerr.Contextf(&err, "startneo %s", workdir) defer xerr.Contextf(&err, "startneo %s", workdir)
...@@ -141,3 +142,6 @@ func (n *NEOPySrv) Close() (err error) { ...@@ -141,3 +142,6 @@ func (n *NEOPySrv) Close() (err error) {
} }
return err return err
} }
// ----------------
...@@ -72,6 +72,7 @@ type ZEOPyOptions struct { ...@@ -72,6 +72,7 @@ type ZEOPyOptions struct {
} }
// StartZEOPySrv starts ZEO/py server for FileStorage database located at fs1path. // StartZEOPySrv starts ZEO/py server for FileStorage database located at fs1path.
// XXX dup wrt neo?
func StartZEOPySrv(fs1path string, opt ZEOPyOptions) (_ *ZEOPySrv, err error) { func StartZEOPySrv(fs1path string, opt ZEOPyOptions) (_ *ZEOPySrv, err error) {
defer xerr.Contextf(&err, "startzeo %s", fs1path) defer xerr.Contextf(&err, "startzeo %s", fs1path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment