Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Merge requests
!122
Resolve "Data Race HTTP API"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Data Race HTTP API"
87-data-race-http-api
into
develop
Overview
0
Commits
1
Pipelines
5
Changes
2
Merged
Ghost User
requested to merge
87-data-race-http-api
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
5
Changes
2
Expand
Closes
#87 (closed)
Edited
4 years ago
by
Ghost User
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
b636a139
1 commit,
4 years ago
2 files
+
3
−
22
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
nucleus/controller.go
+
1
−
12
Options
@@ -47,19 +47,8 @@ func initialize() error {
@@ -47,19 +47,8 @@ func initialize() error {
}
}
// TODO: Start grpc listener here
// TODO: Start grpc listener here
if
err
:=
httpAPI
();
err
!=
nil
{
return
err
}
attachDatabase
()
return
nil
}
// deprecated
return
httpAPI
()
// attachDatabase connects to the database and passes the connection to the controller core
func
attachDatabase
()
{
c
.
database
=
database
.
NewDatabaseClient
()
}
}
// createSouthboundInterfaces initializes the controller with its supported SBIs
// createSouthboundInterfaces initializes the controller with its supported SBIs
Loading