Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
func NewServer ¶
func NewServer() *Server
NewServer creates a new mock irc server that implements io.ReadWriteCloser. Don't forget to close.
func (*Server) WriteMessage ¶
func (s *Server) WriteMessage(m encoding.TextMarshaler)
WriteMessage sends messages from the server to the client
func (*Server) WriteString ¶
WriteString sends messages to the client.
Click to show internal directories.
Click to hide internal directories.