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

import (
	"strings"
	"fmt"
)

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

func echo(r *request) {
	fmt.Fprint(r.out, strings.Join(r.args, " "))
}