v1

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCServer

type GRPCServer struct {
	sirenv1.UnimplementedSirenServiceServer
	// contains filtered or unexported fields
}

func NewGRPCServer

func NewGRPCServer(
	logger log.Logger,
	headers api.HeadersConfig,
	apiDeps *api.Deps,
	opts ...GRPCServerOption) *GRPCServer

type GRPCServerOption

type GRPCServerOption func(*GRPCServer)

GRPCServerOption provides ability to configure the grpc initialization

func WithDebugRequest

func WithDebugRequest(debugRequest bool) GRPCServerOption

func WithGlobalSubscription

func WithGlobalSubscription(useGlobalSubscription bool) GRPCServerOption

Jump to

Keyboard shortcuts

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