Add gRPC server support with configurable TLS, environment-based settings, and Wire injection. Implement schedule synchronization service with task runner integration for external course data fetching. - Add gRPC configuration with env var overrides (APP_GRPC_ENABLED, APP_GRPC_PORT, etc.) - Create gRPC server infrastructure with runner task management - Implement ScheduleSyncService for course data synchronization - Add sync endpoint to schedule handler for external system integration - Update repository with context-aware batch delete operation - Wire all dependencies including zap logger for structured logging
13 lines
183 B
Go
13 lines
183 B
Go
package wire
|
|
|
|
import "github.com/google/wire"
|
|
|
|
// AllSet 包含所有 Provider Set
|
|
var AllSet = wire.NewSet(
|
|
InfrastructureSet,
|
|
RepositorySet,
|
|
ServiceSet,
|
|
HandlerSet,
|
|
GRPCSet,
|
|
)
|