Documentation ¶ Index ¶ func AcceptWithContext(ctx context.Context, l net.Listener) (net.Conn, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AcceptWithContext ¶ func AcceptWithContext(ctx context.Context, l net.Listener) (net.Conn, error) AcceptWithContext accepts a connection or returns an error if the context is done. Note the caller still owns the listener and is responsible for closing it. Types ¶ This section is empty. Source Files ¶ View all Source files sockets.go Click to show internal directories. Click to hide internal directories.