package
1.1.5
Repository: https://github.com/soedev/soego.git
Documentation: pkg.go.dev

# Functions

DefaultConfig represents default config User should construct config base on DefaultConfig.
DefaultContainer returns an default container.
Load parses container configuration from configuration provider, such as a toml file, then use the configuration to construct a component container.
WithLogger inject logger.
WithNetwork inject network.
WithServerOption inject server option to grpc server User should not inject interceptor option, which is recommend by WithStreamInterceptor and WithUnaryInterceptor.
WithStreamInterceptor inject stream interceptors to server option.
WithUnaryInterceptor inject unary interceptors to server option.

# Constants

PackageName 包名.

# Structs

Component ...
Config ...
Container defines a component instance.

# Type aliases

Option overrides a Container's default configuration.