[go-nuts] How to close all existing connections on http server

2017-01-03 Thread laxman . vallandas
Is there any way to close all the existing connections on http server?? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com.

[go-nuts] How to initiate http close connection from server

2017-01-03 Thread laxman . vallandas
I have a scenario where server need to close the http connection with client upon receiving an internal event(eventIsSet is false). When the eventIsSet is true, I want to reopen the connection and start listening on same port. Here is the snippet of code that I was trying server := &ht

[go-nuts] gocql db creation at Application

2016-10-20 Thread laxman . vallandas
Hi All, Triggering creation/alteration of db schema from two applications at same point of time is causing below error: java.lang.RuntimeException: java.util.concurrent.ExecutionException: org.apache.cassandra.exceptions.ConfigurationException: Column family ID mismatch (found cba88010-9695-11e

[go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-30 Thread laxman . vallandas
Point 1: Also can use "US/Eastern" for EST and "US/Pacific" for PST Instead of my previous statement "I would like to give input as EST and map to America/New_York for LoadLocation, and get the output. Similarly for other timezones which has Daylight Savings". When used US/Eastern, difference wi

[go-nuts] Re: TimeZone Query: Time Difference between EST and UTC

2016-09-30 Thread laxman . vallandas
Thanks for the suggestions. Yes during specific set of months, EST is considered as EDT due to daylight saving. During EDT the difference is 4 hours and during EST the difference is 5 hours. Using America/New_York instead of EST, gives the expected result as 4 hours. I would like to give input

[go-nuts] TimeZone Query: Time Difference between EST and UTC

2016-09-29 Thread laxman . vallandas
Hi, Google shows difference between EST and UTC as 4 hours whereas go logic gives 5 hours difference in time. https://play.golang.org/p/zHc9hM15iH Is there any issue in my logic?? Thanks LV -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To