Versions in this module Expand all Collapse all v1 v1.0.1 May 18, 2017 Changes in this version + const ErrDraining + const ErrSSLRequired + var MetaBytesIn = metric.Metadata + var MetaBytesOut = metric.Metadata + var MetaConns = metric.Metadata + func Match(rd io.Reader) bool + type Server struct + AmbientCtx log.AmbientContext + func MakeServer(ambientCtx log.AmbientContext, cfg *base.Config, executor *sql.Executor, ...) *Server + func (s *Server) IsDraining() bool + func (s *Server) Metrics() *ServerMetrics + func (s *Server) ServeConn(ctx context.Context, conn net.Conn) error + func (s *Server) SetDraining(drain bool) error + type ServerMetrics struct + BytesInCount *metric.Counter + BytesOutCount *metric.Counter + ConnMemMetrics sql.MemoryMetrics + Conns *metric.Counter + SQLMemMetrics sql.MemoryMetrics