package
1.4.0
Repository: https://github.com/krotik/eliasdb.git
Documentation: pkg.go.dev

# Functions

NewConsole creates a new Console object which can parse and execute given commands from the given Reader and outputs the result to the Writer.

# Constants

CommandExport is a command name.
CommandFind is a command name.
CommandGrantperm is a command name.
CommandGroupadd is a command name.
CommandGroupdel is a command name.
CommandGroups is a command name.
CommandHelp is a command name.
CommandInfo is a command name.
CommandJoingroup is a command name.
CommandLeavegroup is a command name.
CommandLogin is a command name.
CommandLogout is a command name.
CommandNewpass is a command name.
CommandPart is a command name.
CommandRevokeperm is a command name.
CommandUseradd is a command name.
CommandUserdel is a command name.
CommandUsers is a command name.
CommandVer is a command name.
CommandWhoAmI is a command name.

# Structs

CmdExport exports the data which is currently in the export buffer.
CmdFind does a full-text search of the database.
CmdGrantperm grants a new permission to a group.
CmdGroupadd adds a new group.
CmdGroupdel deletes a group.
CmdGroups returns a list of all groups and their permissions.
CmdHelp displays descriptions of other commands.
CmdInfo returns general database information.
CmdJoingroup joins a user to a group.
CmdLeavegroup removes a user from a group.
CmdLogin placeholder for the login command.
CmdLogout placeholder for the logout command.
CmdNewpass changes the password of a user.
CmdPart displays or sets the current partition.
CmdRevokeperm revokes permissions to a resource for a group.
CmdUseradd adds a user.
CmdUserdel deletes a user.
CmdUsers returns a list of all users.
CmdVer displays descriptions of other commands.
CmdWhoAmI returns the current login status.
CommError is a communication error from the ConsoleAPI.
EliasDBConsole implements the basic console functionality like login and version.
EQLConsole runs EQL queries.
GraphQLConsole runs GraphQL queries.

# Interfaces

Command describes an available command.
CommandConsole is the main interface for command processors.
CommandConsoleAPI is the console interface which commands can use to send communicate to the server.