Documentation ¶
Index ¶
- func WrapCall(call *core.Call) *callWrap
- func WrapCalls(calls []*core.Call) []*callWrap
- func WrapColumn(column *core.Column) *columnWrap
- func WrapColumns(columns []*core.Column) []*columnWrap
- func WrapConnection(connection *core.Connection) *connectionWrap
- func WrapConnectionParams(params *core.ConnectionParams) *connectionParamsWrap
- func WrapConnections(connections []*core.Connection) []*connectionWrap
- func WrapStructure(structure *core.Structure) *structureWrap
- func WrapStructures(structures []*core.Structure) []*structureWrap
- type Buffer
- type Handler
- func (h *Handler) AddHelpers(typ string, helpers map[string]string) error
- func (h *Handler) CallCancel(callID core.CallID) error
- func (h *Handler) CallDisplayResult(callID core.CallID, buffer nvim.Buffer, from, to int) (int, error)
- func (h *Handler) CallStoreResult(callID core.CallID, fmat, out string, from, to int, arg ...any) error
- func (h *Handler) Close()
- func (h *Handler) ConnectionExecute(connID core.ConnectionID, query string) (*core.Call, error)
- func (h *Handler) ConnectionGetCalls(connID core.ConnectionID) ([]*core.Call, error)
- func (h *Handler) ConnectionGetColumns(connID core.ConnectionID, opts *core.TableOptions) ([]*core.Column, error)
- func (h *Handler) ConnectionGetHelpers(connID core.ConnectionID, opts *core.TableOptions) (map[string]string, error)
- func (h *Handler) ConnectionGetParams(connID core.ConnectionID) (*core.ConnectionParams, error)
- func (h *Handler) ConnectionGetStructure(connID core.ConnectionID) ([]*core.Structure, error)
- func (h *Handler) ConnectionListDatabases(connID core.ConnectionID) (current string, available []string, err error)
- func (h *Handler) ConnectionSelectDatabase(connID core.ConnectionID, database string) error
- func (h *Handler) CreateConnection(params *core.ConnectionParams) (core.ConnectionID, error)
- func (h *Handler) DeleteConnection(id core.ConnectionID) error
- func (h *Handler) GetConnections(ids []core.ConnectionID) []*core.Connection
- func (h *Handler) GetCurrentConnection() (*core.Connection, error)
- func (h *Handler) SetCurrentConnection(connID core.ConnectionID) error
- type Table
- type YankRegister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WrapColumn ¶
func WrapColumns ¶
func WrapConnection ¶
func WrapConnection(connection *core.Connection) *connectionWrap
func WrapConnectionParams ¶
func WrapConnectionParams(params *core.ConnectionParams) *connectionParamsWrap
func WrapConnections ¶
func WrapConnections(connections []*core.Connection) []*connectionWrap
func WrapStructure ¶
func WrapStructures ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) AddHelpers ¶
func (*Handler) CallDisplayResult ¶
func (*Handler) CallStoreResult ¶
func (*Handler) ConnectionExecute ¶
func (*Handler) ConnectionGetCalls ¶
func (*Handler) ConnectionGetColumns ¶
func (h *Handler) ConnectionGetColumns(connID core.ConnectionID, opts *core.TableOptions) ([]*core.Column, error)
func (*Handler) ConnectionGetHelpers ¶
func (h *Handler) ConnectionGetHelpers(connID core.ConnectionID, opts *core.TableOptions) (map[string]string, error)
func (*Handler) ConnectionGetParams ¶
func (h *Handler) ConnectionGetParams(connID core.ConnectionID) (*core.ConnectionParams, error)
func (*Handler) ConnectionGetStructure ¶
func (*Handler) ConnectionListDatabases ¶
func (*Handler) ConnectionSelectDatabase ¶
func (h *Handler) ConnectionSelectDatabase(connID core.ConnectionID, database string) error
func (*Handler) CreateConnection ¶
func (h *Handler) CreateConnection(params *core.ConnectionParams) (core.ConnectionID, error)
func (*Handler) DeleteConnection ¶
func (h *Handler) DeleteConnection(id core.ConnectionID) error
func (*Handler) GetConnections ¶
func (h *Handler) GetConnections(ids []core.ConnectionID) []*core.Connection
func (*Handler) GetCurrentConnection ¶
func (h *Handler) GetCurrentConnection() (*core.Connection, error)
func (*Handler) SetCurrentConnection ¶
func (h *Handler) SetCurrentConnection(connID core.ConnectionID) error
type YankRegister ¶
type YankRegister struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.