Versions in this module Expand all Collapse all v0 v0.1.0 Apr 16, 2015 v0.0.6 Apr 1, 2015 Changes in this version + func GetPortFromEnvironmentVariable(portEnvVariable string) (int, error) + func GetResponseForGaugeMessage(message *gauge_messages.Message, conn net.Conn) (*gauge_messages.Message, error) + func GetResponseForMessageWithTimeout(message *gauge_messages.Message, conn net.Conn, t time.Duration) (*gauge_messages.Message, error) + func Write(conn net.Conn, messageBytes []byte) error + func WriteDataAndGetResponse(conn net.Conn, messageBytes []byte) ([]byte, error) + func WriteGaugeMessage(message *gauge_messages.Message, conn net.Conn) error + type GaugeConnectionHandler struct + func NewGaugeConnectionHandler(port int, messageHandler messageHandler) (*GaugeConnectionHandler, error) + func (connectionHandler *GaugeConnectionHandler) AcceptConnection(connectionTimeOut time.Duration, errChannel chan error) (net.Conn, error) + func (connectionHandler *GaugeConnectionHandler) ConnectionPortNumber() int + func (connectionHandler *GaugeConnectionHandler) HandleMultipleConnections()