[go-nuts] RedisDB (Redis server version 2.2.12) Unable to get Cluster Info

2017-08-27 Thread vijaykumar . giri
package main import ( "fmt" "github.com/go-redis/redis" ) func main() { client := redis.NewClient(&redis.Options{ Addr: "localhost:6379", Password: "", // no password set DB: 0, // use default DB }) info := client.ClusterInfo

[go-nuts] DISKIO and TCP Connection Stat IN MAC OS X

2017-01-18 Thread vijaykumar . giri
Hi, I am trying to get DiskIO - Using Psutil pkg https://godoc.org/github.com/shirou/gopsutil/disk#IOCounters IOCounters() IN Linux able to get But Not IN MAC OS X In Python Using Sigar Pkg sobj = sigar.open() tcp_stats = sobj.tcp() tcp_stats.activ

[go-nuts] failed ,creating static binary in 32bit ubuntu

2016-07-21 Thread vijaykumar . giri
hello guys i am compiling in 32bit ubuntu 12.04LTS GO Vesrion 1.6.2 (32bit) openssl version OpenSSL 1.0.1 14 Mar 2012 i have required library also /lib/i386-linux-gnu/libcrypto.so.1.0.0 /usr/lib/i386-linux-gnu/libcrypto.a /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/pkgconfig/

[go-nuts] Sqlite linking error in windows

2016-07-05 Thread vijaykumar . giri
Hello guys, I am using github.com/xeodou/go-sqlcipher pkg But it is not compiling in windows any one have any idea How do i link to -lcrypto C:\Users\vijay\Desktop>go get github.com/xeodou/go-sqlcipher # github.com/xeodou/go-sqlcipher C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../.