Angular自动取消订阅RxJs
在使用 rxjs 时我们经常忘记调用unsubscribe()而导致内存泄露,很多时候你很难发现它,在RxJs官方有这样一段话: What is a Subscription? A Subscription is an object that represents a disposable resource, usually the execution of an Obser…
Angular消息通知组件ngx-notification
It is a flexible and usable component. Demo
Demo
Installation
1.You need install @flywine93/ngx-notification by npm
npm install @flywine93/ngx-notification --save2.You need install @flywine93/ngx-autounsubscrb
npm …
golang代理转发基础
go标准库已经实现了一个反向代理工具,通过代理将客户端的请求转发到代理服务器。
什么是反向代理?
维基百科解释: ”In computer networks , a reverse proxy is a type of proxy server that retrieves resources on behalf of a client from one or…