Versions in this module Expand all Collapse all v1 v1.1.0 May 18, 2021 Changes in this version + func AddBot(username, password string) (int, error) + func AddOther(username, status string) (int, error) + func ConfigDirectory() string + func CreateDB(loc string) error + func DBPath() (string, error) + func DeleteBot(botName string) error + func DeleteOther(otherName, status string) error + func DisableBot(botName string) error + func EnableBot(botName string) error + func EnsureExists() + func ListBots() error + func ListOthers(status string) error + type Bot struct + ID int + Password string + Username string + func GetBots(username string, onlyActive bool) ([]Bot, error) + type Other struct + ID int + Status string + Username string + func GetOthers(username, status string) ([]Other, error)