grpc_server

package
v0.0.0-...-e3d380c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcHelloService

type GrpcHelloService struct {
	Listener net.Listener
	Network  string
	Address  string
}

func (*GrpcHelloService) CheckState

func (s *GrpcHelloService) CheckState() (int, string, string)

type Server

type Server struct{}

Server - Used to implement helloworld.GreeterServer

func (*Server) SayHello

func (s *Server) SayHello(ctx context.Context, in *domain.HelloRequest) (*domain.HelloResponse, error)

SayHello - Implement service HelloService helloworld.GreeterServer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL