Documentation
¶
Overview ¶
masterとの通信処理パッケージ
Index ¶
Constants ¶
View Source
const MsgEnd = "\n"
送受信メッセージの終端文字
Variables ¶
This section is empty.
Functions ¶
func StartReceive ¶
引数で指定したbind用のアドレスとポート番号portを指定してメッセージの受信待ちを開始する。 受信したメッセージは戻り値のchan stringに順番に挿入されていく。 引数で指定した多重度でチャネルを作成する。
引数:bindAddr バインドアドレス
引数:port Listenポート番号
引数:multi メッセージ受信の多重度
戻り値:メッセージ受信を通知する、受信チャネル
戻り値:エラー情報
Types ¶
Click to show internal directories.
Click to hide internal directories.