grpc

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: MIT Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewGRPCServer

func CreateNewGRPCServer() *grpc.Server

CreateNewGRPCServer creates a new gRPC server with logger interceptor.

Types

type ClientInfo added in v0.0.10

type ClientInfo struct {
	Name    string
	Address string
}

ClientInfo represents a gRPC client.

func (*ClientInfo) NewClientConnection added in v0.0.10

func (ci *ClientInfo) NewClientConnection() (*grpc.ClientConn, error)

NewClientConnection creates a new gRPC client connection.

Jump to

Keyboard shortcuts

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