Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reader ¶
type Reader interface { ListCommands() ([]*View, error) ListCommandsByDBName(databaseName string) ([]*View, error) Read(sqlID int) (*View, error) }
Reader .
type View ¶
type View struct { ID int `json:"id"` SQL string `json:"sql"` DatabaseName string `json:"database_name"` CreatedAt time.Time `json:"created_at"` }
View .
type WriteReadDeleter ¶
WriteReadDeleter .
func NewBoltWriteReadDeleter ¶
func NewBoltWriteReadDeleter(persistenceFileName string) WriteReadDeleter
NewBoltWriteReadDeleter Peristent Bolt
Click to show internal directories.
Click to hide internal directories.