feat(plugins): package database, cache, logger, and storage as infra plugins

This commit is contained in:
ryan
2026-08-27 23:51:10 +08:00
parent 4efc2c92b7
commit a25bf7a4f9
21 changed files with 1285 additions and 19 deletions
+3
View File
@@ -1,3 +1,4 @@
// Package driver_http provides the Gin HTTP web server driver plugin for Cordis.
package driver_http
import (
@@ -172,6 +173,8 @@ func (p *Plugin) Start(ctx context.Context) error {
}
// Stop gracefully stops the HTTP server.
//
//nolint:contextcheck
func (p *Plugin) Stop(ctx context.Context) error {
p.mu.Lock()
defer p.mu.Unlock()