User defined OAuth2.0 token issuing interface address
Login implementation
Take the example of a web browser login:
The essence of web login based on OAuth2.0-password mode is that the browser passes the user name and password to the background through the / oauth/token interface, and then returns a valid token to the browser after the background verification
Send the request through the curl comm ...
Posted on Tue, 30 Jun 2020 01:46:37 -0400 by Chalks
User defined OAuth2.0 token issuing interface address
Login implementation
Take the example of a web browser login:
The essence of web login based on OAuth2.0-password mode is that the browser passes the user name and password to the background through the / oauth/token interface, and then returns a valid token to the browser after the background verification
Send the request through the curl comm ...
Posted on Tue, 30 Jun 2020 01:32:05 -0400 by limpo
Goang Implements Load Balancing Algorithm
1. Real Server
package main
import (
"fmt"
"log"
"net/http"
"os"
"os/signal"
"strconv"
"syscall"
"time"
)
type realServer struct {
Addr string
}
func (rs *realServer) HelloHandler(w http.ResponseWriter,r *http.Request){
data := fmt.Sprintf("[%s] http://%s%s \n\n",rs.Addr,rs.Addr,r.RequestURI)
w.Wr ...
Posted on Fri, 26 Jun 2020 13:12:54 -0400 by Richzilla
Goang Reverse Proxy Reverseeproxy Source Analysis
1 Reverse proxy example based on reverse proxy implementation
package main
import (
"log"
"net/http"
"net/http/httputil"
"net/url"
)
func main() {
// Address Rewrite Instance
// http://127.0.0.1:8888/test?id=1 => http://127.0.0.1:8081/reverse/test?id=1
rs1 := "http://127.0.0.1:8081/reverse"
targetUr ...
Posted on Sat, 20 Jun 2020 20:02:13 -0400 by warewolfe
Get ip address resolution home
Get ip address resolution home
Version V1.0
Time: April 29, 2013
Copyright GPL
By itnihao
Email itnihao@qq.com
Blog http://itnihao.blog.51cto.com
If you need to reissue, please indicate the above ...
Posted on Sat, 20 Jun 2020 03:51:03 -0400 by esscher
Kubernetes in action Cluster Service
Kubernetes Cluster Service
Kubernetes in action Cluster Service (1)
Create services through kubectl expose
Service Discovery
Connect services outside the cluster
Exposing services to external clients
Service using NodePort type
Get the IP of all nodes using JSONPath
Understanding the characteristic ...
Posted on Thu, 18 Jun 2020 21:15:40 -0400 by shage
spring cloud understands the components and call relations from the perspective of operation and maintenance
summary
Spring cloud developers provide tools to quickly build some common patterns in distributed systems (such as configuration management, service discovery, broken route, intelligent route, micro service, control bus). The coordination of distributed systems leads to template patterns, which can b ...
Posted on Sat, 13 Jun 2020 07:27:06 -0400 by taurus5_6
Precautions for wechat domain name sealing
We often encounter our own regular website links, which are intercepted by wechat for no reason. Everyone is worried about this problem. There are many technologies of domain name anti sealing, two-dimensional code anti sealing and wechat anti red circulating on the network, but the effect is not ideal. ...
Posted on Fri, 12 Jun 2020 00:46:25 -0400 by wood1e
Filebeat Lightweight Log Collection Tool
The Beats platform is a collection of multiple single-purpose data collectors.These collectors can be installed as lightweight agents to send data to Logstash or Elasticsearch from hundreds or thousands of machines.
I. Architecture Diagram
This experiment is based on the previous articles, which need to be based on the previous articles.
2. ...
Posted on Tue, 09 Jun 2020 12:59:38 -0400 by sycoj0ker
Wechat domain name screening detection interface wechat domain name detection interface tool
<!-- /\* Font Definitions \*/ @font-face {font-family:Tahoma; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 680460288 22 0 262145 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-gener ...
Posted on Tue, 09 Jun 2020 04:17:53 -0400 by a1amattyj