{"modulePath":"github.com/CodinGame/sqls","version":"v0.2.30","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package handler\n\n## Constants\n\n```go\nconst (\n\tCommandExecuteQuery     = \"executeQuery\"\n\tCommandShowDatabases    = \"showDatabases\"\n\tCommandShowSchemas      = \"showSchemas\"\n\tCommandShowConnections  = \"showConnections\"\n\tCommandSwitchDatabase   = \"switchDatabase\"\n\tCommandSwitchConnection = \"switchConnections\"\n)\n```\n\n```go\nconst (\n\tSignatureHelpTypeInsertValue signatureHelpType\n\tSignatureHelpTypeUnknown     = 99\n)\n```\n\n## Variables\n\n```go\nvar (\n\tErrNoConnection = errors.New(\"no database connection\")\n)\n```\n\n```go\nvar ErrNoHover = errors.New(\"no hover infomation found\")\n```\n\n## Functions\n\n```go\nfunc SignatureHelp(text string, params lsp.SignatureHelpParams, dbCache *database.DBCache) (*lsp.SignatureHelp, error)\n```\n\n## Types\n\n```go\ntype File struct {\n\tLanguageID string\n\tText       string\n}\n```\n\n```go\ntype Server struct {\n\tSpecificFileCfg *config.Config\n\tDefaultFileCfg  *config.Config\n\tWSCfg           *config.Config\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewServer() *Server\n```\n\n```go\nfunc (s *Server) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request) (result interface{}, err error)\n```\n\n```go\nfunc (s *Server) Stop() error\n```\n\n","path":"github.com/CodinGame/sqls/internal/handler","name":"handler","synopsis":"","isRedistributable":true}
