Documentation ¶
Index ¶
- type VoipClient
- func (v *VoipClient) AddClient(host string, shares int, server string) (string, error)
- func (v *VoipClient) AddServer(host string, shares int) (string, error)
- func (v *VoipClient) AddSnort(host string, shares int) (string, error)
- func (v *VoipClient) Close()
- func (v *VoipClient) Route(client, router, server string) error
- func (v *VoipClient) SetRate(client string, rate int) error
- func (v *VoipClient) Stop(cont string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VoipClient ¶
type VoipClient struct {
// contains filtered or unexported fields
}
func NewVoipClient ¶
func NewVoipClient(cfile string) (*VoipClient, error)
func (*VoipClient) AddServer ¶
func (v *VoipClient) AddServer(host string, shares int) (string, error)
func (*VoipClient) AddSnort ¶
func (v *VoipClient) AddSnort(host string, shares int) (string, error)
func (*VoipClient) Close ¶
func (v *VoipClient) Close()
func (*VoipClient) Route ¶
func (v *VoipClient) Route(client, router, server string) error
func (*VoipClient) Stop ¶
func (v *VoipClient) Stop(cont string) error
Click to show internal directories.
Click to hide internal directories.