server

package
v0.0.0-...-97b9ebb Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: MIT Imports: 29 Imported by: 0

Documentation

Overview

Package server provide interface to start and stop server that contains all gRPC service servers that are borrowed from gitaly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAll

func RegisterAll(grpcServer *grpc.Server, logger *logging.Logger)

RegisterAll registers all Gitaly service servers

Types

type Server

type Server interface {
	Start(context.Context) error
}

Server is a degitx front-end gRPC Server interface

func NewGrpcServer

func NewGrpcServer(maddr ma.Multiaddr) (Server, error)

NewGrpcServer for Gitaly gRPC

Jump to

Keyboard shortcuts

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