Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(conf *config.Config) (v1.PongServiceClient, error)
NewClient New service's client
func NewServer ¶
func NewServer(conf *config.Config, pongClient v1.PongServiceClient) v1.PongServiceServer
NewServer New service grpc server
Types ¶
type Server ¶
type Server struct { v1.UnimplementedPongServiceServer // contains filtered or unexported fields }
Server Server struct
func (*Server) Pong ¶
func (s *Server) Pong(ctx context.Context, req *v1.PongRequest) (*v1.PongResponse, error)
Click to show internal directories.
Click to hide internal directories.