module

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type BinderFunc added in v1.0.0

type BinderFunc func(*zap.Logger) ([]LifecycleHook, error)

type LifecycleHook added in v1.0.0

type LifecycleHook = func(lc fx.Lifecycle)

type ServiceBinder added in v1.0.0

type ServiceBinder struct {
	fx.In
	mfx.AppParams // app settings params

	sfx.SettingsParams         // server settings
	sfx.SecuritySettingsParams // server security settings

	sfx.ConnectionMuxParams  // connection mux params
	sfx.GrpcServiceParams    //all grpc service injected (grpc)
	sfx.ZinxServiceParams    // all zinx service injected (tcp/udp/websocket)
	sfx.GatewayServiceParams // all gateway service injected (http)
	sfx.AuthServiceParams    // grpc rpc auth middleware injected
	sfx.OTelProviderParams   // opentelemetry provider injected
}

func (*ServiceBinder) Execute added in v1.0.0

func (sb *ServiceBinder) Execute(l *zap.Logger, lc fx.Lifecycle) error

Jump to

Keyboard shortcuts

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