Commit 3d72d674 authored by Mahendra Vishwakarma's avatar Mahendra Vishwakarma
Browse files

merged constants

merged constants
parent 6a7b111d
Branches
Tags
4 merge requests!23Devbranch to Master,!10Filehelper,!9Filehelper,!8Filehelper
Showing with 18 additions and 0 deletions
......@@ -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
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