Documentation ¶
Index ¶
Constants ¶
View Source
const ( AuthExpire = 24 * 3600 * time.Second // 登陆会话失效时间,24 小时 DefaultCleanInterval = 7200 //seconds, 2小时 DefaultLanguage = "en-US" // 英语 DefaultQueryApiMaxItem = 20 // 查询api最大并发 DefaultMaxCallbackErrorCount = 5 // 最大错误 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResetPwCmd ¶
type ResetPwCmd struct {
// contains filtered or unexported fields
}
func (*ResetPwCmd) Execute ¶
func (p *ResetPwCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
func (*ResetPwCmd) Name ¶
func (*ResetPwCmd) Name() string
func (*ResetPwCmd) SetFlags ¶
func (p *ResetPwCmd) SetFlags(f *flag.FlagSet)
func (*ResetPwCmd) Synopsis ¶
func (*ResetPwCmd) Synopsis() string
func (*ResetPwCmd) Usage ¶
func (*ResetPwCmd) Usage() string
type ServePwCmd ¶
type ServePwCmd struct { ServerPem string ServerKey string // contains filtered or unexported fields }
func (*ServePwCmd) Execute ¶
func (p *ServePwCmd) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus
func (*ServePwCmd) Name ¶
func (*ServePwCmd) Name() string
func (*ServePwCmd) SetFlags ¶
func (p *ServePwCmd) SetFlags(f *flag.FlagSet)
func (*ServePwCmd) Synopsis ¶
func (*ServePwCmd) Synopsis() string
func (*ServePwCmd) Usage ¶
func (*ServePwCmd) Usage() string
Click to show internal directories.
Click to hide internal directories.