Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct { ClientConnections *list.List ServerConnection net.Conn // contains filtered or unexported fields }
func NewController ¶
func NewController() *Controller
func (*Controller) ConnectToServer ¶
func (nc *Controller) ConnectToServer(address, port string)
func (*Controller) SendToClients ¶
func (nc *Controller) SendToClients(info []byte)
func (*Controller) StartReadingFromServer ¶
func (nc *Controller) StartReadingFromServer(infoChanel chan<- []byte)
func (*Controller) StartServer ¶
func (nc *Controller) StartServer(port string)
func (*Controller) StopServer ¶
func (nc *Controller) StopServer()
Click to show internal directories.
Click to hide internal directories.