Skip to content

Commit

Permalink
Add some constants
Browse files Browse the repository at this point in the history
  • Loading branch information
asaif committed Jun 12, 2016
1 parent 83719d5 commit f148885
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions libshabik/constant.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package libshabik

import "time"

const (
LOGFILE = "/var/log/shabik.log" //Log File
QUEUEPREFIX = "dhcp-"
URI = "amqp://dhcp:cOXzRPt98eBN08SyH4sGmeoqnKGA@nodes.sadeem.io:5672/%2Fcloud" // Rabbit url
NODEKEY = "/usr/lib/cloudnode/license" //License key
CTAG = "shabik" //Rabbit consumer tag
EXCHANGE = "hub-port"
EXCHANGETYPE = "direct"
DBPATH = "/var/lib/shabik.db"
BUCKET = "leases"
LEASETIME = time.Duration(604800) * time.Second //lease valid for one Week
)

0 comments on commit f148885

Please sign in to comment.