// Package netd provides useful primitives for building network daemons.
package netd

import "net"

// Backend handles incoming connections.
type Backend interface {
	Handle(net.Conn)
}

// Server handles multiple incoming connections using the specified Backend.
type Server interface {
	Serve(Backend)
}

// Package netd provides useful shorthands for building network daemons.
package netd

--- 
+++ 
@@ -1,2 +1,14 @@
-// Package netd provides useful shorthands for building network daemons.
+// Package netd provides useful primitives for building network daemons.
 package netd
+
+import "net"
+
+// Backend handles incoming connections.
+type Backend interface {
+	Handle(net.Conn)
+}
+
+// Server handles multiple incoming connections using the specified Backend.
+type Server interface {
+	Serve(Backend)
+}
Add basic primitives for building network daemons
