Documentation ¶
Overview ¶
Package server contains types for connecting to/creating the gRPC server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
The Client type is used to communicate with the voip server.
func Dial ¶
Dial the targeted voip server and return a new client instance. Returns an error if the connection fails.
func (*Client) JoinChannel ¶
JoinChannel makes a request to the server to join/move the current client to a different channel. This will start/restart the audio stream,
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
The Server type is responsible for running the gRPC server and registering gRPC services.
Click to show internal directories.
Click to hide internal directories.