libp2p固定identidy
openssl genrsa -out private.key 2048
| apiVersion: apiextensions.k8s.io/v1 | |
| kind: CustomResourceDefinition | |
| metadata: | |
| annotations: | |
| "helm.sh/resource-policy": keep | |
| labels: | |
| app: istio-pilot | |
| chart: istio | |
| heritage: Tiller | |
| release: istio |
libp2p固定identidy
openssl genrsa -out private.key 2048
| { | |
| "template_logstash":{ | |
| "template" : "logstash*", | |
| "settings" : { | |
| "number_of_shards" : 5, | |
| "index.cache.field.type" : "soft", | |
| "index.refresh_interval" : "5s", | |
| "index.store.compress.stored" : true, | |
| "index.query.default_field" : "message", | |
| "index.routing.allocation.total_shards_per_node" : 5 |
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "net" | |
| "os" | |
| "strings" |