users

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreatePopupAction

type CreatePopupAction struct {
	actionutils.ParentAction
}

func (*CreatePopupAction) Init

func (this *CreatePopupAction) Init()

func (*CreatePopupAction) RunGet

func (this *CreatePopupAction) RunGet(params struct{})

func (*CreatePopupAction) RunPost

func (this *CreatePopupAction) RunPost(params struct {
	Username     string
	Pass1        string
	Pass2        string
	Fullname     string
	Mobile       string
	Tel          string
	Email        string
	Remark       string
	ClusterId    int64
	FeaturesType string

	// OTP
	OtpOn bool

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type DeleteAction

type DeleteAction struct {
	actionutils.ParentAction
}

func (*DeleteAction) RunPost

func (this *DeleteAction) RunPost(params struct {
	UserId int64
})

type FeaturesAction

type FeaturesAction struct {
	actionutils.ParentAction
}

func (*FeaturesAction) Init

func (this *FeaturesAction) Init()

func (*FeaturesAction) RunGet

func (this *FeaturesAction) RunGet(params struct {
	UserId int64
})

func (*FeaturesAction) RunPost

func (this *FeaturesAction) RunPost(params struct {
	UserId int64
	Codes  []string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type IndexAction

type IndexAction struct {
	actionutils.ParentAction
}

func (*IndexAction) Init

func (this *IndexAction) Init()

func (*IndexAction) RunGet

func (this *IndexAction) RunGet(params struct {
	Keyword   string
	Verifying bool
})

type OtpQrcodeAction added in v0.4.10

type OtpQrcodeAction struct {
	actionutils.ParentAction
}

func (*OtpQrcodeAction) Init added in v0.4.10

func (this *OtpQrcodeAction) Init()

func (*OtpQrcodeAction) RunGet added in v0.4.10

func (this *OtpQrcodeAction) RunGet(params struct {
	UserId int64
})

type UpdateAction

type UpdateAction struct {
	actionutils.ParentAction
}

func (*UpdateAction) Init

func (this *UpdateAction) Init()

func (*UpdateAction) RunGet

func (this *UpdateAction) RunGet(params struct {
	UserId int64
})

func (*UpdateAction) RunPost

func (this *UpdateAction) RunPost(params struct {
	UserId        int64
	Username      string
	Pass1         string
	Pass2         string
	Fullname      string
	Mobile        string
	Tel           string
	Email         string
	Remark        string
	IsOn          bool
	ClusterId     int64
	BandwidthAlgo string

	// OTP
	OtpOn bool

	Must *actions.Must
	CSRF *actionutils.CSRF
})

type UserAction

type UserAction struct {
	actionutils.ParentAction
}

func (*UserAction) Init

func (this *UserAction) Init()

func (*UserAction) RunGet

func (this *UserAction) RunGet(params struct {
	UserId int64
})

type VerifyPopupAction added in v0.4.0

type VerifyPopupAction struct {
	actionutils.ParentAction
}

func (*VerifyPopupAction) RunGet added in v0.4.0

func (this *VerifyPopupAction) RunGet(params struct {
	UserId int64
})

func (*VerifyPopupAction) RunPost added in v0.4.0

func (this *VerifyPopupAction) RunPost(params struct {
	UserId       int64
	Result       string
	RejectReason string

	Must *actions.Must
	CSRF *actionutils.CSRF
})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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