Exemplo n.º 1
0
Arquivo: main.go Projeto: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoServer
func NewDemo() *DemoServer {
	return (*DemoServer)(rexdemo.NewDemo())
}
Exemplo n.º 2
0
Arquivo: main.go Projeto: bmatsuo/rex
// NewDemo wraps the result of rexdemo.NewDemo() as a DemoClient
func NewDemo() *DemoClient {
	return (*DemoClient)(rexdemo.NewDemo())
}