SetQueryLogSink sets the active query-log sink on a Server.
(s *Server, sink QueryLogSink)
| 318 | } |
| 319 | } |
| 320 | |
| 321 | // SetConnectionIdleTimeout applies a previously validated connect-time client |
| 322 | // idle-timeout request. The control plane calls this before RunMessageLoop. |
| 323 | func SetConnectionIdleTimeout(cc *clientConn, timeout time.Duration) { |
| 324 | if cc != nil && timeout > 0 { |
| 325 | cc.idleTimeout = timeout |
| 326 | } |
| 327 | } |
| 328 | |
| 329 | // ConnectionBilling returns the data needed to meter one connection's |
| 330 | // compute-usage at teardown: the org, the authenticated username (used to |
no outgoing calls