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.
19 lines
387 B
19 lines
387 B
package components
|
|
|
|
type IBlock interface {
|
|
GetDirectives() []IDirective
|
|
FindDirectives(directiveName string) []IDirective
|
|
RemoveDirective(name string, params []string)
|
|
UpdateDirective(name string, params []string)
|
|
GetComment() string
|
|
GetLine() int
|
|
}
|
|
|
|
type IDirective interface {
|
|
GetName() string
|
|
GetParameters() []string
|
|
GetBlock() IBlock
|
|
GetComment() string
|
|
GetLine() int
|
|
}
|