mirror of https://github.com/1Panel-dev/1Panel
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.
25 lines
374 B
25 lines
374 B
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
|
|
}
|