summaryrefslogtreecommitdiff
path: root/pkg/server/exit.go
blob: 504c7d11899c13fd8135808b807191643e11a5df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package server

import (
	"io"
)

func init() {
	setHandler("exit", exit)
}

func exit(s *Server, args []string, out io.Writer) {
	s.Stop()
}