1Panel/agent/utils/nginx/components/comment.go

27 lines
354 B
Go
Raw Normal View History

2024-07-23 14:48:37 +08:00
package components
type Comment struct {
Detail string
Line int
}
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
}
func (c *Comment) GetLine() int {
return c.Line
}