cmd

package
v0.0.0-...-7f13dd7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL