mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-22 08:18:29 +02:00
simplify task package implementation
This commit is contained in:
@@ -54,7 +54,7 @@ func SetMiddlewares(mws []map[string]any) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func SetAccessLogger(parent *task.Task, cfg *accesslog.Config) (err error) {
|
||||
func SetAccessLogger(parent task.Parent, cfg *accesslog.Config) (err error) {
|
||||
epAccessLoggerMu.Lock()
|
||||
defer epAccessLoggerMu.Unlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user