pinger

package
v0.0.0-...-808d7f4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Set is a Wire provider set that produces a *Server.

Functions

This section is empty.

Types

type Server

type Server struct {
}

Server implements the gRPC Pinger service.

func NewServer

func NewServer() *Server

NewServer creates a new Pinger server.

func (*Server) Ping

func (s *Server) Ping(ctx context.Context, req *proto.PingRequest) (*proto.PingResponse, error)

Ping returns a message.

func (*Server) Register

func (s *Server) Register(gs *grpc.Server)

Register implements rpc.ServiceImpl.

Jump to

Keyboard shortcuts

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