cmd

package
v0.0.0-...-099495b Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Service = cli.Command{
	Name:        "service",
	Usage:       "This command starts dagger services",
	Description: `Start Http Proxy Server services`,
	Action:      RunService,
	Flags:       []cli.Flag{},
}
View Source
var User = cli.Command{
	Name:        "user",
	Usage:       "This Command Is User Management",
	Description: `User management [add, delete, modify, query, list]`,
	Action:      RunUser,
	Flags: []cli.Flag{
		stringFlag("method, m", "list", "add, delete, modify, query,list"),
		stringFlag("username, u", "", "input username"),
		stringFlag("password, p", "", "input password"),
	},
}

Functions

func BytesToString

func BytesToString(b []byte) string

Byte to string, only read-only

func Init

func Init(customConf string) error

func Md5

func Md5(s string) string

func Md5Byte

func Md5Byte(buf []byte) string

func RunService

func RunService(c *cli.Context) error

func RunUser

func RunUser(c *cli.Context) error

func StringToBytes

func StringToBytes(str string) []byte

String to byte, only read-only

Types

This section is empty.

Jump to

Keyboard shortcuts

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