实现基本的访问日志策略

This commit is contained in:
刘祥超
2021-07-29 16:51:11 +08:00
parent f405e42d39
commit c49ec306d4
11 changed files with 1263 additions and 121 deletions

View 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"`
}