Documentation ¶
Index ¶
- func AppGrpcServiceLoader(server *grpc.Server, reg *registry.AppRegistry) error
- func DependencyRegistryLoader(ctx context.Context, reg *registry.AppRegistry, ...) error
- func LoadRegistry(ctx context.Context, cfg *appconfig.AppConfig, ...) *registry.AppRegistry
- func LoadRouter(route chi.Router)
- func ProviderRegistryLoader(reg *registry.AppRegistry) error
- func RepositoryRegistryLoader(reg *registry.AppRegistry) error
- func ServiceRegistryLoader(reg *registry.AppRegistry) error
- func Shutdown(service string, reg *registry.AppRegistry, fns ...func())
- func Startup(service string, reg *registry.AppRegistry, fns ...func()) error
- type DependencyRegistryLoaderParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppGrpcServiceLoader ¶
func AppGrpcServiceLoader(server *grpc.Server, reg *registry.AppRegistry) error
func DependencyRegistryLoader ¶
func DependencyRegistryLoader(ctx context.Context, reg *registry.AppRegistry, param DependencyRegistryLoaderParams) error
func LoadRegistry ¶
func LoadRegistry(ctx context.Context, cfg *appconfig.AppConfig, param DependencyRegistryLoaderParams) *registry.AppRegistry
func LoadRouter ¶
func LoadRouter(route chi.Router)
func ProviderRegistryLoader ¶
func ProviderRegistryLoader(reg *registry.AppRegistry) error
func RepositoryRegistryLoader ¶
func RepositoryRegistryLoader(reg *registry.AppRegistry) error
func ServiceRegistryLoader ¶
func ServiceRegistryLoader(reg *registry.AppRegistry) error
func Shutdown ¶
func Shutdown(service string, reg *registry.AppRegistry, fns ...func())
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.