(key *ari.Key)
| 26 | } |
| 27 | |
| 28 | func (a *asterisk) Info(key *ari.Key) (*ari.AsteriskInfo, error) { |
| 29 | resp, err := a.c.dataRequest(&proxy.Request{ |
| 30 | Kind: "AsteriskInfo", |
| 31 | Key: key, |
| 32 | }) |
| 33 | if err != nil { |
| 34 | return nil, err |
| 35 | } |
| 36 | return resp.Asterisk, nil |
| 37 | } |
| 38 | |
| 39 | func (a *asterisk) Variables() ari.AsteriskVariables { |
| 40 | return &asteriskVariables{a.c} |