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

22 lines
290 B
Go
Raw Normal View History

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
}