github.com/erikdubbelboer/dcounter/server/change


License
MIT
Install
go get github.com/erikdubbelboer/dcounter/server/change

Documentation

dcounter has been DEPRECATED in favor of https://github.com/ErikDubbelboer/discnt

dcounter

Build Status

api GoDoc

pool GoDoc

server GoDoc

Installation

$ go get github.com/atomx/dcounter

API usage

package main

import (
  "fmt"
  "github.com/atomx/dcounter/api"
)

func main() {
  d, err := dcounter.Dial("tcp", "127.0.0.1:9374")
  if err != nil {
    panic(err)
  }

  d.Inc("test", 1.2)
  fmt.Println(d.Get("test"))
}