MCPcopy
hub / github.com/g3n/engine / Net

Struct Net

util/logger/net.go:12–14  ·  view source on GitHub ↗

Net is a network writer used for logging.

Source from the content-addressed store, hash-verified

10
11// Net is a network writer used for logging.
12type Net struct {
13 conn net.Conn
14}
15
16// NewNet creates and returns a pointer to a new Net object along with any error that occurred.
17func NewNet(network string, address string) (*Net, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected