Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGrpcHealthClient ¶
func NewGrpcHealthClient(conn *grpc.ClientConn) core.Health
NewGrpcHealthClient returns a new grpc Client.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is used to implement gorush grpc server.
func (*Server) Check ¶
func (s *Server) Check(ctx context.Context, in *proto.HealthCheckRequest) (*proto.HealthCheckResponse, error)
Check implements `service Health`.
func (*Server) Send ¶
func (s *Server) Send(ctx context.Context, in *proto.NotificationRequest) (*proto.NotificationReply, error)
Send implements helloworld.GreeterServer
Click to show internal directories.
Click to hide internal directories.