Documentation
¶
Index ¶
- func Db(config *Config) (*sql.DB, error)
- func DbEventExists(db *sql.DB, schemaName, eventName string) bool
- func DbExecuteQuery(db *sql.DB, query string, dest interface{}) error
- func DbPluginActive(db *sql.DB, plugin string) (bool, error)
- func DbSchemaExists(db *sql.DB, schemaName string) bool
- func DbTableExists(db *sql.DB, schemaName, tableName string) bool
- func DbVariableEnabled(db *sql.DB, name string) (bool, error)
- func DbVariableValue(db *sql.DB, name string) (string, error)
- type Config
- type Properties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Properties `yaml:"properties"` IP string `yaml:"ip"` }
func LoadConfig ¶
type Properties ¶
type Properties map[interface{}]interface{}
func (Properties) Find ¶
func (p Properties) Find(lens string) (val interface{}, err error)
func (Properties) FindString ¶
func (p Properties) FindString(lens string) (val string, err error)
Click to show internal directories.
Click to hide internal directories.