GoLang alternatives for PHP functions
Do you know a GoLang replacement for PHP's Swoole\Http\Response::cookie? Write it!
(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)
Swoole\Http\Response::cookie — Set the cookies of the HTTP response.
$name
$value
$expires
$path
$domain
$secure
$httponly
name
value
expires
path
domain
secure
httponly