// Set adds fd to the set fds. func (fds *FdSet) Set(fd int) { … } // Clear removes fd from the set fds. func (fds *FdSet) Clear(fd int) { … } // IsSet returns whether fd is in the set fds. func (fds *FdSet) IsSet(fd int) bool { … } // Zero clears the set fds. func (fds *FdSet) Zero() { … }