component

package
v0.0.0-...-84fa978 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LocalSet = wire.NewSet(
		component.NewComponent,
		wire.FieldsOf(new(Option), "Logger",
			"Port", "ServerOption",
			"ProxyPort", "ProxyOption", "ProxyOpenAPIHandler"),
		authentication.ProviderSet,
	)

	RemoteSet = wire.NewSet(
		grpc.NewServer,
		grpcutil.ProviderSet,
	)
	ProviderSet = wire.NewSet(
		LocalSet,
		RemoteSet,
	)
)

Functions

This section is empty.

Types

type Option

type Option struct {
	Logger       *slog.Logger
	Port         grpcutil.ServerPort
	ServerOption []grpc.ServerOption

	ProxyPort           grpcutil.ProxyPort
	ProxyOption         []runtime.ServeMuxOption
	ProxyOpenAPIHandler http.Handler
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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