gprcserver

package
v0.0.0-...-2db41fb Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package gprcserver contains the implementation of the server via gRPC

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCServer

type GRPCServer struct {
	Conf *config.Config
}

GRPCServer server structure. Implements the Server interface

func (*GRPCServer) Run

func (s *GRPCServer) Run() error

Run blocking function for server startup. After startup, it waits for os.Interrupt, syscall.SIGINT, syscall.SIGTERM The function is very similar to RunServer from the http implementation, but here is a different variant of graceful shutdown.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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