Documentation
¶
Index ¶
- Variables
- func AddUser(c *cli.Context) error
- func DeleteUser(c *cli.Context) error
- func FlushServerCaches(c *cli.Context) error
- func HeartbeatHandler(w http.ResponseWriter, r *http.Request)
- func ListServerCaches(c *cli.Context) error
- func ListUsers(c *cli.Context) error
- func Logging(c *cli.Context) error
- func PathAction(c *cli.Context) error
- func ReadDirectory(name string) (string, error)
- func ReadFile(name string) (string, error)
- func ResolveServerName(name string) (string, error)
- func Restart(c *cli.Context) error
- func RunAction(c *cli.Context) error
- func RunServer(c *cli.Context) error
- func SetCacheSize(c *cli.Context) error
- func Start(c *cli.Context) error
- func Status(c *cli.Context) error
- func Stop(c *cli.Context) error
- func TableContents(c *cli.Context) error
- func TableCreate(c *cli.Context) error
- func TableDelete(c *cli.Context) error
- func TableDrop(c *cli.Context) error
- func TableGrant(c *cli.Context) error
- func TableInsert(c *cli.Context) error
- func TableList(c *cli.Context) error
- func TablePermissions(c *cli.Context) error
- func TableSQL(c *cli.Context) error
- func TableShow(c *cli.Context) error
- func TableShowPermission(c *cli.Context) error
- func TableUpdate(c *cli.Context) error
- func TestAction(c *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
var PathList []string
Functions ¶
func DeleteUser ¶
AddUser is used to add a new user to the security database of the running server.
func FlushServerCaches ¶
FlushServerCaches is the administrative command that directs the server to discard any cached compilation units for service code. Subsequent service requests require that the service code be reloaded from disk. This is often used when making changes to a service, to quickly force the server to pick up the changes. You must be an admin user with a valid token to perform this command.
func HeartbeatHandler ¶
func HeartbeatHandler(w http.ResponseWriter, r *http.Request)
HeartbeatHandler receives the /admin/heartbeat calls. This does nothing but respond with success. The event is not logged.
func ListServerCaches ¶
ListServerCahces is the administrative command that displays the information about the server's cache of previously-compiled service programs. The current and maximum size of the cache, and the endpoints that are cached are listed. You must be an admin user with a valid token to perform this command.
func PathAction ¶
PathAction is the command handler for the ego PATH command.
func ReadDirectory ¶
ReadDirectory reads all the files in a directory into a single string.
func ResolveServerName ¶
Resolve a name that may not be fully qualified, and make it the default application host name. This is used by commands that allow a host name specification as part of the command (login, or server logging, etc.).
func Restart ¶
Restart stops and then starts a server, using the information from the previous start that was stored in the pidfile.
func RunServer ¶
RunServer initializes and runs the REST server, which starts listenting for new connections. This will never terminate until the process is killed.
func SetCacheSize ¶
SetCacheSize is the administrative command that sets the server's cache size for storing previously-compiled service handlers. If you specify a smaller number that the current cache size, the next attempt to load a new service into the cache will result in discarding the oldest cache entries until the cache is the correct size. You must be an admin user with a valid token to perform this command.
func TableContents ¶
func TableCreate ¶
func TableDelete ¶
func TableGrant ¶
func TableInsert ¶
func TablePermissions ¶
func TableShowPermission ¶
func TableUpdate ¶
func TestAction ¶
TestAction is the command handler for the ego TEST command.
Types ¶
This section is empty.