grpcpingpong

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 5 Imported by: 0

README

grpc-pingpong Go

Generic "full-duplex" grpc based client/server.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcConfig

type GrpcConfig struct {
	LISTEN_NETWORK string
	LISTEN_ADDRESS string
}

type Runner

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

Runner functionality : Init,Run and Stop grpc server

func (*Runner) Init

func (r *Runner) Init(cfact sputnik.ConfFactory) error

Prepares listener and creates grpc server

func (*Runner) Run

func (r *Runner) Run() (stop func(), err error)

Starts grpc server, returns stop server function for further usage during process finish

Directories

Path Synopsis
internal
cmd command

Jump to

Keyboard shortcuts

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