Versions in this module Expand all Collapse all v1 v1.0.0 Apr 14, 2020 Changes in this version + const CommandDatabaseDisable + const CommandDatabaseEnable + const CommandDatabaseExecuteSQL + const CommandDatabaseGetDatabaseTableNames + const EventDatabaseAddDatabase + var EventConstants = map[string]Unmarshaler + func GetEventReply(event string) (json.Unmarshaler, bool) + type AddDatabaseReply struct + Database Database + func (a *AddDatabaseReply) GetFrameID() string + func (a *AddDatabaseReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *AddDatabaseReply) UnmarshalJSON(b []byte) error + type Database struct + Domain string + ID ID + Name string + Version string + type DisableArgs struct + func (a *DisableArgs) MarshalJSON() ([]byte, error) + func (a *DisableArgs) UnmarshalJSON(b []byte) error + type DisableReply struct + func (a *DisableReply) GetFrameID() string + func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *DisableReply) UnmarshalJSON(b []byte) error + type EnableArgs struct + func (a *EnableArgs) MarshalJSON() ([]byte, error) + func (a *EnableArgs) UnmarshalJSON(b []byte) error + type EnableReply struct + func (a *EnableReply) GetFrameID() string + func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *EnableReply) UnmarshalJSON(b []byte) error + type Error struct + Code int + Message string + type ExecuteSQLArgs struct + DatabaseID ID + Query string + func (a *ExecuteSQLArgs) MarshalJSON() ([]byte, error) + func (a *ExecuteSQLArgs) UnmarshalJSON(b []byte) error + type ExecuteSQLReply struct + ColumnNames *[]string + SQLError *Error + Values *[]json.RawMessage + func (a *ExecuteSQLReply) GetFrameID() string + func (a *ExecuteSQLReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *ExecuteSQLReply) UnmarshalJSON(b []byte) error + type GetDatabaseTableNamesArgs struct + DatabaseID ID + func (a *GetDatabaseTableNamesArgs) MarshalJSON() ([]byte, error) + func (a *GetDatabaseTableNamesArgs) UnmarshalJSON(b []byte) error + type GetDatabaseTableNamesReply struct + TableNames []string + func (a *GetDatabaseTableNamesReply) GetFrameID() string + func (a *GetDatabaseTableNamesReply) MatchFrameID(frameID string, m []byte) (bool, error) + func (a *GetDatabaseTableNamesReply) UnmarshalJSON(b []byte) error + type ID string + type Unmarshaler func() json.Unmarshaler