You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
419 B
Go
27 lines
419 B
Go
package iperf
|
|
|
|
type Controller struct {
|
|
clients map[string]*Client
|
|
servers map[string]*Server
|
|
}
|
|
|
|
func (c *Controller) StartListener() (err error) {
|
|
|
|
}
|
|
|
|
func (c *Controller) StopListener() (err error) {
|
|
|
|
}
|
|
|
|
func (c *Controller) StopServer(id string) (err error) {
|
|
|
|
}
|
|
|
|
func (c *Controller) NewServer() (server *Server, err error) {
|
|
|
|
}
|
|
|
|
func (c *Controller) NewClient(serverAddr string) (client *Client, err error) {
|
|
|
|
}
|