remote

package
v0.9.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2015 License: GPL-2.0 Imports: 8 Imported by: 1

Documentation

Overview

servantとの通信処理パッケージ

Index

Constants

View Source
const MsgEnd = "\n"

送受信メッセージの終端文字

Variables

This section is empty.

Functions

func SendRequest

func SendRequest(host string, port int, req string, stCh chan<- string) (string, error)

ホスト名がhost、ポート番号がportのservantへ接続し、ジョブ実行要求を送信する。 servantから返信されたジョブ実行結果を関数外へ返す。

param : host ホスト名。

param : port ポート番号。

param : req リクエストメッセージ。

return : 返信メッセージ。

return : エラー情報。

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL