service

package
v0.0.0-...-a2aa5d8 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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)

Jump to

Keyboard shortcuts

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