MCPcopy
hub / github.com/benmanns/goworker / String

Method String

process.go:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (p *process) String() string {
33 return fmt.Sprintf("%s:%d-%s:%s", p.Hostname, p.Pid, p.ID, strings.Join(p.Queues, ","))
34}
35
36func (p *process) open(conn *RedisConn) error {
37 conn.Send("SADD", fmt.Sprintf("%sworkers", workerSettings.Namespace), p)

Callers 5

TestQueuesFlagStringFunction · 0.45
TestProcessStringFunction · 0.45
startMethod · 0.45
TestIntervalFlagStringFunction · 0.45
MarshalJSONMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestQueuesFlagStringFunction · 0.36
TestProcessStringFunction · 0.36
TestIntervalFlagStringFunction · 0.36