1条回答 默认 最新
- dsm42026 2016-11-28 21:33关注
A Go web application is a server so no need to use Apache httpd server, especially on Heroku that has crystal clear deployment instructions for Go :
https://devcenter.heroku.com/categories/go
Follow these instruction closely and you'll find out there is no need for Apache.
htaccess and htpasswd are related to Apache httpd server, they are Apache configuration files.
Finally, Go standard library gives you all the tools you need to implement basic auth yourself :
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报