mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-12-10 09:43:02 +08:00
实现基本的访问日志策略
This commit is contained in:
10
pkg/serverconfigs/access_log_storage_command.go
Normal file
10
pkg/serverconfigs/access_log_storage_command.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package serverconfigs
|
||||
|
||||
// AccessLogCommandStorageConfig 通过命令行存储
|
||||
type AccessLogCommandStorageConfig struct {
|
||||
Command string `yaml:"command" json:"command"`
|
||||
Args []string `yaml:"args" json:"args"`
|
||||
Dir string `yaml:"dir" json:"dir"`
|
||||
}
|
||||
Reference in New Issue
Block a user