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

Method GetDirectives

agent/utils/nginx/components/location.go:158–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156}
157
158func (l *Location) GetDirectives() []IDirective {
159 return l.Directives
160}
161
162func (l *Location) FindDirectives(directiveName string) []IDirective {
163 directives := make([]IDirective, 0)

Callers 3

AddBrowserCacheMethod · 0.95
AddBroswerNoCacheMethod · 0.95
AddCorsOptionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected