Documentation ¶
Index ¶
- func IsErrorServiceAlreadyStarted(err error) bool
- func IsErrorServiceNotInitialized(err error) bool
- func IsErrorServiceNotReady(err error) bool
- func IsErrorServiceNotStarted(err error) bool
- func IsErrorServiceStartFailed(err error) bool
- func IsErrorServiceStopFailed(err error) bool
- type BandwidthStartRequest
- type Client
- func (c *Client) AllServicesStatus() ([]ServiceStatus, error)
- func (c *Client) BandwidthStart(req BandwidthStartRequest) error
- func (c *Client) BandwidthStatus() (*MetaMessage, error)
- func (c *Client) BandwidthStop() error
- func (c *Client) LatencyStart(req LatencyStartRequest) error
- func (c *Client) LatencyStatus() (*MetaMessage, error)
- func (c *Client) LatencyStop() error
- func (c *Client) PacketlossStart(req PacketLossStartRequest) error
- func (c *Client) PacketlossStatus() (*MetaMessage, error)
- func (c *Client) PacketlossStop() error
- type Error
- type LatencyStartRequest
- type MetaMessage
- type PacketLossStartRequest
- type ServiceStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrorServiceNotReady ¶
Types ¶
type BandwidthStartRequest ¶
type BandwidthStartRequest = api.BandwidthStartRequest
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) AllServicesStatus ¶
func (c *Client) AllServicesStatus() ([]ServiceStatus, error)
func (*Client) BandwidthStart ¶
func (c *Client) BandwidthStart(req BandwidthStartRequest) error
func (*Client) BandwidthStatus ¶
func (c *Client) BandwidthStatus() (*MetaMessage, error)
func (*Client) BandwidthStop ¶
func (*Client) LatencyStart ¶
func (c *Client) LatencyStart(req LatencyStartRequest) error
func (*Client) LatencyStatus ¶
func (c *Client) LatencyStatus() (*MetaMessage, error)
func (*Client) LatencyStop ¶
func (*Client) PacketlossStart ¶
func (c *Client) PacketlossStart(req PacketLossStartRequest) error
func (*Client) PacketlossStatus ¶
func (c *Client) PacketlossStatus() (*MetaMessage, error)
func (*Client) PacketlossStop ¶
type Error ¶
type Error struct {
Message MetaMessage
}
type LatencyStartRequest ¶
type LatencyStartRequest = api.LatencyStartRequest
type MetaMessage ¶
type MetaMessage = api.MetaMessage
type PacketLossStartRequest ¶
type PacketLossStartRequest = api.PacketLossStartRequest
type ServiceStatus ¶
type ServiceStatus = api.ServiceStatus
Click to show internal directories.
Click to hide internal directories.