Documentation ¶
Index ¶
- Constants
- func GetPLCList(path string) ([]string, error)
- func LoadConfig(dbconn *sqlite3.SQLite) error
- type PLCConfig
- func (pc *PLCConfig) AddDB(dc dbconfig.DBConfig) error
- func (pc *PLCConfig) Delete(path string) error
- func (pc *PLCConfig) DeleteDB(uid string) error
- func (pc *PLCConfig) GetBackups(path string, dbno int) ([]dbconfig.DBConfig, error)
- func (pc *PLCConfig) GetDB(uid string) (dbconfig.DBConfig, error)
- func (pc *PLCConfig) Load(path, uid string) (bool, error)
- func (pc *PLCConfig) LoadDB(path string, id int) (dbconfig.DBConfig, error)
- func (pc *PLCConfig) Save(path string) error
- func (pc *PLCConfig) SaveDB(path, uid, comment string, b []byte) error
Constants ¶
View Source
const TableName = "plc"
Variables ¶
This section is empty.
Functions ¶
func GetPLCList ¶
func LoadConfig ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.