MCPcopy
hub / github.com/livekit/livekit / ScriptMatch

Struct ScriptMatch

pkg/clientconfiguration/match.go:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33type ScriptMatch struct {
34 compiled *tengo.Compiled
35}
36
37func NewScriptMatch(expr string) (*ScriptMatch, error) {
38 script := tengo.NewScript(fmt.Appendf(nil, "__res__ := (%s)", expr))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected