コード例 #1
0
ファイル: addservice.pb.go プロジェクト: pguelpa/go-rpcgen
func (this rpcAddServiceWebClient) Add(in *AddMessage, out *SumMessage) error {
	return webrpc.Post(this.protocol, this.remote, "/AddService/Add", in, out)
}
コード例 #2
0
ファイル: whoami.ae.go プロジェクト: pguelpa/go-rpcgen
func (this rpcWhoamiServiceWebClient) Whoami(in *Empty, out *YouAre) error {
	return webrpc.Post(this.protocol, this.remote, "/WhoamiService/Whoami", in, out)
}
コード例 #3
0
ファイル: offload.pb.go プロジェクト: pguelpa/go-rpcgen
func (this rpcOffloadServiceWebClient) Compute(in *DataSet, out *ResultSet) error {
	return webrpc.Post(this.protocol, this.remote, "/OffloadService/Compute", in, out)
}
コード例 #4
0
ファイル: echoservice.pb.go プロジェクト: pguelpa/go-rpcgen
func (this rpcEchoServiceWebClient) Echo(in *Payload, out *Payload) error {
	return webrpc.Post(this.protocol, this.remote, "/EchoService/Echo", in, out)
}
コード例 #5
0
ファイル: service.pb.go プロジェクト: pguelpa/go-rpcgen
func (this rpcConcatServiceWebClient) Concat(in *Args, out *Return) error {
	return webrpc.Post(this.protocol, this.remote, "/ConcatService/Concat", in, out)
}