Documentation
¶
Index ¶
- func GetETCDClient() *clientv3.Client
- func GetIPAddress() string
- func Wait()
- type Config
- type HelloService
- func (this *HelloService) Call(ctx context.Context, in *proto.Hello) (*proto.World, error)
- func (this *HelloService) OnClose(sess net4go.Session, err error)
- func (this *HelloService) OnMessage(sess net4go.Session, p net4go.Packet)
- func (this *HelloService) Stream(s proto.HelloWorld_StreamServer) error
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetETCDClient ¶
func GetIPAddress ¶
func GetIPAddress() string
Types ¶
type Config ¶
type Config struct {
config.Configuration
}
type HelloService ¶
type HelloService struct {
proto.UnimplementedHelloWorldServer
}
func (*HelloService) OnMessage ¶
func (this *HelloService) OnMessage(sess net4go.Session, p net4go.Packet)
func (*HelloService) Stream ¶
func (this *HelloService) Stream(s proto.HelloWorld_StreamServer) error
Click to show internal directories.
Click to hide internal directories.