예제 #1
0
파일: command_quit.go 프로젝트: mezzato/gmq
// quit quits this process.
func quit(cli *client.Client) {
	// Disconnect the Network Connection.
	cli.Disconnect()

	// Terminate the Client.
	cli.Terminate()

	// Exit.
	exit(0)
}