Documentation ¶
Index ¶
- Variables
- type Proto3Config
- type SSHConfig
- type Server
- func (svr *Server) Close() error
- func (svr *Server) HandleSession(shfn evaluate.SessionHandler, user, typ, addr string)
- func (svr *Server) ListenAndServeProto3(p3Cfg Proto3Config) error
- func (svr *Server) ListenAndServeSSH(sshCfg SSHConfig) error
- func (svr *Server) Shutdown(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrServerClosed = errors.New("server: closed")
Functions ¶
This section is empty.
Types ¶
type Proto3Config ¶
type Proto3Config struct {
Address string
}
type Server ¶
type Server struct { Engine sql.Engine DefaultDatabase sql.Identifier // contains filtered or unexported fields }
func (*Server) HandleSession ¶
func (svr *Server) HandleSession(shfn evaluate.SessionHandler, user, typ, addr string)
func (*Server) ListenAndServeProto3 ¶
func (svr *Server) ListenAndServeProto3(p3Cfg Proto3Config) error
func (*Server) ListenAndServeSSH ¶
Click to show internal directories.
Click to hide internal directories.