Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthFunc = func(cmd *cobra.Command, args []string) error { if config.Instance.ActiveUID == "" { if len(config.Instance.Users) > 0 { return errors.New("存在登录的用户,可以进行切换登录用户") } return errors.New("请先前往 https://www.dedao.cn 登录得到账户") } return nil }
AuthFunc check login
View Source
var Cookie string
Cookie cookie from https://www.dedao.cn
Functions ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.