github.com/Psiphon-Labs/goarista@v0.0.0-20160825065156-d002785f4c67/cmd/octsdb/telnet.go (about) 1 // Copyright (C) 2016 Arista Networks, Inc. 2 // Use of this source code is governed by the Apache License 2.0 3 // that can be found in the COPYING file. 4 5 package main 6 7 type telnetClient struct { 8 addr string 9 } 10 11 func newTelnetClient(addr string) OpenTSDBConn { 12 return &telnetClient{ 13 addr: addr, 14 } 15 } 16 17 func (c *telnetClient) Put(d *DataPoint) error { 18 panic("TODO") 19 }