コード例 #1
0
ファイル: main.go プロジェクト: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoServer
func NewDemo() *DemoServer {
	return (*DemoServer)(rexdemo.NewDemo())
}
コード例 #2
0
ファイル: main.go プロジェクト: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoClient
func NewDemo() *DemoClient {
	return (*DemoClient)(rexdemo.NewDemo())
}