gorpc

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: MIT Imports: 11 Imported by: 0

README

gorpc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGRPCServer

func GetGRPCServer() *grpc.Server

func NewTest

func NewTest(server *grpc.Server) (clientConn *grpc.ClientConn, closer func())

func Shutdown

func Shutdown() error

func Start

func Start() error

Types

type Config

type Config struct {
	Port int `env:"GORPC_PORT, default=4000"`
}

type Server

type Server struct {
	GRPC *grpc.Server
}

Jump to

Keyboard shortcuts

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