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
Commits
c3a3484f
"README.md" did not exist on "f00af3da1cd6b3f09f5d61a6d8bca438c77b34c6"
Commit
c3a3484f
authored
1 year ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
Update port
parent
dfe20f3b
No related branches found
No related tags found
1 merge request
!490
Resolve "Application that allows to access events through websocket"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/ws-events/app.go
+1
-1
1 addition, 1 deletion
applications/ws-events/app.go
applications/ws-events/ws.go
+1
-1
1 addition, 1 deletion
applications/ws-events/ws.go
with
2 additions
and
2 deletions
applications/ws-events/app.go
+
1
−
1
View file @
c3a3484f
...
@@ -37,7 +37,7 @@ func (a *Application) Run() {
...
@@ -37,7 +37,7 @@ func (a *Application) Run() {
svr
:=
nbhttp
.
NewServer
(
nbhttp
.
Config
{
svr
:=
nbhttp
.
NewServer
(
nbhttp
.
Config
{
Network
:
"tcp"
,
Network
:
"tcp"
,
Addrs
:
[]
string
{
"localhost:
8
0"
},
Addrs
:
[]
string
{
"localhost:
400
0"
},
Handler
:
mux
,
Handler
:
mux
,
})
})
...
...
This diff is collapsed.
Click to expand it.
applications/ws-events/ws.go
+
1
−
1
View file @
c3a3484f
...
@@ -15,7 +15,7 @@ import (
...
@@ -15,7 +15,7 @@ import (
var
(
var
(
clientManager
=
NewClientManager
()
clientManager
=
NewClientManager
()
keepaliveTimer
=
time
.
Second
*
3
0
keepaliveTimer
=
time
.
Second
*
6
0
)
)
type
ClientManager
struct
{
type
ClientManager
struct
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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