1Panel/backend/utils/nginx/components/directive.go
2022-11-17 21:20:33 +08:00

25 lines
374 B
Go

package components
type Directive struct {
Block IBlock
Name string
Comment string
Parameters []string
}
func (d *Directive) GetComment() string {
return d.Comment
}
func (d *Directive) GetName() string {
return d.Name
}
func (d *Directive) GetParameters() []string {
return d.Parameters
}
func (d *Directive) GetBlock() IBlock {
return d.Block
}