ProbeFromCalnex returns Channel object from String version
(calnex string)
| 439 | |
| 440 | // ProbeFromCalnex returns Channel object from String version |
| 441 | func ProbeFromCalnex(calnex string) (*Probe, error) { |
| 442 | p, ok := probeCalnexAPIToProbe[calnex] |
| 443 | if !ok { |
| 444 | return nil, errBadProbe |
| 445 | } |
| 446 | return &p, nil |
| 447 | } |
| 448 | |
| 449 | // UnmarshalText probe from string version |
| 450 | func (p *Probe) UnmarshalText(value []byte) error { |
no outgoing calls
searching dependent graphs…