RequestSQLProfile get specified database profile.
(dbID proto.DatabaseID)
| 191 | |
| 192 | // RequestSQLProfile get specified database profile. |
| 193 | func (bs *BusService) RequestSQLProfile(dbID proto.DatabaseID) (p *types.SQLChainProfile, ok bool) { |
| 194 | bs.lock.RLock() |
| 195 | defer bs.lock.RUnlock() |
| 196 | p, ok = bs.sqlChainProfiles[dbID] |
| 197 | return |
| 198 | } |
| 199 | |
| 200 | // RequestPermStat fetches permission state from bus service. |
| 201 | func (bs *BusService) RequestPermStat( |
no outgoing calls