1 2 3 4 5 6 7 8 9
package server func exit(r *request) { r.c.s.Stop() } func init() { newCmd("exit", exit, "") }