feat: 增加nginx config 格式化工具
This commit is contained in:

committed by
zhengkunwang223

parent
7dad47464d
commit
a1ac689a5e
21
backend/utils/nginx/components/comment.go
Normal file
21
backend/utils/nginx/components/comment.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package components
|
||||
|
||||
type Comment struct {
|
||||
Detail string
|
||||
}
|
||||
|
||||
func (c *Comment) GetName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (c *Comment) GetParameters() []string {
|
||||
return []string{}
|
||||
}
|
||||
|
||||
func (c *Comment) GetBlock() IBlock {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *Comment) GetComment() string {
|
||||
return c.Detail
|
||||
}
|
Reference in New Issue
Block a user