MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Subject

Function Subject

proxy/subjects.go:6–15  ·  view source on GitHub ↗

Subject returns the communication subject for the given parameters

(prefix, class, appName, asterisk string)

Source from the content-addressed store, hash-verified

4
5// Subject returns the communication subject for the given parameters
6func Subject(prefix, class, appName, asterisk string) (ret string) {
7 ret = fmt.Sprintf("%s%s", prefix, class)
8 if appName != "" {
9 ret += "." + appName
10 if asterisk != "" {
11 ret += "." + asterisk
12 }
13 }
14 return
15}

Callers 2

subjectMethod · 0.92
listenMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected