MCPcopy Index your code
hub / github.com/netdata/netdata / unixServer

Struct unixServer

src/go/plugin/go.d/pkg/socket/server.go:167–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167type unixServer struct {
168 addr string
169 listener *net.UnixListener
170 wg sync.WaitGroup
171 ctx context.Context
172 cancel context.CancelFunc
173}
174
175func (u *unixServer) Run() error {
176 if err := os.Remove(u.addr); err != nil && !os.IsNotExist(err) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected