database

package
v0.0.0-...-99a83bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	// contains filtered or unexported fields
}

func OpenDB

func OpenDB(name string) (*Database, error)

func (*Database) Close

func (db *Database) Close() error

func (*Database) DeleteCommand

func (db *Database) DeleteCommand(name string) error

func (*Database) GetAllCommands

func (db *Database) GetAllCommands() (string, error)

func (*Database) GetCommandByName

func (db *Database) GetCommandByName(name string) (string, error)

func (*Database) InsertCommand

func (db *Database) InsertCommand(name, response string, security bool) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL