package utils
import "github.com/TLop503/LogCrunch/agent/utils"
Index
Functions
func GetHostName
func GetHostName() string
GetHostName is a wrapper to handle the error-case of os.Hostname
func TransmitJson
func TransmitJson(conn net.Conn, logChan <-chan structs.Log)
TransmitJson encodes json over a connection, reading inputs from a channel