grpc

package
v0.0.0-...-97cf3a7 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PingBackend

func PingBackend(ctx context.Context, addr string, cert string) *[]string

PingBackend probes the specificed grpc server

Types

type GreeterServer

type GreeterServer struct{}

GreeterServer is the server API for Greeter service

func (*GreeterServer) SayHello

func (s *GreeterServer) SayHello(ctx context.Context, in *pb.HelloRequest) (*pb.HelloReply, error)

SayHello implements helloworld.GreeterServer

type HealthServer

type HealthServer struct{}

HealthServer is the health check API

func (*HealthServer) Check

Check is used for health checks

func (*HealthServer) Watch

Watch is not implemented

Jump to

Keyboard shortcuts

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