feat: better doc

This commit is contained in:
Simon Ding
2024-07-27 11:17:16 +08:00
parent b2a092c64e
commit 87b6c99f1f
15 changed files with 129 additions and 63 deletions

View File

@@ -63,6 +63,10 @@ func (c *Client) init() {
log.Infof("set default log level")
c.SetSetting(SettingLogLevel, "info")
}
// if tr := c.GetTransmission(); tr == nil {
// log.Warnf("no download client, set default download client")
// c.SaveTransmission("transmission", "http://transmission:9091", "", "")
// }
}
func (c *Client) generateJwtSerectIfNotExist() {