MCPcopy Create free account
hub / github.com/1Panel-dev/1Panel / LuaBlock

Struct LuaBlock

agent/utils/nginx/components/lua_block.go:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5)
6
7type LuaBlock struct {
8 Directives []IDirective
9 Name string
10 Comment string
11 LuaCode string
12 Line int
13}
14
15func NewLuaBlock(directive IDirective) (*LuaBlock, error) {
16 if block := directive.GetBlock(); block != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected