forked from cerc-io/ipld-eth-server
293dd2e848
* Add vendor dir so builds dont require dep * Pin specific version go-eth version
17 lines
331 B
Go
17 lines
331 B
Go
// Copyright (c) 2016 Arista Networks, Inc.
|
|
// Use of this source code is governed by the Apache License 2.0
|
|
// that can be found in the COPYING file.
|
|
|
|
package main
|
|
|
|
type textDumper struct{}
|
|
|
|
func newTextDumper() OpenTSDBConn {
|
|
return textDumper{}
|
|
}
|
|
|
|
func (t textDumper) Put(d *DataPoint) error {
|
|
print(d.String())
|
|
return nil
|
|
}
|