New2Niu
New2Niu
The priorityqueue, how delete random element ?
``` package main import ( "fmt" "go.uber.org/dig" ) type Animal interface { Say() } type Dog struct { Name string } // NewDog dig provider func NewDog() *Dog { println("new...
tcp proxy ``` { "apps": { "layer4": { "servers": { "srv0": { "listen": [":443"], "routes": [{ "match": [{ "tls": { } }], "handle": [{ "handler": "proxy", "upstreams": [{ "dial": ["{l4.tls.server_name}:443"]...
{ "apps": { "layer4": { "servers": { "example": { "listen": [":443"], "routes": [{ "match": [{ "tls": { "sni": ["*.google.com.hk"] } }], "handle": [{ "handler": "proxy", "dynamic_upstreams": { "dial_timeout": 10000000000, "name":...
> A clear and concise description of what you want to accomplish. when i config `acl default allow ` then rule will mach `exp`(jwt) ?
> A clear and concise description of what you want to accomplish. how can i custom field in jwt and to acl match.eg. device_id ``` paylod: { "exp": 2676517701, "iss":...