/timerdesignpattern

An example of using a channel to create a timer

Primary LanguageGoOtherNOASSERTION

Timer Design Pattern

Copyright 2013 Ardan Studios. All rights reserved.
Use of this source code is governed by a BSD-style license that can be found in the LICENSE handle.

This program provides an sample to learn how to implement a timer routine and graceful shutdown pattern.

Ardan Studios
12973 SW 112 ST, Suite 153
Miami, FL 33186
bill@ardanstudios.com

GoingGo.net Post: http://www.goinggo.net/2013/09/timer-routines-and-graceful-shutdowns.html

-- Get, build and install the code
export GOPATH=$HOME/goinggo
go get github.com/goinggo/timerdesignpattern

-- Run the code
cd $GOPATH/bin
./timerdesignpattern