Documentation ¶
Index ¶
- func LoadGrpcService(ctx context.Context, server *grpc.Server, reg *registry.AppRegistry, ...) error
- func LoadRegistry(ctx context.Context, reg *registry.AppRegistry, loaders ...LoaderRegistryFunc) error
- func LoadRouter(router chi.Router, loaders ...LoaderRouter)
- type LoaderGrpcFunc
- type LoaderRegistryFunc
- type LoaderRouter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadGrpcService ¶
func LoadGrpcService(ctx context.Context, server *grpc.Server, reg *registry.AppRegistry, loaders ...LoaderGrpcFunc) error
func LoadRegistry ¶
func LoadRegistry(ctx context.Context, reg *registry.AppRegistry, loaders ...LoaderRegistryFunc) error
func LoadRouter ¶
func LoadRouter(router chi.Router, loaders ...LoaderRouter)
Types ¶
type LoaderGrpcFunc ¶
type LoaderRegistryFunc ¶
type LoaderRegistryFunc interface {
Loader(ctx context.Context, dep *registry.AppRegistry) error
}
type LoaderRouter ¶
type LoaderRouter interface { Loader(router chi.Router) LoaderRouter Route() }
Click to show internal directories.
Click to hide internal directories.