fxgrpc

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewFXGrpcServer

func NewFXGrpcServer(serverDefinition FxGrpcServerDefinition) fxapp.FxApp

Types

type FxGrpcServer

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

func (FxGrpcServer) StartApp

func (me FxGrpcServer) StartApp(ctx context.Context, p fxapp.Params) error

func (FxGrpcServer) StopApp

func (me FxGrpcServer) StopApp(ctx context.Context, p fxapp.Params) error

type FxGrpcServerDefinition

type FxGrpcServerDefinition interface {
	RegisterService(grpcServer *grpc.Server)
	GetUnaryServerInterceptors() []grpc.UnaryServerInterceptor
	GetStreamServerInterceptors() []grpc.StreamServerInterceptor
}

Jump to

Keyboard shortcuts

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