xgrpc

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(host string) (grpc.ClientConnInterface, error)

func MustConnect

func MustConnect(host string) grpc.ClientConnInterface

Types

type Server

type Server struct {
	*grpc.Server
}

func New

func New(configs ...ServerConfigBuilder) *Server

New provides a new gRPC server

func (*Server) Start

func (s *Server) Start(address string) error

Start the gRPC server

type ServerConfig

type ServerConfig struct{}

type ServerConfigBuilder

type ServerConfigBuilder func(*ServerConfig)

Jump to

Keyboard shortcuts

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