options

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewmainSaveOptKOptPw

func NewmainSaveOptKOptPw(c *cli.Context) (mainSaveOptKOptPw, error)

func NewmainUpdateOptKOptPw

func NewmainUpdateOptKOptPw(c *cli.Context) (mainUpdateOptKOptPw, error)

func NewuserCreateOptNameOptPw

func NewuserCreateOptNameOptPw(c *cli.Context) (userCreateOptNameOptPw, error)

func NewuserDropOptName

func NewuserDropOptName(c *cli.Context) (userDropOptNameOptPw, error)

func NewuserLoginOptNameOptPw

func NewuserLoginOptNameOptPw(c *cli.Context) (userLoginOptNameOptPw, error)

Types

type MainGetOptK

type MainGetOptK struct {
	Key string `json:"k" annotation:"@NotBlank"`
}

func NewMainGetOptK

func NewMainGetOptK(c *cli.Context) (MainGetOptK, error)

type MainSaveOptKOptPw

type MainSaveOptKOptPw struct {
	Key         string `json:"k" annotation:"@NotBlank"`
	Password    string `json:"pw" annotation:"@NotBlank"`
	Description string `json:"description"`
}

type MainUpdateOptKOptPw

type MainUpdateOptKOptPw struct {
	Key      string `json:"k" annotation:"@NotBlank"`
	Password string `json:"pw"`
}

type UserCreateOptNameOptPw

type UserCreateOptNameOptPw struct {
	Name     string `json:"name" annotation:"@NotBlank"`
	Password string `json:"pw" annotation:"@NotBlank"`
}

type UserDropOptNameOptPw

type UserDropOptNameOptPw struct {
	Name     string `json:"name" annotation:"@NotBlank"`
	Password string `json:"pw" annotation:"@NotBlank"`
}

type UserListOptHeadOptTail

type UserListOptHeadOptTail struct {
	Head int `json:"head"`
	Tail int `json:"tail"`
}

func NewUserListOptHeadOptTail

func NewUserListOptHeadOptTail(c *cli.Context) (UserListOptHeadOptTail, error)

type UserLoginOptNameOptPw

type UserLoginOptNameOptPw struct {
	Name     string `json:"name" annotation:"@NotBlank"`
	Password string `json:"pw" annotation:"@NotBlank"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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