frostfs-http-gw/response/utils.go

8 lines
142 B
Go
Raw Normal View History

package response
import "github.com/valyala/fasthttp"
func Error(r *fasthttp.RequestCtx, msg string, code int) {
r.Error(msg+"\n", code)
}