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
}
Click to show internal directories.
Click to hide internal directories.