예제 #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())
}