Documentation
¶
Index ¶
- func AutoCompleteUseId(string) []string
- func AutoCompleteUseIdWithoutCurrent(string) []string
- func CmdCreateUser(action base.TaskActionImpl, openId string) (user_data.User, error)
- func CurrentUserRunTaskDefaultTimeout(f func(*user_data.TaskActionUser) error, name string) *user_data.TaskActionUser
- func GetCurrentUser() user_data.User
- func LogoutAllUsers()
- func MutableUserMapContainer() map[string]user_data.User
- func RegisterUserCommand(path []string, fn UserCommandFunc, argsInfo string, desc string, ...)
- func SetCurrentUser(user user_data.User)
- type UserCommandFunc
- type UserCommandNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoCompleteUseId ¶
func CmdCreateUser ¶
func CurrentUserRunTaskDefaultTimeout ¶
func CurrentUserRunTaskDefaultTimeout(f func(*user_data.TaskActionUser) error, name string) *user_data.TaskActionUser
func GetCurrentUser ¶
func LogoutAllUsers ¶
func LogoutAllUsers()
func MutableUserMapContainer ¶
func RegisterUserCommand ¶
func RegisterUserCommand(path []string, fn UserCommandFunc, argsInfo string, desc string, dynamicComplete readline.DynamicCompleteFunc)
func SetCurrentUser ¶
Types ¶
type UserCommandFunc ¶
func GetUserCommandFunc ¶
func GetUserCommandFunc(path []string) ([]string, UserCommandFunc)
type UserCommandNode ¶
type UserCommandNode struct {
Children map[string]*UserCommandNode
Func UserCommandFunc
}
func MutableUserCommandRoot ¶
func MutableUserCommandRoot() *UserCommandNode
Click to show internal directories.
Click to hide internal directories.