package client import "context" // CallUnlisted calls an endpoint that is not in Endpoints, and says what // came of it. func CallUnlisted() string { c := &Client{} err := c.do(context.Background(), "POST /api/v1/restart", nil, nil, nil) if err == nil { return "" } return err.Error() }