rpc

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 24 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGrpcHealthClient

func NewGrpcHealthClient(conn *grpc.ClientConn) core.Health

NewGrpcHealthClient returns a new grpc Client.

func RunGRPCServer

func RunGRPCServer(ctx context.Context, cfg *config.ConfYaml) error

RunGRPCServer run gorush grpc server

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is used to implement gorush grpc server.

func NewServer

func NewServer(cfg *config.ConfYaml) *Server

NewServer returns a new Server.

func (*Server) Check

Check implements `service Health`.

func (*Server) Send

Send implements helloworld.GreeterServer

Directories

Path Synopsis
example
go/health command
go/send command

Jump to

Keyboard shortcuts

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