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
3d72d674
Commit
3d72d674
authored
6 years ago
by
Mahendra Vishwakarma
Browse files
Options
Downloads
Patches
Plain Diff
merged constants
merged constants
parent
6a7b111d
Branches
Branches containing commit
Tags
Tags containing commit
4 merge requests
!23
Devbranch to Master
,
!10
Filehelper
,
!9
Filehelper
,
!8
Filehelper
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
constantmdl/constantmdl.go
+18
-0
constantmdl/constantmdl.go
with
18 additions
and
0 deletions
constantmdl/constantmdl.go
+
18
−
0
View file @
3d72d674
...
...
@@ -4,11 +4,29 @@
// Package constantmdl helps saving constants
package
constantmdl
import
"time"
// ZERO gives 0
const
ZERO
=
0
// MINUS_ONE is constant for -1
const
MINUS_ONE
=
-
1
// STAR gives *
const
STAR
=
"*"
// HTTP CLIENT DEFAULT Setting : START
// MAXIDLECONNS - max idle connections
const
MAXIDLECONNS
=
100
// MAXIDLECONNSPERHOST - max connections per host
const
MAXIDLECONNSPERHOST
=
100
// IDLECONNTIMEOUT - Idle time out
const
IDLECONNTIMEOUT
=
time
.
Second
*
90
// HTTP CLIENT DEFAULT Setting : END
// TASKCOUNT is used as default task count in filepipe
const
TASKCOUNT
=
5
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