Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
corepkgv2
Commits
24524c2d
Commit
24524c2d
authored
1 year ago
by
Praful Nalatwad
Browse files
Options
Downloads
Patches
Plain Diff
commented init function
parent
3233615c
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!270
Core ImmuDB package and TOTP plugin - Implementation
,
!269
Core ImmuDB package and TOTP plugin - Implementation
,
!268
immudb version upgrade
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dalmdl/coreimmudb/coreimmudb_test.go
+13
-13
dalmdl/coreimmudb/coreimmudb_test.go
with
13 additions
and
13 deletions
dalmdl/coreimmudb/coreimmudb_test.go
+
13
−
13
View file @
24524c2d
...
@@ -9,21 +9,21 @@ import (
...
@@ -9,21 +9,21 @@ import (
immudb
"github.com/codenotary/immudb/pkg/client"
immudb
"github.com/codenotary/immudb/pkg/client"
)
)
//
func init() {
func
init
()
{
// Creating and connecting two Immu database connection: ImmuDbHost1,ImmuDbHost4
// Creating and connecting two Immu database connection: ImmuDbHost1,ImmuDbHost4
// err := InitImmuDBConnections([]ImmuHost{{"ImmuDbHost1", "localhost", 3322, "defaultdb", "immudb", "immudb",
"", true, false},
// err := InitImmuDBConnections([]ImmuHost{{"ImmuDbHost1", "localhost", 3322, "defaultdb", "immudb", "immudb","", true, false},
// {"ImmuDbHost4", "localhost", 3322, "defaultdb", "immudb", "immudb", "",
false, false}})
// {"ImmuDbHost4", "localhost", 3322, "defaultdb", "immudb", "immudb", "",false, false}})
// if err != nil {
// if err != nil {
// panic(err)
// panic(err)
// }
// }
// Establishing ImmuDB connection using dbconfig.json file
// Establishing ImmuDB connection using dbconfig.json file
// err = InitUsingJson("./dbconfig.json")
// err
:
= InitUsingJson("./dbconfig.json")
// if err != nil {
// if err != nil {
// panic(err)
// panic(err)
// }
// }
//
}
}
func
TestInitUsingJson
(
t
*
testing
.
T
)
{
func
TestInitUsingJson
(
t
*
testing
.
T
)
{
type
args
struct
{
type
args
struct
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets