You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1Panel/backend/utils/nginx/components/comment.go

27 lines
354 B

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
}