mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 08:48:32 +02:00
feature: accesslogger
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package types
|
||||
|
||||
import "github.com/yusing/go-proxy/internal/net/http/accesslog"
|
||||
|
||||
type (
|
||||
Config struct {
|
||||
AutoCert AutoCertConfig `json:"autocert" yaml:",flow"`
|
||||
@@ -15,7 +17,8 @@ type (
|
||||
Notification []NotificationConfig `json:"notification" yaml:"notification"`
|
||||
}
|
||||
Entrypoint struct {
|
||||
Middlewares []map[string]any `json:"middlewares" yaml:"middlewares"`
|
||||
Middlewares []map[string]any `json:"middlewares" yaml:"middlewares"`
|
||||
AccessLog *accesslog.Config `json:"access_log" yaml:"access_log"`
|
||||
}
|
||||
NotificationConfig map[string]any
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user